/handoff-mcp:handoff-importfrom Handoff MCP
Import existing handoff documents into .handoff/ management. Reads the specified file, structures its content into tasks/decisions/blockers/notes, and calls handoff_import_context in one shot. Triggers on '/handoff-import <path>', 'import handoff', 'take this into handoff'.
Ships in Handoff MCP. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Import an existing handoff document (Markdown, JSON, or free-text) into
structured .handoff/ management via a single handoff_import_context call.
/handoff-import tmp/260601-sprint-handoff.md
/handoff-import path/to/any-document.md
If called without arguments, ask the user for a file path.
Init check: Verify .handoff/ exists. If not, run handoff_init first.
Read the source: Read the specified file with the Read tool.
Analyze and structure: Decompose the content into the categories below.
Import: Call handoff_import_context once with all extracted data.
Report: Show how many tasks were created, whether a session was saved, and whether raw_notes captured anything.
Verify: Call handoff_list_tasks to display the import result and
ask the user to confirm correctness.
Every actionable item in the source document becomes a task. Always populate these fields:
| Field | How to extract |
|---|---|
title | Short imperative phrase (e.g. "Add retry logic to USB reconnect") |
status | Map from source: "done"/"completed" -> done, "WIP"/"in progress" -> in_progress, "blocked" -> blocked, else todo |
priority | See priority rules below. Must be low, medium, or high |
notes | Context that doesn't fit elsewhere: root cause, constraints, approach taken |
labels | Category tags from the source (e.g. ["auth", "security"], ["pio", "dma"]) |
links | Related file paths, issue URLs, MR URLs, wiki pages |
done_criteria | Verifiable checklist items extracted from prose (see below) |
children | Sub-tasks nested under a parent |
schedule.estimate_hours | If effort estimates are mentioned (e.g. "~2h", "half a day") |
schedule.due_date | If deadlines are mentioned (ISO format) |
schedule.milestone | If milestone names are mentioned |
dependencies | Task IDs this task depends on (e.g. "after t1", "once X is done") |
order | Display ordering hints (e.g. P0→P1→P2 maps to 0, 1, 2) |
Transform vague descriptions into specific, testable criteria:
Before (raw handoff prose):
USB reconnect needs to handle the case where the host doesn't re-enumerate. Also make sure the pattern engine restarts cleanly.
After (structured done_criteria):
[
{"item": "Host non-enumeration triggers fallback reset after 3s timeout", "checked": false},
{"item": "Pattern engine SM_RESTART executes on reconnect", "checked": false},
{"item": "cargo test passes for reconnect scenarios", "checked": false}
]
Each criterion should be:
done_criteria must cover the full verification chain — not just implementation:
| Category | Example criteria |
|---|---|
| Implementation | "Add validation logic to signup form" |
| Automated checks | "All tests pass, linter clean" |
| Real-run verification | "App runs and the feature works as expected in the actual environment" |
A task is not done until verified end-to-end by running the real artifact. Passing automated checks alone is insufficient.
[
"src/usb/reconnect.rs",
"https://gitlab.com/group/project/-/issues/42",
"https://gitlab.com/group/project/-/merge_requests/18",
"docs/usb-protocol.md"
]
Include paths to:
| Priority | When to use |
|---|---|
high | Blocks other work, causes failures, user explicitly flagged as urgent, safety/security |
medium | Improves existing functionality, needed for the current milestone, moderate impact |
low | Nice-to-have, cosmetic, future consideration, no immediate impact |
Signals in source text:
highmediumlowWhen ambiguous, default to medium.
| Field | What to extract |
|---|---|
summary | One-line overview with [import] prefix |
decisions | Technical choices with reason and confidence (confirmed/estimated/unverified) |
blockers | Anything preventing progress (dependencies, missing info, hardware) |
handoff_notes | caution: risks and warnings. context: background info. suggestion: concrete next actions |
references | Documents, issues, MRs, wikis relevant to the import |
context_pointers | Files the next session should read first, with line ranges if known |
Anything that doesn't fit the structured fields goes into raw_notes.
Never discard information from the source — if it can't be structured,
preserve it as raw text.
{
"description": "Import from <filepath>",
"format": "markdown"
}
Detect format from file extension: .md -> markdown, .json -> json,
.txt -> text, other -> other.
skipped later.references.Source document (tmp/260610-sprint-handoff.md):
Current work
Auth module rewrite is 80% done. Decided on OAuth2+PKCE for mobile support. Token refresh tests still failing — need to mock the expiry clock.
Tasks
- Session migration script (deployed to prod)
- PKCE flow (frontend + backend)
- CI pipeline takes 12min, target is 5min
Blockers
- DB migration window not scheduled yet
Structured call:
{
"source": {"description": "tmp/260610-sprint-handoff.md", "format": "markdown"},
"tasks": [
{
"title": "Auth module rewrite",
"status": "in_progress",
"priority": "high",
"notes": "80% done. Token refresh tests failing due to clock mocking.",
"labels": ["auth", "security"],
"links": ["src/auth/oauth.rs", "src/auth/token.rs"],
"done_criteria": [
{"item": "Token refresh test passes with mocked expiry clock", "checked": false},
{"item": "OAuth2 PKCE flow works on mobile client", "checked": false}
],
"children": [
{"title": "Session migration script", "status": "done", "notes": "Deployed to prod"},
{
"title": "PKCE flow implementation",
"status": "in_progress",
"priority": "high",
"children": [
{"title": "Frontend PKCE integration", "status": "todo"},
{"title": "Backend PKCE endpoints", "status": "todo"}
]
}
]
},
{
"title": "CI pipeline optimization",
"status": "todo",
"priority": "medium",
"labels": ["ci"],
"done_criteria": [
{"item": "CI build time under 5 minutes", "checked": false}
]
}
],
"session": {
"summary": "[import] Sprint handoff migration from tmp/260610",
"decisions": [
{"decision": "OAuth2 + PKCE for auth", "reason": "Mobile app needs PKCE; implicit flow not viable", "confidence": "confirmed"}
],
"blockers": ["DB migration window not scheduled"],
"references": [
{"label": "Source handoff doc", "uri": "tmp/260610-sprint-handoff.md", "type": "doc"}
]
}
}
todo/in_progress task should have at least one criterion.links.children.raw_notes for anything that doesn't fit structured fields.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alphaelements/handoff-mcp --plugin handoff-mcp11 skills in this plugin
/handoffSession handoff — load context at start, save at end, track tasks during work. Triggers on session start, session end, task tracking, or when the user says 'handoff', 'save context', 'load context', 'what was I working on', 'resume', 'milestone', 'frozen', 'マイルストーン', 'リリーススコープ', 'depends_on', 'milestone report', 'capacity', 'metrics', 'timer', 'report', 'calendar', 'labels', 'bulk_update', or 'events'./handoff-docsDocument management — save, read, search, import, and traverse structured project documents (specs, designs, plans, ADRs, guides, notes). Triggers on 'ドキュメント保存', '仕様書を管理', '設計書をインポート', '実装計画', 'save this doc', 'import specs', 'document management', 'タスク開始', 'spec registration', '仕様登録', 'verification check', 'scaffold_suggestions', 'schedule_stale', 'orphaned_tasks', 'mock', 'golden', 'viewport', 'モック', 'ゴールデン', 'ビューポート', 'capture_method', 'doc_req_impact', 'doc_req_status', or when the user asks to persist/organize/search multi-section markdown that is too structured for a single memory entry, or when the AI writes a spec/design/plan document during development./handoff-getting-startedFirst steps with handoff-mcp: the shortest path from an empty directory to one finished task (install, initialize, set up, check readiness, brainstorm, requirements, implementation). Triggers on '/handoff-getting-started', 'getting started', 'first project', 'how do I start', 'はじめかた', '最初の一歩', 'チュートリアル'.Other plugins' skills for the same job