Logo de Handoff

Handoff

Comunidade
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.

Visão geral

Publicado porarimet
Repositóriohandoff
Nome da habilidadehandoff
Estrelas
28
Forks
0
Arquivos incluídos
3
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 3 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por arimet no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Handoff no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/arimet/handoff/tree/main/skills/handoff
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Handoff em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Handoff automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Handoff não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Handoff faz?

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...

Por que usar Handoff no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Handoff é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Handoff no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/arimet/handoff/tree/main/skills/handoff. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Handoff?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Handoff?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Handoff com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Handoff é gratuita?

Sim. A habilidade é publicada no GitHub por arimet sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