commit
Create an atomic commit for current changes
Write a session handoff document for the next agent or session
$ npx -y skills add coleam00/Archon --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/handoffContext preview
What this command does when you run it.
Write a session handoff document for the next agent or session
description: Write a session handoff document for the next agent or session
Create a structured handoff document that captures everything the next session (or agent) needs to seamlessly continue this work. This is the **Write + Compress** pattern — you're externalizing the session's memory into a persistent file AND compressing it into just the essentials.
Review everything that happened in this conversation:
git status git diff --stat HEAD git log --oneline -5 git branch --show-current
Save to: `HANDOFF.md` in the current working directory (or the worktree root if in a worktree).
**Use this exact structure:**
# Handoff: [Brief Task Description] **Date:** [current date] **Branch:** [current branch name] **Last Commit:** [hash + message, or "uncommitted changes"] ## Goal [1-2 sentences: what we're trying to accomplish. Include the original user request or plan reference.] ## Completed - [x] [Task 1 — brief description of what was done] - [x] [Task 2 — brief description] - [Sub-detail if non-obvious] ## In Progress / Next Steps - [ ] [Task 3 — what needs to happen next, with enough detail to act on] - [ ] [Task 4 — include file paths and specific areas to focus on] - [ ] [Task 5 — any blocked items with explanation of the blocker] ## Key Decisions Document WHY choices were made, not just what was chosen: - **[Decision]**: [What was chosen] — [Why, including alternatives rejected] - **[Decision]**: [What was chosen] — [Why] ## Dead Ends (Don't Repeat These) - [Approach that was tried and didn't work] — [Why it failed] - [Investigation path that turned out to be irrelevant] — [What we found instead] ## Files Changed - `path/to/file.ts` — [what changed and why, 1 line] - `path/to/new-file.ts` — [NEW: what this file does] - `path/to/deleted-file.ts` — [DELETED: why it was removed] ## Current State - **Tests:** [passing/failing — which specific tests and why] - **Type-check:** [clean/N errors — what kind] - **Lint:** [clean/N warnings — what kind] - **Build:** [working/broken] - **Manual verification:** [what was tested manually, results] ## Context for Next Session [2-4 sentences: the MOST IMPORTANT thing the next agent needs to know. What's the current situation? What's the biggest risk? What should they do first?] **Recommended first action:** [Exact command or step to take first]
After writing the handoff:
1. Confirm the file was written with its full path 2. Suggest the next session command:
Read HANDOFF.md and continue from where the previous session left off.
3. If there are uncommitted changes, suggest committing first:
/commit
A good handoff document should:
The first open-source harness builder for AI coding. Make AI coding deterministic and repeatable.
Repo: coleam00/Archon
Create an atomic commit for current changes
Meta command creator - generates slash commands following established patterns
Execute an Archon implementation plan file
Implement fix from RCA document for GitHub issue
Analyze and document root cause for a GitHub issue
Create a comprehensive implementation plan for an Archon feature