create-handoff
Create Handoff
Generate a HANDOFF.md file to preserve context for the next AI session.
When to Use
- User says "let's continue later"
- User asks to save current progress
- Session is ending but work is incomplete
- User explicitly asks for a handoff
Process
-
Identify relevant files (target 8-15 files, up to 20 for complex work)
- Files being edited or will be edited
- Dependencies and imports
- Relevant tests
- Configuration files
- Key reference documentation
-
Draft context and goals
- What we're working on
- Current state and progress
- Decisions made
- Constraints and preferences
- Technical patterns discovered
- Next steps or remaining tasks
-
Exclude
- Conversation back-and-forth
- Dead ends and failed attempts
- Meta-commentary
- File contents (just list paths)
Output Format
Save to HANDOFF.md in the repository root:
# Handoff: [Brief Title]
## Context
[What we're building/fixing and why]
## Current State
[What's been done, what's in progress]
## Key Files
- `path/to/file.ts` - [why it matters]
- `path/to/test.ts` - [relevant tests]
[8-15 files with brief descriptions]
## Decisions & Constraints
- [Decision made]
- [User preference]
- [Technical constraint]
## Next Steps
1. [Specific task]
2. [Specific task]
Tips
- Be generous with files - cost is low, missing critical files is high
- Preserve user preferences exactly as stated
- Focus on actionable next steps
- Keep it scannable - bullet points over paragraphs
More from pc-style/pc-skills
blog-post
Create pcstyle.dev developer blog posts in the dual-author (ME MYSELF + MY AI AGENT) format, including MDX structure, custom components, and API/CLI publishing steps.
4code-review
Run automated code review using cubic review with amp review fallback. Use when the user wants to review code changes, check PR quality, analyze code for issues, or run automated code review tools.
4load-handoff
Load a handoff file and proceed with the specified tasks. Use when starting a new session with a HANDOFF.md file present, or when the user asks to continue from a handoff. Reads the handoff context and immediately begins executing the next steps.
3explore-codebase
Fast codebase exploration using Opencode's Explore agent for quick recognition of project structure, file patterns, and code organization. Use when you need to understand a codebase quickly, map out architecture, find files by patterns, or answer questions about code structure. Triggers on requests like "explore this codebase", "understand the project structure", "map out the architecture", or when quick file discovery is needed.
3git-push-origin
Push local branch to origin (GitHub) to initialize it remotely. Use when the user has created a local branch and wants to push it to GitHub for the first time, or when setting up a new branch on the remote repository.
3git-commit-push
Stage changes, commit with conventional commits, and push to origin. Use when the user wants to commit and push in one go, save changes to GitHub, or after completing work on a branch. Combines staging, committing, and pushing into a single workflow.
3