用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill create-handoff命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | create-handoff |
| description | Create unified artifact document for checkpoint, handoff, or finalize |
This skill is the canonical generator for unified artifacts (checkpoint, handoff, finalize). Use it to capture session state in a consistent schema under the canonical directory.
If a bead is active, capture it. For handoff/finalize, a bead is required:
bd list --status=in_progress
Preferred path: use the core generator script (handles timestamps + git metadata):
~/.claude/scripts/cc-artifact --mode <checkpoint|handoff|finalize> [--bead <BEAD_ID>] [--session-title "<short title>"]
Artifacts are written to:
thoughts/shared/handoffs/<session>/YYYY-MM-DD_HH-MM_<title>_<mode>.yaml
Filename format:
YYYY-MM-DD_HH-MM: Date and time (UTC) with hyphen separators<title>: Slugified session title (or derived from session)<mode>: checkpoint | handoff | finalize2026-01-14_01-23_auth-refactor_handoff.yamlCore fields (all artifacts):
schema_version: "1.0.0"mode: "checkpoint" | "handoff" | "finalize"date: ISO 8601 date or date-time (e.g., "2026-01-14T01:23:45.678Z")session: Session folder name (bead + slug)goal: What this session accomplishednow: Current focus / next actionoutcome: SUCCEEDED | PARTIAL_PLUS | PARTIAL_MINUS | FAILEDprimary_bead: Required for handoff/finalize, optional for checkpointHandoff-specific fields (optional):
related_beads: Related bead IDsfiles_to_review: Array of {path, note}continuation_prompt: Resume instructionsFinalize-specific fields (optional but recommended):
final_solutions: Array of {problem, solution, rationale}final_decisions: Array of decision objectsartifacts_produced: Array of {path, note}Optional but recommended:
session_id: 8-char hex identifierdone_this_session: Array of completed tasks with filesnext: Array of next stepsblockers: Array of blocking issuesquestions: Array of unresolved questionsdecisions: Record of key decisions (simple format) or array of Decision objectsworked: What worked wellfailed: What didn't work and whyfindings: Record of key discoveriesgit: Branch, commit, remotefiles: Object with created, modified, deleted arraystest: Command to verify the work---
schema_version: "1.0.0"
mode: handoff
date: 2026-01-14T01:23:45.678Z
session: Continuous-Claude-v3-ug8.6-auth-refactor
outcome: PARTIAL_PLUS
primary_bead: Continuous-Claude-v3-ug8.6
session_id: abc12345
---
goal: What this session accomplished
now: What next session should do first
done_this_session:
- task: First completed task
files:
- path/to/file1.ts
- path/to/file2.ts
- task: Second completed task
files:
- path/to/file3.ts
next:
- First step for next session
- Second step
IMPORTANT: Before responding to the user, you MUST ask about the session outcome.
Use the AskUserQuestion tool with these exact options:
Question: "How did this session go?"
Options:
- SUCCEEDED: Task completed successfully
- PARTIAL_PLUS: Mostly done, minor issues remain
- PARTIAL_MINUS: Some progress, major issues remain
- FAILED: Task abandoned or blocked
After the user responds, the outcome is included in the YAML.
Respond to the user:
Artifact created! Outcome: [OUTCOME]
Resume in a new session with:
/resume_handoff thoughts/shared/handoffs/<session>/[filename]
src/file.ts:42-56)This skill provides a single, structured artifact format for checkpoints, handoffs, and finalize events.