Spec-driven development for Claude Code
δΈζ | English
Define before you build. Verify before you ship.
claude plugin marketplace add devnomad-byte/specix
claude plugin install specix@devnomad-byte-specixMost wasted effort in software comes not from writing code slowly, but from writing the wrong code quickly.
Three core beliefs:
- ποΈ Structure Before Action β spec documents are the source of truth, not an afterthought
- π¬ Evidence Before Claims β "it should work" is the most dangerous phrase in engineering
- π§© Separation of Concerns β different questions answered at different stages by different modules
π Spec-Driven Artifacts Every change produces four documents β charter (why), deltas (what), blueprint (how), lineup (when). Source of truth lives on disk, not in conversation memory.
π Four Verification Layers Micro β Functional β Semantic β Quality. Each layer answers a different question.
π Git-Optional 12 of 14 modules work without git. Local dev, prototypes, learning projects β full workflow, no repo required.
π― Executable Lineup Exact file paths, complete code blocks, runnable verify commands. Zero ambiguity, zero placeholders.
πΎ Cross-Session Recovery State on disk, not in chat. Close terminal, return tomorrow, resume exactly where you left off.
π§ Self-Learning
insights.jsonlaccumulates patterns and pitfalls across sessions. Gateway gets smarter over time.
π¨ Anti-AI-Default Canvas Frontend design module refuses generic patterns β purple gradients, Inter/Roboto, pill buttons. Deliberate aesthetics only.
β‘ Dual Triggering Natural language matching via descriptions, or
/specix:buildslash commands. Your choice.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Specix Full Pipeline β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ
β β β β β β β β β β β β β β β β
β spark ββββββΊβ draft ββββββΊβ build ββββββΊβ proof ββββββΊβ audit ββββββΊβ lens ββββββΊβ branch ββββββΊβ vault β
β β β β β β β β β β β β β β β β
βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ βββββββββββ
EXPLORE SPECIFY EXECUTE VERIFY AUDIT REVIEW INTEGRATE ARCHIVE
Socratic QA 4 artifacts grid dispatch fresh evidence spec + need code quality merge/PR delta merge
light + deep charter/deltas workers+review run commands traceback specialist lifecycle self-learn
bluep./lineup read output 3-level insights
14 modules across 4 layers. All called with specix: prefix.
| Module | Type | Purpose |
|---|---|---|
specix:gateway |
Flow | Session bootstrap β detects environment, selects development path |
specix:draft |
Flow | Produces all specification artifacts: charter, deltas, blueprint, lineup |
specix:build |
Flow | Validates lineup is executable, dispatches workers via grid |
specix:audit |
Flow | Dual-layer verification: spec compliance + real-need traceback |
specix:vault |
Flow | Archives change, merges deltas into master specs |
| Module | Type | Purpose |
|---|---|---|
specix:spark |
Clay | Exploration + Socratic ideation (light mode / deep mode) |
specix:probe |
Iron | Systematic debugging: root cause β pattern β hypothesis β fix |
specix:proof |
Iron | Iron gate β run commands, read output, confirm before claiming done |
| Module | Type | Purpose |
|---|---|---|
specix:grid |
Iron | Multi-agent parallel dispatch with per-task review |
specix:redgreen |
Iron | Test-driven discipline: failing test β implement β refactor |
specix:lens |
Flow | Whole-change code review + specialist lenses (security / performance / architecture) |
specix:branch |
Flow | Branch lifecycle: merge, PR, keep, or discard (git required) |
specix:isolate |
Flow | Git worktree isolation for feature work (git required) |
| Module | Type | Purpose |
|---|---|---|
specix:canvas |
Clay | Front-end design with anti-default aesthetics (on-demand) |
| Type | Icon | Meaning | Modules |
|---|---|---|---|
| Iron | π‘οΈ | Rigid. Follow exactly. No shortcuts. | proof probe redgreen grid |
| Clay | πΊ | Flexible. Adapt to context. | spark canvas |
| Flow | π | Pipeline. Execute in order. | draft build audit vault lens branch isolate |
Gateway detects your environment and picks the right path automatically.
User request
β
βΌ
[specix:gateway] evaluates scope
β
ββ π΄ Large change βββΊ Full path
ββ π‘ Medium change βββΊ Lean path
ββ π Bug fix βββΊ Fix path
ββ π’ Trivial edit βββΊ Direct
Full: spark β draft β isolate β build β proof β audit β lens β branch β vault
Lean: draft β build β proof β audit β lens β branch β vault
Fix: probe β redgreen β proof β (lens + branch if large)Full: spark β draft β build β proof β audit β lens β vault
Lean: draft β build β proof β audit β lens β vault
Fix: probe β redgreen β proof β (lens if large)Explore: specix:spark (light mode) β anytime, pure thinking, no files
Direct: just do it β specix:proof (optional)Every change goes through progressive verification β each layer answers a different question:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Quality β lens β Is the code good? β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Semantic β audit β Does it solve the β
β β β real problem? β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Functional β proof β Does it run? β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Micro β grid reviewerβ Did this task follow β
β β β the spec? β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Each change produces four artifacts in .specix/changes/<name>/:
charter.md β Why: motivation, scope, success criteria
deltas/*.md β What: incremental spec changes (NEW / EDIT / DROP / RENAME)
blueprint.md β How: technical design, key decisions
lineup.md β When: ordered task checklist with executable steps
Specix records observations in .specix/learn/insights.jsonl during archival.
Over time it accumulates what worked, what didn't, and project-specific conventions.
Gateway reads these insights at startup and improves routing decisions.
Three ways to install β pick the one that fits you.
Add this repo as a marketplace source, then install:
/plugin marketplace add devnomad-byte/specix
/plugin install specix@devnomad-byte-specix
Or from terminal:
claude plugin marketplace add devnomad-byte/specix
claude plugin install specix@devnomad-byte-specixCurrently under review by the Anthropic plugin directory team. Once approved:
/plugin install specix@claude-plugins-official
git clone https://github.com/devnomad-byte/specix.gitThen add to your project's .claude/settings.json:
{
"enabledPlugins": {
"specix": "/absolute/path/to/specix"
}
}Or globally in ~/.claude/settings.json.
| Scope | Effect |
|---|---|
--scope user π |
Available in all your projects (default) |
--scope project π₯ |
Shared with collaborators via .claude/settings.json |
--scope local π |
Only for you in this repo |
Specix reads .specix/project.yaml in your project root. Created automatically on first specix:draft.
schema: spec-driven
context: |
Stack: Node.js + TypeScript + React
Database: PostgreSQL
Testing: Vitest
rules:
charter:
- Include performance impact assessment
deltas:
- All endpoints must note auth requirements
blueprint:
- Database changes must include migration scripts
lineup:
- Each task must include a verification stepMIT License · Made with ⬑ for Claude Code