Claude-skill-registry handoff-receiver
Parse and execute incoming handoffs from Cursor following the normalized handoff schema with mixed-capability phases (analysis and write-capable)
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/handoff-receiver" ~/.claude/skills/majiayu000-claude-skill-registry-handoff-receiver && rm -rf "$T"
manifest:
skills/data/handoff-receiver/SKILL.mdsource content
Handoff Receiver Skill
Purpose
Parse and execute incoming handoffs from Cursor following the normalized handoff schema.
Capability
MIXED CAPABILITY:
- Phases 1-2 (Parse & Validate): ANALYSIS-ONLY - Can run in any DAIC mode
- Phases 3-4 (Execute & Update): WRITE-CAPABLE - Requires IMPLEMENT mode
Note: The skill is configured in skill-rules.json as WRITE-CAPABLE with allowedModes: ["IMPLEMENT"] to ensure proper gating. When invoked outside IMPLEMENT mode, it will only execute phases 1-2 (read-only operations).
When to Use
- User says "check handoffs", "what did Cursor hand off", or "execute handoff"
- Starting work on a branch that has a recent handoff entry
- After Cursor creates a task and hands it to Claude
Workflow
Phase 1: Parse & Present (ANALYSIS-ONLY)
- Read
docs/ai_handoffs.md - Parse YAML entries using normalized schema (schema_version 1.0)
- Find latest entry where
to: claude - Display to user:
: who sent itfrom
: whentimestamp
andissue_id
: contextbranch
: what Cursor didcompleted
: what Claude should donext
: relevant docs to readcontext_files
Phase 2: Validate (ANALYSIS-ONLY)
- Check for clear acceptance criteria in
tasksnext - If missing, propose concrete criteria and ask user to confirm
- Verify
paths existcontext_files - Check
if present (validate branch, warn about dirty_files)repo_state
Phase 3: Execute (WRITE-CAPABLE - requires IMPLEMENT mode)
- User must approve execution (say "yert" or similar)
- Read any
referenced in the handoffcontext_files - Execute
tasks in logical order following DAIC workflownext - Track what was completed with file paths
Phase 4: Update Handoff (WRITE-CAPABLE - requires IMPLEMENT mode)
- Update the handoff entry's
field with:completed- Tasks completed from original
listnext - File paths touched
- Any caveats or partial completions
- Tasks completed from original
- Preserve all original handoff data (don't delete/reformat)
Schema Compatibility
Supports both schemas for backward compatibility:
- Read: Accepts
/from_agent
/to_agent
ORneeded
/from
/tonext - Write: Always uses normalized schema (
/from
/to
+next
)schema_version
Example Invocation
User: "Check if Cursor handed anything off" Assistant: [Reads docs/ai_handoffs.md, finds latest to:claude entry, displays] User: "Execute it" Assistant: [Requires IMPLEMENT mode] "I need to be in IMPLEMENT mode to execute handoff tasks. Say 'yert' to approve." User: "yert" Assistant: [Executes tasks, updates completed field]
Safety Rules
- Never execute handoff tasks outside IMPLEMENT mode
- Always validate repo_state before writes if present
- Preserve historical handoff entries (append, never delete)
- Log any issues in context/gotchas.md if handoff is malformed
Integration with cc-sessions
This skill respects cc-sessions DAIC workflow:
- DISCUSS/ALIGN: Can parse and display handoffs (Phase 1-2)
- IMPLEMENT: Can execute tasks and update completed field (Phase 3-4)
- CHECK: Should not modify handoffs
When in IMPLEMENT mode, this skill follows approved todos from the task manifest.