Solo developer SDLC framework for Claude Code. Spec-first, TDD, automated testing, brain-integrated.
claude plugin install zierocode/zie-framework| Command | Stage | Description |
|---|---|---|
/init |
Bootstrap | Initialize framework in a project |
/resync |
Anytime | Rescan codebase + update knowledge docs |
/backlog |
1 — Capture | Capture a new backlog item |
/spec |
2 — Design | Write a design spec with reviewer loop |
/plan |
3 — Plan | Draft implementation plan + approval |
/implement |
4 — Build | TDD feature loop with impl-review |
/release |
5 — Release | Test gates → readiness → make release |
/retro |
6 — Learn | Retrospective + ADRs + brain storage |
/sprint |
Sprint | Batch all items: spec + plan + implement + release + retro |
/fix |
Debug | Bug fix path (--hotfix for emergencies, --chore for maintenance) |
/spike |
Research | Time-boxed exploration in isolated sandbox |
/audit |
Health | 9-dimension audit + external research → backlog |
/next |
Planning | Rank backlog items (--rescue for pipeline diagnosis) |
/status |
Anytime | SDLC state (--guide, --health, --brief for expanded views) |
Skills are invoked automatically by commands as subagents — not called directly.
| Skill | Purpose |
|---|---|
zie-framework:brainstorm |
Discovery skill — research context, synthesize opportunities, write handoff |
zie-framework:spec-design |
Draft design spec from backlog item |
zie-framework:write-plan |
Convert approved spec into implementation plan |
zie-framework:review |
Unified reviewer — spec, plan, or impl (pass phase=) |
zie-framework:tdd-loop |
RED/GREEN/REFACTOR loop for a single task |
zie-framework:verify |
Post-implementation verification gate |
zie-framework:test-pyramid |
Test strategy advisor |
zie-framework:debug |
Systematic bug diagnosis and fix path |
zie-framework:context |
Load shared ADR + project context bundle and framework reference maps |
zie-framework:audit |
9-dimension audit analysis (invoked by /audit) |
zie-framework:docs-sync |
Verify CLAUDE.md/README.md match commands/skills/hooks on disk |
/backlog → /spec ──[review:spec]──► /plan ──[review:plan]──►
/implement ──[review:impl per task]──► /release ──[test gates]──► /retro
Each stage has a single responsibility. Quality gates run automatically as subagents at every handoff — max 3 iterations before surfacing to human.
| Stage | Command | Gate |
|---|---|---|
| 1 — Capture | /backlog |
— |
| 2 — Design | /spec |
review loop (spec) |
| 3 — Plan | /plan |
review loop (plan) |
| 4 — Build | /implement |
review per task (impl) |
| 5 — Release | /release |
unit → integration → e2e → verify |
| 6 — Learn | /retro |
— |
WIP=1 — one [ ] item in the Now lane at a time. Finish or fix before
starting the next feature.
Batch release — completed [x] items accumulate in Now until
/release moves them all to Done with a version tag.
- Ambient intent detection — type anything, hooks detect your SDLC phase and suggest the right command
- Auto-test on save — PostToolUse hook runs unit tests after every file edit
- Session resume — SessionStart hook injects current SDLC state at every session start
- Brain integration — works with zie-memory for cross-session context (optional)
| Dependency | Required | Graceful degradation |
|---|---|---|
| Claude Code | Yes | — |
| Python 3.x | Yes | Hooks need Python |
| zie-memory plugin | No | Auto-bundled via .mcp.json; local-only if absent |
| playwright | No | /release skips e2e gate |
| pytest / vitest | No | auto-test hook disabled |
After /init, a zie-framework/ folder is created in your project root:
your-project/
├── zie-framework/
│ ├── .config # project type, thresholds, feature flags
│ ├── ROADMAP.md # single source of truth for backlog
│ ├── PROJECT.md # hub: project overview + knowledge links
│ ├── project/
│ │ ├── architecture.md # system design, component relationships
│ │ ├── components.md # component registry
│ │ └── context.md # project context + ADR log
│ ├── specs/ # design specs (output of /spec)
│ ├── plans/ # implementation plans (output of /plan)
│ ├── decisions/ # ADR files (output of /retro)
│ └── evidence/ # milestone screenshots (gitignored by default)
├── tests/ # test code (part of project, not framework)
├── Makefile # standard targets: test, push
├── VERSION # semver
└── CHANGELOG.md # auto-generated
Works alongside zie-memory plugin. Both install hooks independently — no conflicts.
zie-memory is bundled in the plugin — zero-setup, no per-project configuration needed.
Zero-setup path:
-
Install the plugin:
claude plugin install zierocode/zie-framework -
Set environment variables (once, in your shell profile):
export ZIE_MEMORY_API_URL=https://your-zie-memory-instance.example.com export ZIE_MEMORY_API_KEY=your_api_key_here
-
Start a session — zie-memory MCP server starts automatically via
.claude-plugin/.mcp.json. No manualclaude mcp addstep required.
How it works:
The plugin ships .claude-plugin/.mcp.json declaring the zie-memory MCP
server (stdio transport, npx zie-memory). Claude Code discovers this file
at plugin load time and registers the server. If ZIE_MEMORY_API_URL is not
set the server exits immediately and the session continues normally — the same
graceful degradation as before.
Prerequisite: zie-memory npm package must be installed globally:
npm install -g zie-memoryManual install (no plugin): If you run zie-framework without the plugin
install (local .claude/ copy), add the server manually:
claude mcp add zie-memory -- npx zie-memoryThen set zie_memory_enabled=true in zie-framework/.config.
Start a fully configured session without per-operation approval prompts:
| Agent | Mode | Tools | Invocation |
|---|---|---|---|
builder |
TDD-focused, full access | all | claude --plugin-dir <path> --agent zie-framework:builder |
auditor |
Read-only analysis | Read, Grep, Glob, WebSearch | claude --plugin-dir <path> --agent zie-framework:auditor |
builder — permissionMode: acceptEdits. File writes and shell
commands run without confirmation. Session system prompt injects SDLC pipeline
context, WIP=1 rule, and skill preload hints for tdd-loop and test-pyramid.
auditor — permissionMode: plan. Tool restriction hard-blocks any
write or shell mutation at the Claude Code runtime layer. Findings are surfaced
as backlog candidates; no changes are applied.
Run from any host project directory where the plugin is available:
# Active development session — TDD mode, no confirmation prompts
claude --plugin-dir /path/to/zie-framework --agent zie-framework:builder
# Codebase audit — read-only, analysis focused
claude --plugin-dir /path/to/zie-framework --agent zie-framework:auditor| Symptom | Fix |
|---|---|
| Hook not firing | Run make setup to activate .githooks/; verify Python 3 is on PATH |
| zie-memory not connecting | Check ZIE_MEMORY_API_KEY env var; zie_memory_enabled must be true in .config |
| Tests not auto-running | Verify test_runner is set in .config; run make test-unit manually to confirm runner works |