dawsman's Claude Code plugins
npx claudepluginhub dawsman/ralph-planGuided brainstorming and planning flow that produces a step-by-step plan, then launches Ralph Loop to execute it.
A Claude Code plugin that adds a guided brainstorming and planning phase before launching Ralph Loop.
Ralph Loop executes iteratively but starts blind — it needs a well-formed prompt to iterate effectively. This plugin adds a structured 8-phase flow that transforms a vague idea into a concrete implementation plan:
| Phase | Name | What happens |
|---|---|---|
| 1 | Discover | Scans project context — tech stack, structure, conventions, git history |
| 2 | Clarify | Asks focused questions one at a time to nail down requirements |
| 3 | Propose | Presents 2-3 approaches with trade-offs, you pick one |
| 4 | Design | Walks through architecture, data flow, file changes, error handling, testing — one section at a time |
| 5 | Blueprint | Breaks the design into ordered implementation steps with verification commands |
| 6 | Review | Stress-tests the blueprint from 4 perspectives before committing |
| 7 | Finalize | Saves the plan file, derives Ralph Loop parameters |
| 8 | Launch | Invokes Ralph Loop with the plan and completion promise |
Hard gates between phases prevent skipping — every gate uses clickable options so you tap to continue rather than typing.
Long conversations drift. From Phase 3 onward, the model silently re-reads your original task, your clarify answers, and the chosen approach before each phase. If it catches itself drifting, it corrects course and tells you.
Phase 6 critiques the blueprint from four angles before you commit:
Each finding references a specific step number. After the review, revisions are proposed as a diff.
At any phase gate, you can deploy Claude Code agent teams to go deeper before moving on. Agent teams run in parallel, investigate specific concerns, and return a structured report — but they never modify files or advance phases. You review their findings and decide what to incorporate.
Available teams:
| Phase | Team | What They Investigate |
|---|---|---|
| 1. Discover | Codebase Recon | Stack profile, patterns, git history |
| 2. Clarify | Requirements Research | Feasibility, prior art, better questions |
| 3. Propose | Approach Viability | Hidden costs, codebase fit, risk factors |
| 4. Design | Architecture Validation | Interface compatibility, dependency chains |
| 5. Blueprint | Verification Pre-Check | Command validity, step ordering |
| 6. Review | Deep Stress-Test | Edge cases, regression risk, security scan |
| 7. Finalize | Plan Quality | Coverage gaps, untestable criteria |
Every hard gate includes a "Deploy Claude Codes" option. Select it to get a deeper analysis before approving.
Every hard gate uses AskUserQuestion with clickable options — no empty input boxes, no typing "continue". The flow keeps moving with minimal friction.
/ralph-plan <task description>Start the full 8-phase planning flow.
/ralph-plan Add user authentication with JWT
/ralph-plan Refactor the cache layer to use Redis
/ralph-plan Build a CLI tool for database migrations
/ralph-plan helpExplains the plugin, all 8 phases, and how it fits with Ralph Loop.
/claude-codes <phase>Deploy Claude Code agent teams into a specific Ralph Plan phase for deeper analysis. Typically invoked from within a running Ralph Plan session via the gate options, but can also be called standalone.
| Situation | Use |
|---|---|
| Vague idea, no plan yet | /ralph-plan |
| Clear task, well-defined steps | /ralph-loop directly |
| Existing plan file | /ralph-loop with the plan |
| Need to explore approaches first | /ralph-plan |
| Simple bug fix or small change | Neither — just do it |
Plans are saved to docs/plans/YYYY-MM-DD-<topic-slug>.md with: