Skip to content

Handoff

Claude Code skill that quizzes you on the code Claude wrote, verify you understood it before shipping.

Install: npx skills add arimet/handoff

Works with Claude Code · 27 GitHub stars

Install

$npx skills add arimet/handoff

Install command taken from the project's README or registry entry. Always review code before running it.

🤝 handoff

Verify you actually understood the code Claude wrote — before you ship it.


handoff is a Claude Code skill that turns passive review of AI-written code into an active comprehension check. When a feature is complete, it interviews you with a short quiz — where the logic lives and why the decisions were made — then reports a score and the exact spots to re-read.

The name captures the idea: the handoff of the code from Claude to you. You shouldn't merge what you can't explain.

Table of Contents

Why

AI writes code fast. The risk is shipping it without reading it. Tests catch broken code; nothing catches code you don't understand. handoff closes that gap by checking that the human who clicks "merge" can actually explain the change — its location, its rationale, and its behavior.

Features

  • 🧬 Hybrid question source — combines conversation context (the why: decisions, trade-offs, what could break) with git diff (the where: real file:line locations), and degrades gracefully when there's no git.
  • 📏 Scaled to the change — ~3 questions for a small diff, 5 for medium, 8–10 for a large feature.
  • 🔀 Mixed question types — multiple-choice for "where / what behavior", open-ended for "why".
  • 🖱️ Interactive mode — multiple-choice questions are clickable: you pick an answer with the mouse instead of typing, and can still type a free-form answer via "Other". Falls back to plain text on demand.
  • 1️⃣ One question at a time — you answer, it evaluates, then continues.
  • 🎯 Wrong-answer flow — points you to the file:line without revealing the answer, lets you retry once, then reveals it with a short explanation.
  • 🏁 Score + weak areas — Score: N/total plus the topics to revisit, each with a file pointer. Encouraging, not punitive.
  • 🌍 Your language — the quiz runs in whatever language you're writing in.

Demo

Installation

Via the Vercel skills CLI (recommended)

npx skills add arimet/handoff

This scans the repo's SKILL.md, detects your installed agent, and installs handoff into the right path (~/.claude/skills/ for Claude Code).

Manually

# Symlink (handy while developing — edits stay live)
ln -s "$(pwd)/skills/handoff" ~/.claude/skills/handoff

# …or copy
cp -r skills/handoff ~/.claude/skills/handoff

Full instructions — including enabling and tuning the optional hook — are in skills/handoff/references/install.md.

Usage

After Claude finishes a feature, trigger it manually:

/handoff

…or just ask in natural language: "quiz me on what you built", "vérifie que j'ai compris", "test my understanding", "comprehension check".

Multiple-choice questions are clickable by default — see Interactive mode.

Interactive mode

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related