WhatAbout-Jam

Language / 言語: English | 日本語
English
WhatAbout-Jam lets you and your AI agent point at code locations for each other — with labelled pins instead of paragraphs. Pin the places you mean, ask in chat with the bundled Skill, and the locations in the AI's answer come back as pins in your editor.
Explaining where you mean in words is surprisingly expensive: "the second check in the list built near the top of ci_checks.py, the one that runs the version script…" — and when the AI misunderstands, you pay again to correct it. Pointing is cheaper. You already think "what about here?" — WhatAbout-Jam makes that gesture work with an AI agent.
Current version: v1.4.0
📑 Table of Contents
💡 Key Features
- Labelled pins on ranges — group every place that shows the same phenomenon under one label (A, B, C…), with a free-text name per label and a note per pin.
- Two-way pointing — your pins and the AI's pins live side by side, distinguished by source and by round (which exchange they arrived in).
- End-of-line chips — every label present on a line is shown on that line, with a dot while an AI pin there is still unseen.
- Anchors, not just line numbers — each pin remembers its text and surrounding context, so it follows the code when lines are inserted above it; a pin whose text is gone is honestly marked lost.
- Label ownership — the AI never adds pins to your labels. Its answers get their own labels (
Re: …), so your groups keep their meaning.
- Pins persist until you delete them or end the session — an exchange can span days. Deleted pin ids are remembered, so a stale return file can never resurrect a pin you removed.
- Bundled Skills, kept current — the two Skills are deployed into your personal skill folders (
~/.agents/skills/ for Copilot, ~/.kiro/skills/ for Kiro), so they work in every workspace; when the extension updates, unmodified deployed Skills are refreshed automatically, and a view-title button forces an update any time.
- Localised UI — view contents follow the VS Code display language: Japanese when the display language is Japanese, English otherwise.
📦 Installation & Updates
Install from the Visual Studio Marketplace or Open VSX, or install the .vsix file from the GitHub release with Extensions: Install from VSIX…. Updates arrive through the marketplace as usual.
The bundled Skills live in your personal folders: on first run the extension offers to deploy them, and WhatAbout: Install Bundled Skills (Personal Folders) runs the deployment any time. Deploy once per machine, and they are available in every workspace. After an extension update, deployed Skills that you have not edited are refreshed automatically at startup; edited ones are left alone and you will be asked. Deployments made into individual workspaces by version 1.0.x are migrated automatically (edited copies are left in place, with a warning).
Uninstalling: VS Code extensions cannot delete files when they are uninstalled. If you want the Skills gone too, run WhatAbout: Remove Bundled Skills before uninstalling — it removes only the files the extension deployed.
🚀 How to Use
You pin. Select a range in the editor and pin it from the WhatAbout: Pin Composer in the Explorer (or via the editor right-click menu: Add Pin to Current Label / Start New Label). Choose one or more labels — the same spot can carry several concerns at once, and gets one pin per label — write a note if the pin needs one, and press Add Pin. New labels are created on the spot from the composer's name field (the Create button or Enter), so several fresh labels can be prepared first and pinned in one go; a label with no pins yet is listed in the Pins view and can be deleted there if it was created by mistake.

You ask. In your AI chat, invoke the bundled whatabout-send Skill and ask, referring to pins directly: "Anything to improve in C?" The Skill reads the pins and expands the actual code — files, ranges, surrounding context — into the conversation, so the AI works from the real thing, not from your description of it.
The AI points back. When the AI's answer refers to locations, it calls the bundled whatabout-return Skill, and those locations appear as pins in your editor: gutter badges, end-of-line chips, and the WhatAbout: Pins view. New AI pins are badged until you look at them, and each carries a note saying what the AI means by it.

