A structured vibe coding template for Claude Code.
Go from raw idea to shipped feature in six guided phases.
📋 Plan → 📄 PRD → ✅ Checklist → 🔨 Implement → 🔧 Fix → 🧪 Test
- 🗺️ What Do You Want to Do?
- 🚀 How It Works
- 🔀 Not Sure Which to Pick?
- 🔄 The Six Phases
- 📁 Project Structure
- ⚙️ Setting Up CLAUDE.md
- 📚 Examples
- 💡 Tips
- 📄 License
Pick your scenario — each one tells you exactly which phases to use and in what order.
|
Use all 6 phases in order:
|
Start at PRD (feature mode), then build:
|
|
Jump straight to Fix:
|
Lightweight PRD, then build:
|
Each phase can trigger earlier phases if you haven't run them yet:
🔨 Implement ─── "No checklist found. Want me to run Checklist first?" ───▶ ✅ Checklist
✅ Checklist ─── "No PRD found. Want me to run PRD first?" ──────────────▶ 📄 PRD
📄 PRD ─── "No plan found. Want me to run Plan first?" ────────────▶ 📋 Plan
You can start at any phase. If earlier docs are missing, the phase offers to generate them — or you can skip and provide context directly.
Two entry points — pick the one that fits your workflow:
|
Zero setup. Just copy and paste.
|
Deep integration with Claude Code.
|
| 📋 Prompts (A) | ⚡ Slash Commands (B) | |
|---|---|---|
| ⏱️ Setup time | None | 5 minutes |
| Copy-paste into Claude Code | Type /plan, /prd, etc. |
|
| 🧠 Project context | Asks you every time | Reads from CLAUDE.md automatically |
| 📂 Codebase access | No — can't scan files | Yes — scans project structure |
| 💬 Inline arguments | No | Yes — e.g. /fix the login is broken |
💡 Start with prompts. Move to slash commands when you want tighter integration.
Each phase builds on the last. Use them in order for a new project, or jump to the one you need.
┌──────────┐ ┌──────────┐ ┌──────────┐
│ 📋 Plan │ ────▶ │ 📄 PRD │ ────▶ │ ✅ Check │
│ │ │ │ │ list │
└──────────┘ └──────────┘ └──────────┘
│
▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ 🧪 Test │ ◀──── │ 🔧 Fix │ ◀──── │ 🔨 Impl │
│ │ │ │ │ ement │
└──────────┘ └──────────┘ └──────────┘
/plan·prompts/01-plan.md·.claude/commands/plan.md
Define what you're building, the architecture, and implementation phases. Produces a structured plan with scope, risks, and next steps.
/prd·prompts/02-prd.md·.claude/commands/prd.md
Turn the plan into a Product Requirements Document — features, user stories, acceptance criteria, and technical requirements.
/checklist·prompts/03-checklist.md·.claude/commands/checklist.md
Break the PRD into concrete, ordered tasks with checkboxes. Grouped by phase, ordered by dependency, decision points flagged.
/implement·prompts/04-implement.md·.claude/commands/implement.md
Write the code. Three modes:
- 🪜 Step-by-step (default) — one task at a time, check in after each
- 🏗️ Full build — complete a whole phase, check in at the end
- 🗺️ Plan only — preview the approach without writing code
/fix·prompts/05-fix.md·.claude/commands/fix.md
Something broke? Diagnose the root cause, make the minimal fix, verify it works. No unnecessary refactoring.
/test·prompts/06-test.md·.claude/commands/test.md
Validate the build. Generates a validation checklist, runs existing tests, walks through manual checks, and produces a test report.
| File | Description |
|---|---|
| ⚡ Slash Commands | |
.claude/commands/plan.md |
📋 Plan — scan codebase + generate plan |
.claude/commands/prd.md |
📄 PRD — generate requirements doc |
.claude/commands/checklist.md |
✅ Checklist — break PRD into tasks |
.claude/commands/implement.md |
🔨 Implement — write the code |
.claude/commands/fix.md |
🔧 Fix — diagnose and fix bugs |
.claude/commands/test.md |
🧪 Test — validate the build |
| 📋 Copy-Paste Prompts | |
prompts/01-plan.md |
📋 Plan — self-contained, asks onboarding questions |
prompts/02-prd.md |
📄 PRD — standalone requirements generation |
prompts/03-checklist.md |
✅ Checklist — standalone task breakdown |
prompts/04-implement.md |
🔨 Implement — standalone build mode |
prompts/05-fix.md |
🔧 Fix — standalone bug fixing |
prompts/06-test.md |
🧪 Test — standalone validation |
| 🧩 Other Files | |
skills/vibe-coding.md |
🧠 Core coding principles & behavior |
examples/sample-prd.md |
📄 Example PRD (GitHub Activity Dashboard) |
examples/sample-checklist.md |
✅ Example checklist (matches the PRD) |
CLAUDE.md |
⚙️ Project context template — fill this in |
🔵 Only needed for Entry Point B (slash commands). Prompts work without it.
CLAUDE.md tells Claude Code about your project. Fill in what you can — you don't need everything on day one.
| Section | What to write | When to add |
|---|---|---|
| 📝 Overview | What it does, who it's for | ⭐ Start here |
| 🛠️ Tech Stack | Language, framework, database, testing | ⭐ Start here |
| install, dev, test, build, lint | ⭐ Start here | |
| 🗂️ Project Structure | Top-level directory tree | 📌 When helpful |
| 📐 Code Conventions | Naming, patterns, file organization | 📌 When helpful |
| 🏗️ Architecture Notes | Data flow, key boundaries | 📌 When helpful |
| Things that trip people up | 🔄 Over time | |
| 📊 Current Status | What works, what's in progress | 🔄 Update as you go |
The examples/ folder has a complete PRD and matching checklist for a fictional GitHub Activity Dashboard project:
| File | What it shows |
|---|---|
📄 sample-prd.md |
Full PRD with features, user stories, acceptance criteria, and technical specs |
✅ sample-checklist.md |
Matching task checklist with a mix of completed and pending items |
Use them to:
- 👀 See what good output looks like from each phase
- 📏 Understand the level of detail the prompts produce
- 🧪 Try the prompts/commands without a real project
| Tip | Details | |
|---|---|---|
| 🎯 | Jump to any phase | Have a bug? Go straight to /fix. Know what to build? Skip to /implement. |
| 🔗 | Phases chain together | Slash commands save to docs/ — the next phase picks up automatically. |
| ✏️ | Prompts are editable | They're just markdown. Add sections, change questions, adjust the tone. |
| 📈 | CLAUDE.md grows with you | Update it as the project evolves. Better context = better output. |
| ⚡ | Use inline arguments | /fix the API returns 500 on empty input is faster than answering questions. |
MIT