Simple commands
setup → go, or new → fill a short file → next → complete. You always know where you are with sdd status.
Your AI writes code fast. The reasons disappear into chat. sdd is a local CLI that keeps short plans and notes next to your code—so you, your team, and the agent stay aligned.
Install Structured Vibe Coding from npm: @structured-vibe-coding/cli (binary: sdd)
npm install -g --allow-scripts=better-sqlite3,onnxruntime-node @structured-vibe-coding/cli
cd your-app
sdd setup
sdd go "Fix empty list crash" --no-agentCurrent npm skips dependency install scripts unless you allow them. Search needs better-sqlite3, and embeddings need onnxruntime-node. To allow those scripts for later global installs, then install again: npm config set allow-scripts=better-sqlite3,onnxruntime-node --location=user. sdd doctor loads both modules and prints the install command when either one is missing or not built.
On a terminal, sdd setup walks the pieces. Press Enter to write three roles when you have no roles yet. sdd setup --yes --no-agent writes those roles without questions. A role is a job in the repo. A duty is the kind of work it does: the planner plans, the architect names the modules, and the builder builds the change pack. The mapping is which stages of the workflow you named belong to that duty. sdd go asks their questions one at a time. With SDD_ROLE_MODEL set, the role writes the note and the guide hands the next stage to the next role. You still decide.
What they are, why that split helps, and the setup for a software team: Roles and duties.
A named host is sdd setup --ai copilot, or sdd init --here --ai copilot when you want to pick the workflow yourself.
Full walkthrough with a paste-ready example: Start in 10 minutes.
Learning tip
Add --no-agent the first time. You learn the process without the AI window popping up. Drop the flag later when you want the agent to help.
| I want to… | Open this |
|---|---|
| Learn sdd right now | Start in 10 minutes |
| Set up roles and duties | Roles and duties |
| See the daily commands | Everyday loop |
| Add a feature to my app | Simple feature |
| Build a new product from an idea | New product (greenfield) |
| Do serious / multi-team work | Enterprise path |
| Look up a command | CLI reference |
| Name a team in the repo | Roles and duties |
| Write a design an agent can follow | Skill pack |
| Need | Detail |
|---|---|
| Node.js | CLI 0.24.0: 24 or newer. Next release: Node 20–23 works but isn't recommended; Node 24 is recommended. |
| CLI package | @structured-vibe-coding/cli on npm |
| An AI tool | One of: GitHub Copilot, Grok, Claude Code, Ollama, or Kilo Code |
| Time | About 10 minutes for the first loop |
| Editor | Whatever you already use |
You get a folder under changes/ with a short write-up of the work, a status that moves when you run sdd next, and a habit your AI can follow next time.
Ready for the daily rhythm? → Everyday loop