Build Your First Product
with Raftkit
Walk through building a task manager using Raftkit's 5-phase workflow. See how structure turns chaotic AI prompting into a predictable, repeatable process.
Before You Begin
What you need
- ✓Claude Code installed and working
- ✓A terminal
- ✓Basic coding familiarity
What you DON'T need
- ✗A pre-written product spec
- ✗An upfront architecture plan
- ✗Experience with Raftkit
Install Raftkit
claude plugin install raftkitThat's it. No npm packages, no config files, no setup scripts.
Phase 0 — Init Your Project
Create a new project folder and initialize git, then let Raftkit scan your project and set everything up.
mkdir task-manager && cd task-manager && git init/raftkit:initRaftkit scanned your project and set up git conventions. It knows this is a fresh project and will guide you to blueprint first.
Phase 1 — Blueprint Your Task Manager
/raftkit:blueprint task-managerBlueprint is a single collaborative session with four acts. Think of it as an AI product manager, architect, and designer all working with you at once.
Act 1 — Product Discovery
Raftkit asks you 4-8 questions: Who are the users? What problem does this solve? What's the core feature?
Act 2 — Tech & Design Discovery
It asks about your tech preferences. Don't have any? That's fine — it'll pick sensible defaults. Example: "Do you have a preferred frontend framework?" → "React with Next.js"
Act 3 — Research & Architecture
Raftkit researches competitors (Todoist, Asana, Things 3), designs your database schema, plans your API, and creates design tokens — all autonomously.
PRD Snippet
## Core Features 1. Task CRUD with markdown body 2. Priority levels (P1-P4) 3. Due dates with smart reminders 4. Keyboard shortcuts for all actions 5. Full-text search across tasks
DB Schema Snippet
tasks ├── id UUID (PK) ├── title VARCHAR(255) ├── body TEXT (markdown) ├── priority ENUM (P1-P4) ├── due_date TIMESTAMP ├── status ENUM ├── user_id UUID (FK) └── created_at TIMESTAMP
Act 4 — Review & Refine
Walk through each section together. Change anything that doesn't feel right. The AI explains its decisions and adjusts based on your feedback.
What got created
brainstorms/prd.md— product specbrainstorms/competitive-analysis.md— competitor matrixbrainstorms/market-analysis.md— TAM/SAM/SOMbrainstorms/decisions.md— decision logarchitecture/db-schema.md— ERD + indexesarchitecture/tech-stack.md— technology rationalearchitecture/system-diagram.md— components + data flowarchitecture/api-contracts.yaml— OpenAPI specarchitecture/design-system.md— tokens + UI specsarchitecture/sample-data.md— seed records + typesarchitecture/tech-preferences.md— your stack choicesarchitecture/third-party-services.md— integrationsconstitution.md— quality rulesstatus.md— progress tracking
Key insight: You just created a production-grade spec in one conversation. A human team might spend 2-4 weeks on this.
Phase 2 — Plan the Work
/raftkit:planRaftkit reads your blueprint and breaks it into features, then scores each feature using RICE — Reach, Impact, Confidence, and Effort. High-impact, low-effort features go first.
Each feature gets broken into micro-tasks — not week-long tickets, but tiny 2-5 minute chunks. Each task has clear acceptance criteria using the EARS format.
Create User model and auth endpoints
WHEN a user submits valid credentials THE SYSTEM SHALL return a JWT token and 200 status
Key insight: Small tasks = small mistakes. The AI can complete a 3-minute task reliably. A 3-day task? Not so much.
Phase 3 — Build Your Task Manager
/raftkit:build task-managerRaftkit picks up the first micro-task from your plan and spins up a fresh AI agent to build it. A fresh agent per task means no context bleed between tasks — each one starts clean.
What happens for each task
Want to review each task before it commits? Use supervised mode:
/raftkit:build task-manager supervisedWhy TDD matters here: When the AI writes tests first, it can't fool itself. The tests are a contract. Either the code meets the contract, or it doesn't. No hand-waving.
Phase 4 — Review the Code
/raftkit:reviewEvery piece of code gets a quality check. The review runs in two stages: first, does the code actually match the task spec? Then, up to 23 specialized AI reviewers examine it from different angles — security, performance, accessibility, architecture, and more.
Example findings
Missing input sanitization on task title — XSS vulnerability
Auth middleware not checking token expiry
Consider adding rate limiting to auth endpoint
P1 findings block the commit — the AI has to fix them before moving on. P2 findings should be addressed. P3 findings are logged for later.
Phase 5 — Compound Your Learnings
/raftkit:compoundThis is what makes Raftkit different from a one-shot code generator. After building, Raftkit looks at what it learned across all tasks — what patterns kept coming up, what mistakes it made, what conventions your codebase follows.
It writes those patterns into your project's CLAUDE.md file. Next time the AI works on your codebase, it already knows your naming conventions, your error handling patterns, your preferred libraries. The AI gets smarter about YOUR project with every task it completes.
Key insight: Most AI tools start from zero every time. Raftkit accumulates knowledge. Task 50 is built with everything learned from tasks 1-49.
Want to put your development on autopilot?
Once you're comfortable with Build, Review, and Compound individually, chain them all together with a single command. One approval gate, then Raftkit builds every task in your plan — reviewing and compounding as it goes.
/raftkit:auto task-managerAdd supervised to pause after each task for your review before it commits.
Quick Bug Fixes
Don't need the full workflow for a small fix? Skip straight to it.
/raftkit:fix "login button not redirecting after auth"Raftkit will investigate the bug, write a test that reproduces it, fix it, verify the test passes, and commit — all in one shot.
Command Reference
| Command | Description | Example |
|---|---|---|
| /raftkit:init | Project onboarding + stack detection | /raftkit:init |
| /raftkit:blueprint | PRD + architecture + design in one session | /raftkit:blueprint my-product |
| /raftkit:plan | RICE features + micro-task breakdown | /raftkit:plan |
| /raftkit:build | TDD build loop, one task at a time | /raftkit:build task-manager |
| /raftkit:review | Two-stage quality review | /raftkit:review |
| /raftkit:compound | Aggregate learnings + evolve docs | /raftkit:compound |
| /raftkit:auto | Auto Pilot: Build + Review + Compound | /raftkit:auto my-product |
| /raftkit:fix | Quick bug fix, skip full workflow | /raftkit:fix "fix login bug" |
| /raftkit:status | Progress dashboard | /raftkit:status my-product |
All commands default to guided mode which explains each step as it happens. Add quick to skip explanations for experienced users.
Tips for Success
Start with guided mode
It explains every methodology (RICE, EARS, TDD) the first time you encounter it.
Review the blueprint carefully
It's the foundation for everything. A good blueprint means better tasks, better code, better product.
Use supervised mode first
On your first build, use supervised mode to see how the AI works before going fully autonomous.
Don't skip compound
The compound phase is how your project gets smarter. It writes patterns into CLAUDE.md for future tasks.
Any command works standalone
You don't have to follow the full workflow. Need a quick review? Just run /raftkit:review.
Quick mode for speed
Once you're comfortable, add "quick" to any command to skip explanations and checkpoints.
Ready to build?
Install Raftkit and start your first blueprint.
claude plugin install raftkit