A few rules keep long exchanges readable:
- Labels are deliberately generic (A, B, C…). The meaning lives in the label's name and the pins' notes, not in a fixed taxonomy.
- Rounds — every pin records the round it was created in: your round-1 pins, the AI's round-1 answers, your round-2 follow-ups.
- Your labels are yours — if the AI wants to answer under one of your labels, the return Skill moves its pins to a fresh label of its own and reports the remap.
- Resolving vs deleting — Resolve Pin keeps a pin as a greyed record; Delete Pin removes it for good (and remembers the removal). Both are right in the pin's hover in the editor, so judging a pin never means leaving the code for the Pins view.
.jam/ stays out of git — the working folder keeps itself ignored (a .gitignore inside it ignores everything there), so pin sessions never appear in your project's git status. Delete that file if you would rather track your pins in git.
⌨️ Commands
All commands live under the WhatAbout category in the Command Palette.
| Command |
What it does |
| Add Pin to Current Label |
Focus the composer to pin the current selection under the current label. |
| Start New Label |
Focus the composer with a new label started. |
| Copy Jam Sheet |
Copy all pins as a Markdown sheet (for sharing with a person). |
| Import Jam Sheet from Clipboard |
Import pins from a Markdown sheet on the clipboard. |
| Resolve Pin |
Mark a pin resolved (kept, greyed). |
| Delete Pin |
Delete a pin permanently. |
| Delete Label (and Its Pins) |
Delete a label together with its pins. |
| End Session (Discard All Pins) |
Clear every pin and start over. |
| Install Bundled Skills (Personal Folders) |
Deploy the bundled Skills into ~/.agents/skills/ and ~/.kiro/skills/. |
| Remove Bundled Skills |
Remove the deployed Skills from your personal folders (run this before uninstalling). |
| Update Bundled Skills to Latest |
Overwrite deployed Skills with the bundled versions. |
| Refresh |
Refresh the pins view and decorations. |
🔧 Settings
This extension has no settings. Everything happens in the two Explorer views, and all state lives in the workspace files listed below.
📋 Requirements
- VS Code 1.90 or later.
- An AI chat that can use Agent Skills (for example GitHub Copilot or Kiro), to run the bundled
whatabout-send / whatabout-return Skills.
🔒 Data Storage & Privacy
100% local. The extension has no network access, no telemetry, and no tracking. The only thing that ever leaves your machine is what you yourself send through your own AI chat — the extension is the pointing layer, your chat is the transport.
| Path |
What it is |
.jam/pins.json |
The canonical pin data (machine-readable). |
.jam/session.md |
A human-readable sheet of the same pins, regenerated on every change. |
.jam/return.json |
The AI's return drop; consumed (deleted) by the extension once merged. |
~/.agents/skills/whatabout-send/ and ~/.kiro/skills/whatabout-send/ |
The send Skill (bundled), deployed to your personal folders. |
~/.agents/skills/whatabout-return/ and ~/.kiro/skills/whatabout-return/ |
The return Skill and its validating writer script (bundled), deployed to your personal folders. |
Pin files are workspace-relative only: pins that try to point outside the workspace are rejected.
🧭 Roadmap
- Pins on screenshots/images (code locations only, for now).
- Sessions spanning multiple workspace folders.
🛠️ Developer Documentation
TypeScript + esbuild, zero runtime dependencies.
| Command |
What it does |
npm run build |
Bundle the extension into dist/. |
npm run typecheck |
Type-check without emitting. |
npm test |
Run the unit tests (core logic and the return script). |
npm run package |
Build and package the .vsix. |
The design document (in Japanese) lives in the author's notes; the exchange format is the JSON schema implied by .jam/pins.json and validated by skills/whatabout-return/write-pins.mjs.
📄 License
MIT — see LICENSE.
Japanese (日本語)
WhatAbout-Jam は、あなたと AI エージェントがコードの場所を互いに「指し合う」ための拡張機能です。場所を言葉で説明する代わりに、ラベル付きのピンを打ちます。ピンを打って、同梱の Skill でチャットから頼むと、AI の回答に含まれる場所がピンとしてエディタに戻ってきます。
「どこ」の説明は、言葉にすると意外に高くつきます。「ci_checks.py の上の方で組み立てているチェック一覧の2番目、バージョンのスクリプトを回すやつ…」— しかも AI が取り違えれば、訂正にもう一度コストがかかります。指す方が安い。人はもともと「ここはどう?」と指しながら話しています。WhatAbout-Jam は、その身振りを AI エージェントとの間でも使えるようにします。
Current version: v1.4.0
📑 目次
💡 主な機能
- 範囲へのラベル付きピン — 同じ現象が出ている場所を、1つのラベル(A、B、C…)の下に束ねられます。ラベルには自由な名前、各ピンにはメモを付けられます。
- 双方向の指し合い — あなたのピンと AI のピンは、誰が・どの往復で指したか(出所とラウンド)で区別されて並びます。
- 行末チップ — その行にあるラベルが全部行末に表示され、未読の AI ピンがある間は点が付きます。
- 行番号ではなくアンカー — 各ピンは本文と前後の文脈を覚えているので、上に行が挿入されてもコードに追随します。本文が見つからなくなったピンは、正直に「行方不明」と表示されます。
- ラベルの所有権 — AI があなたのラベルにピンを足すことはありません。回答は AI 自身のラベル(
Re: …)に入るので、あなたのグループの意味が汚れません。
- ピンは残り続ける — あなたが消すかセッションを終えるまで消えません。往復は日をまたげます。消したピンの ID は記録され、古い戻りファイルから復活することはありません。
- 同梱 Skills は自動で最新に — 2つの Skill は個人領域(Copilot 用の
~/.agents/skills/ と Kiro 用の ~/.kiro/skills/)に展開されるので、すべてのワークスペースで使えます。拡張機能が更新されると、あなたが編集していない展開済み Skill は自動で差し替わり、ビュータイトルのボタンからいつでも強制更新できます。
- UI の言語追随 — ビューの中身は VS Code の表示言語に従います(日本語なら日本語、それ以外は英語)。
📦 インストール/アップデート方法
Visual Studio Marketplace または Open VSX からインストールしてください。GitHub リリースの .vsix を Extensions: Install from VSIX… で入れることもできます。アップデートは通常通りマーケットプレイス経由で届きます。
同梱 Skills は個人領域に置かれます。初回起動時に展開の提案が出ます(WhatAbout: 同梱 Skills を個人領域に展開 からいつでも実行できます)。マシンごとに一度展開すれば、すべてのワークスペースで使えます。拡張機能の更新後は、編集していない展開済み Skill は起動時に自動で差し替わります(編集済みのものはそのままで、確認が入ります)。1.0.x でワークスペースごとに展開された Skills は自動で個人領域へ移行されます(編集済みのコピーは警告のうえ、そのまま残ります)。
アンインストールについて: VS Code の拡張機能は、アンインストール時にファイルを削除できません。Skills も一緒に消したい場合は、アンインストールの前に WhatAbout: 同梱 Skills を個人領域から削除 を実行してください(拡張機能が展開したファイルだけを削除します)。
🚀 使い方
あなたがピンを打つ。 エディタで範囲を選んで、エクスプローラーの WhatAbout: Pin Composer からピンを打ちます(エディタの右クリックメニュー「現在のラベルにピンを追加」「新しいラベルを開始」からも開始できます)。ラベルは複数選べます(同じ箇所に観点の違う心配が重なるときは、ラベルごとにピンが1本ずつ付きます)。新しいラベルは、名前を入れて「作成」(または Enter)でその場で作れるので、複数を先に用意してから一度にピンを付けられます。作っただけのラベルは Pins ビューに載るので、間違えたらそこで削除できます。必要ならメモを書いて「ピンを追加」を押します。

