Guide
Getting started
Install SpecDrive and run your first Kiro-style frontend spec workflow.
Prerequisites
- Node.js 20+
- Flutter, Next.js, or React Native project
- For CLI AI:
GEMINI_API_KEY(free tier) or Ollama
1. Install
terminal
npm install -g @specdrive/cli
# Or from source
git clone https://github.com/Anu-Code07/spec-copilot.git
cd spec-copilot && pnpm install && pnpm build
2. Initialize
terminal
cd your-flutter-app
spec init --stack flutter
Creates .specdrive/ with steering files and config.
3. Configure LLM (CLI)
~/.zshrc
export GEMINI_API_KEY="your-key"
Using MCP?
No SpecDrive LLM key needed — Cursor or Claude generates documents via MCP.
4. Create a spec
Quick mode
terminal
spec create "Product Review Screen" --quick
spec implement --spec product-review-screen --next
Gated workflow
terminal
spec create "Product Review Screen"
spec approve requirements --spec product-review-screen
spec gap-analysis --spec product-review-screen
spec approve gap-analysis --spec product-review-screen
spec design --spec product-review-screen
spec approve design --spec product-review-screen
spec tasks --spec product-review-screen
spec approve tasks --spec product-review-screen
spec implement --spec product-review-screen --next