From opflow
Structured workflow for creating handover records after commits via MCP. Use when AI commits code and user confirms, or user says "create a handover", or invokes /handover.
How this skill is triggered — by the user, by Claude, or both
Slash command
/opflow:handoverThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Structured workflow for creating handover records after commits via MCP.
Structured workflow for creating handover records after commits via MCP.
handover-create — Create handover. Params: name, affectedPackages, affectedFiles, completedTasks, notes, commitIdhandover-latest — Get most recent handover. Params: package (optional)handover-list — Search/list handovers, most-recent-first. Params: query (optional, matches name/notes/completedTasks), package (optional), limit (optional, default 20), before (optional ISO date cursor)When the user asks to find a past handover ("find a handover about X", "what did we do for Y"):
handover-list with query set to the topic. Add package if the user scoped it to one.date as before on the next call.Use handover-latest only when the user explicitly wants the most recent one — handover-list (with no query) is preferable for browsing because it returns multiple entries.
After the AI completes work and commits:
Auto-detect affected files:
git diff HEAD~1 --stat
Parse output to get file paths and addition/removal counts.
Auto-detect commit ID:
git rev-parse HEAD
Auto-detect affected packages from file paths. Pick the heuristic that matches the repo:
packages/<name>/..., apps/<name>/..., services/<name>/...): use <name>.package.json#name or the repo name from git remote get-url origin.affectedPackages so the change stays searchable.
If the layout is ambiguous, ask the user once and reuse the choice.Show user the detected information:
Commit: abc123
Files:
endpoints/users.ts (+12 -0)
AGENTS.md (+8 -2)
Packages: opflow-orchestrator
Should I create a handover?
User confirms or modifies the information
Ask user for:
Generate notes summary in markdown:
## Summary
<brief description of what was done>
## Changes
<list of key changes>
## Learnings
<any learnings from this session>
## Next Steps
<planned next steps>
Call handover-create:
{
"name": "<handover name>",
"affectedPackages": ["<packages>"],
"affectedFiles": [
{ "path": "<file>", "additions": <n>, "removals": <n> }
],
"completedTasks": ["<task1>", "<task2>"],
"notes": "<generated markdown>",
"commitId": "<commit hash>"
}
Confirm to user: "Created handover ''"
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub josef32/opflow-claude-plugin --plugin opflow