Write specs. Build code. Ship software. Structured clarity for humans and clankers alike! No more cognitive debt. All in our favorite RustLang π¦
You write code. Then you write more code. Then someone asks "wait, what are we building again?" and nobody remembers. Your AI models constantly hallucinate and go on a bender while your team has no idea how things work. But it just works... for now.
For us, we're creating a frontier infrastructure project and found that spec-driven development gave us some efficiency at waterfalling, but became a nightmare when debugging large and complex codebases. Using OpenSpec, BMAD, and SpecKit was starting to destroy our work.
UniSpec is a fully open source spec-driven development orchestrator that allows you to build your own spec-driven workflows that can work inside production environments. This allows you to create specs in a tree-like format so your code is fully referenced and documented.
This splits up the development process into 3 concepts:
- Modes β Custom built workflows for your IDE agents
- Areas β Specification workspaces designed for your objectives
- Topics β Defined subjects that can nest into trees of specifications
# Install
git clone https://github.com/uwzis/unispec.git
cd unispec
cargo install --path .
# Initialize a project
mkdir my-app && cd my-app
unispec init
# Create a topic in Staging (config's default area)
unispec topic add user-login \
--short "Email/password login with JWT" \
--content "Users authenticate with email and password. \
Server returns a signed JWT with a 30-minute expiry."
# Write the spec and tasks for it
unispec spec add \
--topic user-login \
--short "Auth design" \
--spec-content "POST /login takes {email, password}. \
On success, returns 200 with {jwt}." \
--task-content "- [ ] Implement POST /login
- [ ] Add JWT signing helper
- [ ] Write integration tests"
# Add to the Staging readiness queue (required before pushing out of Staging)
unispec queue add user-login
# Move through the pipeline
unispec topic push user-login --area Working --from Staging
unispec topic push user-login --area Testing --from Working
unispec topic push user-login --area Fixing --from Testing
unispec queue add user-login --area Fixing
unispec topic push user-login --area Build --from Fixing
# Or launch the interactive TUI any time
unispecSee docs/quickstart.md for a five-minute walkthrough and docs/workflow.md for the full pipeline rules.

| Area | Purpose | Readiness queue required to push out? |
|---|---|---|
| Staging | Writing specs | Yes β unispec queue add <topic> first |
| Working | Writing code | No |
| Testing | Running build & test pipelines | No |
| Fixing | Repairing issues from Testing | Yes β unispec queue add <topic> --area Fixing first |
| Build | Done. Treated as immutable. | n/a β final stage |
All five areas are created automatically by unispec init (the default mode is embedded in the binary). The readiness queue lives at spec/<area>/queue.md and is what gates push-out from Staging and Fixing.
# Link code to a spec
unispec index add --topic "user-login" --path src/auth/login.rs
unispec index add --topic "user-login" --path tests/login_test.py
# Now AI knows which code implements which featureCustom workflows for different teams. The default mode ships at .agent/modes/default/ and uses the five-area pipeline above. Additional modes (sprint, kanban, RFC, docs) can be installed from the community package repository or built by hand β see docs/modes.md.
You can install custom nodes from the community, Here for more details.
# List available packages
unispec pkg list
# Install a package to current project
unispec pkg install default-modes
# Install globally (system-wide)
unispec pkg install default-modes --global
# Install from a GitHub URL directly
unispec pkg install https://github.com/username/unispec-modes
# List installed packages
unispec pkg installed
# List globally installed packages
unispec pkg installed --global
# Remove a package
unispec pkg remove sprint-modeUniSpec plays nice with 24 AI editors. When you run unispec init, it can set up your editor:
unispec init --cursor --cline --windsurfSupported editors:
| Editor | CLI Flag | Editor | CLI Flag |
|---|---|---|---|
| Amazon Q | --amazon-q |
Kilo Code | --kilo-code |
| Antigravity | --antigravity |
Kiro | --kiro |
| Augment | --auggie |
OpenCode | --opencode |
| Claude Code | --claude-code |
Pi | --pi |
| Cline | --cline |
Qoder | --qoder |
| Codex | --codex |
Qwen Code | --qwen-code |
| CodeBuddy | --codebuddy |
RooCode | --roo-code |
| Continue | --continue |
Windsurf | --windsurf |
| CoStrict | --costrict |
TRAE | --trae |
| Crush | --crush |
Cursor | --cursor |
| Factory | --factory |
Gemini CLI | --gemini-cli |
| GitHub | --github |
iFlow | --iflow |
Or use --all to set up all of them.
Bonus: I use Zed - just copy the commands into the Rules. Highly recommend Zed!
- What problem are we solving?
- Who is this for?
- What are we building? (be specific)
- How do we know it's done? (acceptance criteria)
- What's NOT included?
Then tasks.md breaks it into actionable chunks.
There's a platypus named Paddy in the TUI. He's here to be like your personal cheerleader for all you ADHD GenZ Tik-Tok glued addicts like myself. He is just a reminder that you can do it! Toggle him with \ in the TUI.
He believes in you. π¦«
- Quickstart β five-minute install β first push to Build
- Getting Started β full walkthrough
- Workflow β the five-area pipeline explained
- Areas β what each area means and how the queue gate works
- TUI Guide β every keybinding and screen
- CLI Reference β every subcommand and flag
- Commands Reference β legacy long-form CLI docs
- Creating Modes β build custom workflows
- Connectors β turn shell commands into MCP tools
- MCP Tools Reference β every MCP tool, with JSON-RPC examples
- MCP Integration β wire Claude Code / Cursor / Windsurf / Cline / Zed
- Indexing β link code to specs
- Architecture β how the codebase is laid out
- Troubleshooting β common errors and fixes
- Changelog β version history
Remember: Code is what computers run. Specs are what humans understand. Write the spec first, work based off understanding.
β Paddy the Platypus π¦«

