A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
ClaudeCode-DevPlanBuilder
Turn your product idea into a production-ready development plan in minutes
Tell Claude Code to read this repo, and it will guide you through building a comprehensive, paint-by-numbers development plan with all the testing, git discipline, and best practices baked in.
When a user asks you to help them create a development plan using this methodology, follow these exact steps:
Ask these questions ONE AT A TIME, waiting for responses:
Write to PROJECT_BRIEF.md using this structure:
# Project Brief: {name}
## Overview
| Field | Value |
|-------|-------|
| **Project Name** | {name} |
| **Project Type** | {cli/web_app/api/library} |
| **Goal** | {one sentence} |
| **Timeline** | {timeline} |
| **Team Size** | 1 |
## Target Users
- {user type 1}
- {user type 2}
## Features
### Must-Have (MVP)
1. **{Feature Name}** - {description}
2. **{Feature Name}** - {description}
...
### Nice-to-Have (v2)
- {feature}
...
## Technical Requirements
### Tech Stack
| Component | Technology |
|-----------|------------|
| Language | {language} |
| Framework | {framework} |
| Testing | {test framework} |
### Constraints
- {constraint 1}
- {constraint 2}
## Success Criteria
1. {criterion 1}
2. {criterion 2}
...
## Out of Scope
- {thing 1}
- {thing 2}
Structure the plan with phases, tasks, and subtasks:
Each subtask MUST include:
Critical: Write complete, copy-pasteable code blocks. Claude Haiku will execute this plan - it cannot infer missing details.
Git workflow: One branch per TASK (not subtask). Commit after each subtask. Squash merge when task completes.
Add "Task Complete" section after each task's subtasks:
### Task X.Y Complete - Squash Merge
- [ ] All subtasks complete
- [ ] All tests pass
- [ ] Squash merge: `git checkout main && git merge --squash feature/X-Y-name`
- [ ] Delete branch: `git branch -d feature/X-Y-name`
Write project rules with these sections:
Write to .claude/agents/{project}-executor.md:
---
name: {project}-executor
description: PROACTIVELY use this agent to execute {project} development subtasks.
tools: Read, Write, Edit, Bash, Glob, Grep
model: haiku
---
# {Project} Executor Agent
## Before Starting
1. Read CLAUDE.md completely
2. Read DEVELOPMENT_PLAN.md completely
3. Find the subtask you're assigned
## Execution Loop
For each deliverable checkbox:
1. Implement the requirement
2. Write/update tests
3. Run tests and fix failures
4. Mark checkbox complete
## After Completion
1. Update completion notes
2. Commit with semantic message
3. Report what was done
Write to .claude/agents/{project}-verifier.md with model: sonnet - this agent validates the completed application against PROJECT_BRIEF.md and captures lessons learned.
Tell the user to execute subtasks with:
Use the {project}-executor agent to execute subtask [X.Y.Z]
For complete examples of each file type, see examples/hello-cli/:
Also read examples/GLOBAL_LESSONS.md for patterns to incorporate based on project type.
Got a product idea? Here's all you need to do:
In your new project repository, paste this prompt:
Go read the README at https://github.com/mmorris35/ClaudeCode-DevPlanBuilder and help me develop my idea into a complete development plan.
Claude Code will guide you through creating a PROJECT_BRIEF.md by asking about:
Claude Code will generate:
.claude/agents/{project}-executor.md - Specialized agent to execute your plan (haiku).claude/agents/{project}-verifier.md - QA agent to validate the completed app (sonnet)Use this simple prompt for every work session (replace {project} with your project name):
Use the {project}-executor agent to execute subtask [X.Y.Z]
Replace [X.Y.Z] with the next subtask number (like 0.1.1, 1.2.3, etc.)
That's it! Claude Code will:
After all subtasks are complete, validate the application:
Use the {project}-verifier agent to validate the application against PROJECT_BRIEF.md
The verifier agent (sonnet) will:
After your project ships, use devplan to manage bug fixes and enhancements from GitHub issues:
Fetch the issue:
gh issue view 123 --json number,title,body,labels,comments,url
Generate a remediation task: Use devplan_issue_to_task with the issue JSON
Choose your mode:
Execute subtasks using the executor agent as usual
See docs/REMEDIATION_WORKFLOW.md for the complete post-release workflow guide.
Your development plan will have:
IMPORTANT: Branches are created at the TASK level, NOT the subtask level!
gitGraph
commit id: "main"
branch feature/1.2-user-auth
checkout feature/1.2-user-auth
commit id: "1.2.1: models"
commit id: "1.2.2: routes"
commit id: "1.2.3: tests"
checkout main
merge feature/1.2-user-auth id: "squash merge" type: HIGHLIGHT
feature/1.2-user-auth)Every task in your DEVELOPMENT_PLAN.md ends with an explicit merge checkpoint:
### ✅ Task X.Y Complete - Squash Merge to Main
**When all subtasks (X.Y.1, X.Y.2, ...) are complete:**
git push -u origin feature/X-Y-description
gh pr create --title "type: description" --body "Task X.Y complete"
gh pr merge --squash --delete-branch
**Checklist:**
- [ ] All subtasks complete
- [ ] All tests pass
- [ ] PR created and squash merged to main
- [ ] Feature branch deleted
This ensures you never forget the merge step - it's explicit in the plan, not something you need to remember.
Each project gets a specialized agent file at .claude/agents/{project-name}-executor.md. This agent:
To use the agent, invoke it with a subtask:
@taskflow-executor execute subtask 1.2.3
The agent will read your planning documents, verify prerequisites, implement the deliverables, run verification, and commit the changes.
Claude sometimes makes errors when creating executor agent files. Watch for these:
❌ Wrong - YAML list for tools:
tools:
- Read
- Write
- Edit
✅ Correct - Comma-separated string:
tools: Read, Write, Edit, Bash, Glob, Grep
❌ Wrong - Using sonnet model:
model: sonnet
✅ Correct - Using haiku model:
model: haiku
Using sonnet defeats the purpose of having an executor agent. The agent should be lightweight (haiku) since the development plans are designed to be "Haiku-executable" - containing complete, copy-pasteable code that doesn't require inference.
❌ Wrong - Missing frontmatter delimiters:
name: my-executor
tools: Read, Write
✅ Correct - With delimiters:
---
name: my-executor
description: PROACTIVELY use this agent to execute...
tools: Read, Write, Edit, Bash, Glob, Grep
model: haiku
---
Always double-check your agent files match this format before use.
This repository contains:
The examples/ directory contains complete, minimal examples for different project types:
| Example | Type | Tech Stack | Description |
|---|---|---|---|
| hello-cli/ | CLI | Python, Click, Rich | Minimal greeting CLI (start here!) |
| todo-api/ | API | Python, FastAPI, SQLAlchemy | REST API with CRUD endpoints |
| user-dashboard/ | Web App | Next.js, TypeScript, Tailwind | Dashboard with theme toggle |
| data-validator/ | Library | Python, pytest | Zero-dependency validation library |
Each example includes:
These examples demonstrate the key principle: every subtask contains copy-pasteable code, not vague descriptions. Claude Haiku can execute these plans mechanically, then Claude Sonnet can verify the result.
When you ask Claude Code to help you develop your idea, it will:
flowchart LR
A[Your Idea] --> B[Interview]
B --> C[PROJECT_BRIEF.md]
C --> D[CLAUDE.md]
D --> E[DEVELOPMENT_PLAN.md]
E --> F[Executor Agent]
F --> G[Execute Subtasks]
G --> H[Working Product]
style A fill:#f9f,stroke:#333
style H fill:#9f9,stroke:#333
Claude will ask clarifying questions like:
A comprehensive document covering:
Project-specific rules defining:
A complete roadmap with:
Each task includes:
Each subtask includes:
A specialized agent file at .claude/agents/{project-name}-executor.md that:
flowchart TD
A[Start Subtask] --> B[Read CLAUDE.md + DEVELOPMENT_PLAN.md]
B --> C[Verify Prerequisites]
C --> D{Prerequisites Met?}
D -->|No| E[Stop & Report]
D -->|Yes| F[Implement Deliverables]
F --> G[Write Tests]
G --> H[Run Verification]
H --> I{All Pass?}
I -->|No| J[Fix Issues]
J --> H
I -->|Yes| K[Update DEVELOPMENT_PLAN.md]
K --> L[Git Commit]
L --> M{Last Subtask in Task?}
M -->|No| N[Next Subtask]
M -->|Yes| O[Squash Merge to Main]
style A fill:#f9f,stroke:#333
style O fill:#9f9,stroke:#333
For every subtask, Claude Code will:
Claude: Use the examples folder as templates when generating artifacts. Choose based on project type:
| Project Type | Example to Use |
|---|---|
| CLI Tool | examples/hello-cli/ |
| REST API | examples/todo-api/ |
| Web App | examples/user-dashboard/ |
| Library | examples/data-validator/ |
Each example contains:
PROJECT_BRIEF.md - Template for requirementsCLAUDE.md - Template for coding standardsDEVELOPMENT_PLAN.md - Template for Haiku-executable plans{project}-executor.md - Template for executor agents (haiku){project}-verifier.md - Template for verifier agents (sonnet)Standard session prompt (use this every time, replacing {project} with your project name):
Use the {project}-executor agent to execute subtask [X.Y.Z]
When a subtask is too large:
Use the {project}-executor agent to break down subtask [X.Y.Z] into 2-3 smaller subtasks that each take 2-4 hours, have 3-7 deliverables, and can be completed independently.
Progress validation:
Use the {project}-executor agent to review Phase [X] completion: verify all completion notes, run tests, and provide a Phase [X] completion report before moving to Phase [Y].
This is both:
A methodology for building development plans with Claude Code ✅ READY TO USE - The prompt sequences and examples are battle-tested
A working CLI tool that automates plan generation ✅ USABLE - Core features complete, validation/distribution in progress
The tool was built using its own generated development plan - eating our own dog food! 🎉
The CLI Tool Progress:
gantt
title DevPlan Builder Progress
dateFormat X
axisFormat %s
section Core
Foundation :done, 0, 1
Data Models :done, 1, 2
Parser :done, 2, 3
Templates :done, 3, 4
Generators :done, 4, 5
CLI Commands :done, 5, 6
section Polish
Validation :active, 6, 7
Git Integration :7, 8
Testing & Docs :8, 9
Distribution :9, 10
| Phase | Status | Description |
|---|---|---|
| Phase 0: Foundation | ✅ Complete | Repo setup, package structure, pre-commit hooks, CI/CD |
| Phase 1: Data Models | ✅ Complete | ProjectBrief, Phase/Task/Subtask models, TechStack |
| Phase 2: Parser | ✅ Complete | Markdown parser, field extractor, ProjectBrief converter |
| Phase 3: Templates | ✅ Complete | Template selector, Jinja2 renderer, project-type templates |
| Phase 4: Generators | ✅ Complete | Tech stack, phase, task, subtask generators |
| Phase 5: CLI Commands | ✅ Complete | claude-planner generate, validate, list-templates |
| Phase 6: Validation | 🚧 In Progress | Validation rules engine, comprehensive reporting |
| Phase 7: Git Integration | ⏳ Planned | Repository initialization, initial commit creation |
| Phase 8: Testing & Docs | ⏳ Planned | Integration tests, end-to-end tests |
| Phase 9: Distribution | ⏳ Planned | PyPI publishing |
✅ The Methodology - Use PROMPT_SEQUENCE.md to build dev plans for ANY project
✅ CLI Tool - claude-planner generate, validate, list-templates
✅ MCP Server - DevPlan tools for Claude Code integration
✅ Executor Agents - Haiku-powered agents that execute your plans
✅ Autonomous Mode - Build entire projects hands-free
🚧 Enhanced Validation - Deeper quality checks and error reporting
🚧 Git Integration - Automatic repository initialization
🚧 PyPI Distribution - pip install claude-planner
Option 1: Use the Methodology (Recommended)
Option 2: Use the CLI Tool
# Install (from source for now)
pip install -e .
# Generate a development plan (provide your own PROJECT_BRIEF.md)
claude-planner generate my-project --brief your-PROJECT_BRIEF.md
# List available templates
claude-planner list-templates
Option 3: Use the MCP Server
Install:
claude mcp add devplan --transport sse https://devplan-mcp-server.mike-c63.workers.dev/sse
Key tools:
devplan_generate_plan - Generate DEVELOPMENT_PLAN.md from PROJECT_BRIEF.mddevplan_generate_executor - Generate Haiku executor agentdevplan_generate_verifier - Generate Sonnet verifier agentdevplan_add_lesson - Capture lessons from verification failuresLessons captured via devplan_add_lesson are automatically incorporated into future plan generation.
See devplan-mcp-server for the full tool list.
Here's what a typical project looks like:
You: Go read the README at https://github.com/mmorris35/ClaudeCode-DevPlanBuilder
and help me develop my idea
Claude: [Asks questions about your project]
You: [Answers questions]
Claude: [Creates PROJECT_BRIEF.md]
You: [Reviews and approves]
Claude: [Creates claude.md]
You: [Reviews and approves]
Claude: [Creates DEVELOPMENT_PLAN.md with all phases/tasks/subtasks]
You: [Reviews and approves]
Claude: [Validates the plan]
You: [Git commit - your plan is ready!]
You: Use the taskflow-executor agent to execute subtask 0.1.1
Claude: [Completes subtask 0.1.1]
[Runs tests, linting, type checking]
[Updates DEVELOPMENT_PLAN.md]
[Creates git commit]
You: [Reviews] Looks good!
You: Use the taskflow-executor agent to execute subtask 0.1.2
Claude: [Completes subtask 0.1.2]
...
You: Use the taskflow-executor agent to execute subtask [next ID]
Claude: [Completes subtask]
You: [Reviews, commits, moves to next]
Just keep going until all subtasks are complete!
Want Claude to build your entire project without asking for approval at every step? You can run in autonomous mode using --dangerously-skip-permissions.
Safe for:
Not safe for:
The flag is called "dangerously" for a reason - it bypasses safety prompts. For greenfield projects in isolated folders, this is fine. For anything touching production, don't use this flag.
# Execute a single subtask autonomously (replace {project} with your project name)
claude --dangerously-skip-permissions \
"Use the {project}-executor agent to execute subtask 1.2.3"
# Execute an entire phase
claude --dangerously-skip-permissions \
"Use the {project}-executor agent to execute all tasks in Phase 1. For each task: create feature branch, complete all subtasks with commits, merge when done."
# Build the entire project
claude --dangerously-skip-permissions \
"Use the {project}-executor agent to execute the entire development plan from current progress. Follow git discipline throughout."
# After autonomous build completes, verify the result
claude "Use the {project}-verifier agent to validate against PROJECT_BRIEF.md"
See docs/AUTONOMOUS_EXECUTION.md for the complete guide including safety checklists, troubleshooting, and monitoring tips.
Want to improve the methodology or the tool? Contributions welcome!
This project follows strict development guidelines (see examples/hello-cli/CLAUDE.md for the pattern). Each subtask must:
MIT License - see LICENSE file for details
Use this for anything - personal projects, commercial products, open source, whatever!
Built with Claude Code - An AI pair programmer that executes development plans with precision.
This methodology emerged from real-world usage of Claude Code on production projects. It codifies best practices for:
Just paste this in Claude Code:
Go read the README at https://github.com/mmorris35/ClaudeCode-DevPlanBuilder and help me develop my idea into a complete development plan.
Then answer Claude's questions about your project, and you're off to the races! 🎉
Built with Claude Code • Powered by Anthropic • CC-BY-4.0 License
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Secure MCP server for MySQL database interaction, queries, and schema management
English-first Korean equity intelligence MCP — DART filings, foreign-holder 5%-rule flows, activist filings, KRX news. F