Handoffのロゴ

Handoff

コミュニティ
arimet
handoff

Use when a feature or code change made by Claude is complete and the developer wants to confirm they actually understood it before shipping. Triggers on "handoff", "quiz me", "comprehension check", "did I understand this", "verify I read the code", "test my understanding", or after finishing a feature when the developer wants to take ownership of AI-written code. Also triggers on requests for an interactive or clickable quiz ("interactive mode", "let me answer with the mouse", "mode interactif", "je réponds à la souris"). Quizzes the developer on WHERE the logic lives (file/function) and WHY decisions were made (trade-offs, behavior, debugging), with the number of questions scaled to the size of the change. Multiple-choice questions are clickable by default (asked through `AskUserQuestion`) and fall back to typed answers. Points to file:line on wrong answers, allows one retry, then reveals the answer, and ends with a score plus the weak areas to re-read. Conducts the quiz in the developer's language.

概要

公開者arimet
リポジトリhandoff
スキル名handoff
スター
28
フォーク
0
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    arimetがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルHandoffをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/arimet/handoff/tree/main/skills/handoff
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arimet/handoff.git /tmp/handoff
mkdir -p .claude/skills
cp -r /tmp/handoff/skills/handoff .claude/skills/handoff
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHandoffを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にHandoffを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Handoffは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Handoff — verify you understood Claude's code

When Claude builds a feature, it is easy to merge the result without truly reading or understanding it. handoff turns passive review into an active check: it interviews the developer to confirm they read the code (where the logic lives) and understood it (why decisions were made, how it behaves), then reports a score and the spots to revisit.

This skill conducts an interactive quiz. Ask questions one at a time and wait for an answer before continuing. Conduct the entire quiz in the developer's language (match the language they are writing in).

Step 1 — Gather the material (hybrid source)

Build the quiz from two complementary sources:

  1. Conversation context — what was built this session: the files touched, the key decisions and trade-offs, what was deliberately NOT done, and what could plausibly break. This is the source for the "why".

  2. Git diff (when available) — to objectively anchor "where" and check that nothing important is missed. Run:

    • git rev-parse --git-dir to confirm a repo exists.
    • git diff --stat then git diff (covers unstaged + staged) to enumerate changed files and lines. Use real file:line locations from this diff.

    If there is no git repo, degrade gracefully and rely on conversation context alone — still produce a useful quiz.

Step 2 — Calibrate the number of questions

Scale to the size of the change (use the diff stat, or your best estimate from context if there is no git):

Change sizeQuestions
Small (< ~50 lines, or 1–2 files)3
Medium5
Large (> ~300 lines, or ≥ 5 files)8–10

Step 3 — Generate a mixed question set

Cover both reading and understanding. Mix these types:

  • Where (multiple choice). "Which file/function contains X?" Provide plausible distractors drawn from other real files in the change.
  • Why (open-ended). "Why was approach X chosen over Y?", "What trade-off does this make?", "What would have broken if we hadn't done Z?"
  • Behavior (multiple choice or open). "If input X arrives, what happens?", "How would you debug it if X fails?"

Favor the parts of the change that matter most (core logic, tricky edge cases, non-obvious decisions) over trivial boilerplate.

Write every multiple-choice question with 2 to 4 options so it can be answered by clicking (see Step 4).

Step 4 — Ask one question at a time (interactive by default)

Present a single question, wait for the answer, then evaluate it before moving on. Never dump the whole quiz at once.

Interactive mode — clickable answers

Multiple-choice questions are asked through the AskUserQuestion tool so the developer answers with the mouse instead of typing. Use it by default whenever the tool is available.

One tool call = one question (never batch several questions into a single call — that would break the one-at-a-time rule):

  • question — the full question text. Include the file:line hint here on a retry, never the answer.
  • header — a short topic label, ≤ 12 characters (e.g. Où ?, Hook, Retry flow).
  • options — 2 to 4 entries, each with a short label (1–5 words) and a description giving the concrete detail (a real path, a behavior).
  • multiSelect: true — only for genuine "select all that apply" questions.

Quiz-specific rules for the options:

  • Exactly one option is correct (unless multiSelect), and its position is varied from question to question — never always first or always last.
  • Never mark the correct answer. No (Recommended) suffix, no hedging wording in the distractors. Keep all labels and descriptions the same shape and roughly the same length, so the answer cannot be spotted by formatting.
  • Distractors must be real — other files, functions or behaviors that actually exist in the change. Invented paths make the question trivial.
  • The tool always offers an "Other" escape where the developer can type a free-form answer; grade it on its content like any typed answer.

Open-ended "why" questions stay typed: explaining a trade-off in your own words is the point, and picking a rationale from a list would turn recall into recognition. Ask them as plain text and wait for the reply.

Falling back to typed answers

Use plain text (numbered options the developer answers with a/b/c) when:

  • the AskUserQuestion tool is not available in the current environment, or
  • the developer asks for it — "no clicking", "text only", "pas de clic", /handoff --text.

/handoff --interactive (or "quiz me with clickable answers") forces the clickable mode back on. The quiz content, scoring and retry flow are identical in both modes — only the input method changes.

Step 5 — Evaluate each answer

  • Correct → confirm briefly and move to the next question.
  • Wrong or incomplete → point to the relevant file:line as a hint without revealing the answer, and invite a second attempt.
    • In interactive mode, the retry is a second AskUserQuestion call for the same question: keep the same options in the same order, and put the file:line hint in the question text. Do not remove the option the developer just picked — eliminating it would give the answer away.
    • If the second attempt is still wrong → reveal the correct answer with a short explanation, then continue.

Track the result of each question (correct / correct-on-retry / missed) to build the final score.

Step 6 — Final score and weak areas

End with:

  • A score, e.g. Score: 4/6.
  • The weak areas: the topics missed, each with a file:line pointer to re-read. Keep the tone encouraging, not punitive — the goal is to know what to revisit, not to grade harshly.

Optional: automatic suggestion (Stop hook)

This skill ships an optional, non-blocking Stop hook that suggests running /handoff when a session produced a large diff. It never forces the quiz. See references/install.md for setup and thresholds.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Handoff」では何ができますか?

Use when a feature or code change made by Claude is complete and the developer wants to confirm they actually understood it before shipping. Triggers on "handoff", "quiz me", "comprehension check", "did I understand this", "verify I read the code", "test my understanding", or after finishing a feature when the developer wants to take ownership of AI-written code. Also triggers on requests for an interactive or clickable quiz ("interactive mode", "let me answer with the mouse", "mode interactif", "je réponds à la souris"). Quizzes the developer on WHERE the logic lives (file/function) and WH...

TypingMindでHandoffを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Handoffはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHandoffをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/arimet/handoff/tree/main/skills/handoffを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Handoffを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Handoffは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHandoffを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Handoff」は無料ですか?

はい。arimetがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