Multi-session workflow for planning, validating, and implementing features. Each session uses a separate Claude Code instance — sessions do not share context. The GitHub issue is the bridge between sessions.
- Planning session: Local plan file (
~/.claude/plans/) - After publishing: GitHub issue
Once the plan is published to GitHub, the issue becomes the single source of truth. Avoid entering plan mode in subsequent sessions — this creates duplicate local files that diverge from the issue.
Issue structure:
- Description: Plan (living document, updated via
/plan-update) - Comments: Handoffs documenting implementation progress
Design the implementation and publish it.
- Enter plan mode to explore the codebase and design the approach
- Claude writes the plan to
~/.claude/plans/ /plan-create— publishes the plan to a new GitHub issue- Keep the session open — you will return to it after validation
A fresh session provides perspective the planning session lacks. Assumptions become visible, gaps surface, and ambiguities clarify.
/plan-validate <issue>— loads the plan, validates against the codebase, and interviews you if findings need clarification- The command outputs a structured report with an instruction header, findings, and any clarifications
- The report is saved to
.claude/reports/
Return to the planning session and point it to the validation report file. The report's instruction header tells the planning agent to:
- Enter plan mode and address the findings
- Exit plan mode
- Run
/plan-updateto push revisions to the GitHub issue
The planning agent does not proceed with implementation — it only updates the plan.
Execute the plan and document the work.
/plan-read <issue>— loads the plan and any handoff comments from prior sessions- Implement the plan
/plan-handoff— documents what was done as an issue comment, capturing decisions, gotchas, and verification steps not obvious from the diff/agent-code-review— runs a pre-PR agent review with four specialised reviewers- Address critical and high-severity findings before proceeding
/pr-create— creates a pull request from the current branch
Pre-PR code review intended for non-trivial changes. The report is copied to the clipboard for reference. See step 4 of the Implement section above.
Respond to PR feedback after code review.
/plan-read <issue>— loads context from the plan and handoffs- Fetch the PR review comments including inline feedback
- Implement fixes
/pr-response— posts a summary of changes made in response to review
For complex features spanning multiple sessions:
- End each session with
/plan-handoffto document progress - Start the next session with
/plan-readto load full context - Handoff comments accumulate chronologically on the issue, preserving session history
- Each handoff captures decisions and gotchas the next session needs
See .claude/rules/commands.md for the full command reference.