あなたが頼む。 AI チャットで同梱の whatabout-send Skill を呼び、ピンを直接指して頼みます(例:「Cの箇所について何か改善することある?」)。Skill がピンを読み、実際のコード(ファイル・範囲・前後の文脈)を会話に展開するので、AI はあなたの説明ではなく実物を見て作業します。
AI が指し返す。 AI の回答が場所に触れるときは、同梱の whatabout-return Skill が呼ばれ、その場所がピンとしてエディタに戻ってきます(ガターのバッジ、行末のチップ、WhatAbout: Pins ビューの一覧)。届いたばかりの AI ピンには未読の印が付き、各ピンには AI が何を指しているのかのメモが付きます。

長い往復でも流れを追えるよう、いくつかの決めごとがあります。
- ラベルはあえて汎用(A、B、C…)です。意味はラベルの名前とピンのメモに宿ります。固定の分類は持ちません。
- ラウンド — 各ピンは何回目の往復で生まれたかを記録します(あなたの1回目、AI の1回目の回答、あなたの2回目…)。
- あなたのラベルはあなたのもの — AI があなたのラベルの下で答えようとすると、戻り Skill が AI 自身の新しいラベルへ移し、その旨を報告します。
- 解決済みと削除の違い — 「ピンを解決済みにする」は記録としてグレーで残し、「ピンを削除」は完全に消します(消したことも記録されます)。どちらもエディタ上のピンのホバーからその場で実行できるので、ピンの判定のために Pins ビューへ視線を移す必要はありません。
.jam/ は git に残りません — 作業フォルダの中に、中身をすべて無視する .gitignore が自動で置かれるため、ピンのセッションがプロジェクトの git status に出ることはありません。あえて git で管理したい場合は、そのファイルを消してください。
⌨️ コマンド
コマンドはすべて、コマンドパレットの WhatAbout カテゴリにあります。
| コマンド |
内容 |
| 現在のラベルにピンを追加 |
コンポーザーにフォーカスし、選択範囲を現在のラベルで打てる状態にします。 |
| 新しいラベルを開始 |
新しいラベルを始めた状態でコンポーザーにフォーカスします。 |
| Jam シートをコピー |
全ピンを Markdown シートとしてコピーします(人に渡す用)。 |
| クリップボードから Jam シートを取り込む |
クリップボードの Markdown シートからピンを取り込みます。 |
| ピンを解決済みにする |
ピンを解決済みにします(記録として残ります)。 |
| ピンを削除 |
ピンを完全に削除します。 |
| ラベルを削除(ピンも一緒に) |
ラベルをそのピンごと削除します。 |
| セッションを終了(すべてのピンを破棄) |
全ピンを消して最初から始めます。 |
| 同梱 Skills を個人領域に展開 |
同梱 Skill を ~/.agents/skills/ と ~/.kiro/skills/ に展開します。 |
| 同梱 Skills を個人領域から削除 |
展開済みの同梱 Skill を個人領域から削除します(アンインストール前に実行してください)。 |
| 同梱 Skills を最新版に更新 |
展開済み Skill を同梱版で上書きします。 |
| 更新 |
ピンのビューと装飾を再表示します。 |
🔧 設定
設定項目はありません。操作はすべてエクスプローラーの2つのビューで行い、状態は下記のワークスペース内ファイルに置かれます。
📋 動作要件
- VS Code 1.90 以降。
- Agent Skills を使える AI チャット(GitHub Copilot や Kiro など)。同梱の
whatabout-send / whatabout-return Skill の実行に使います。
🔒 データの保存について
100% ローカルです。拡張機能はネットワーク通信も、テレメトリも、トラッキングも行いません。外に出るのは、あなた自身が自分の AI チャットで送るものだけです。拡張機能は「指す層」、運ぶのはあなたのチャットです。
| パス |
内容 |
.jam/pins.json |
ピンの正本データ(機械可読)。 |
.jam/session.md |
同じピンの人間向けシート。変更のたびに再生成されます。 |
.jam/return.json |
AI からの戻り置き場。取り込み後に拡張機能が消費(削除)します。 |
~/.agents/skills/whatabout-send/ と ~/.kiro/skills/whatabout-send/ |
送信用 Skill(同梱)。個人領域に展開されます。 |
~/.agents/skills/whatabout-return/ と ~/.kiro/skills/whatabout-return/ |
戻り用 Skill と、その検証付き書き込みスクリプト(同梱)。個人領域に展開されます。 |
ピンのファイルはワークスペース相対のみです。ワークスペースの外を指すピンは拒否されます。
🧭 ロードマップ
- スクリーンショットへのピン(今のところコードの場所のみ)。
- 複数のワークスペースフォルダにまたがるセッション。
🛠️ 開発者向けドキュメント
TypeScript + esbuild、実行時依存ゼロです。
| コマンド |
内容 |
npm run build |
拡張機能を dist/ にバンドルします。 |
npm run typecheck |
型チェックのみを行います。 |
npm test |
ユニットテスト(中核ロジックと戻りスクリプト)を実行します。 |
npm run package |
ビルドして .vsix をパッケージします。 |
交換形式は .jam/pins.json の JSON 構造が正で、skills/whatabout-return/write-pins.mjs がその検証を担います。
📄 ライセンス
MIT — LICENSE を参照してください。