This project provides slash commands for Claude Code that enable users to run four commands:
/plan-create, /plan-critique, /plan-execute, and /plan-archive.
These commands help create, review, execute, and archive plans written by the user with Claude Code.
Session tracking for parallel plans:
- Each Claude Code session tracks its current plan via
.planning/.sessions/[PID]where PID is the Claude Code process ID obtained viaecho $PPID. - Commands read the session file to determine the current plan and show it as "(current session)" in selection.
- Stale session files (PIDs no longer running) are cleaned up opportunistically via
kill -0 [PID]checks. - The
.sessions/directory is local state and should be gitignored.
- The commands markdown files from
commandsfolder should have a word wrap of maximum 120 characters. - The markdown text should be minimal, do not use bold or italic text unless absolutely necessary.
- The markdown text should be mostly plain text paragraphs, ordered lists, emphasys on code with backticks and some code blocks.
- The markdown text should include thematic breaks (
---) to separate sections. - The text from the commands markdown files should be written in plain English and easy to read from a text editor even if markdown support is not available.
- Never use emojis in the markdown text.
- The canonical version lives in
.claude-plugin/plugin.jsonunder theversionfield. - Follow semver: MAJOR for breaking changes, MINOR for new features, PATCH for fixes.
- Every release must update four things:
versionfield in.claude-plugin/plugin.json- The hardcoded version in the banner inside
.claude/commands/plan-create.md CHANGELOG.mdwith a new section describing the changes- A git tag in the format
v[VERSION](e.g.v1.0.0)
- Short and succinct
- The README should have three major sections:
- Install
- Marketplace installation (recommended)
- Manual installation via git clone
- Usage
- Pre-requisites
- Commands overview
- Workflow steps
- Credits
- Install