You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A structured workflow for AI-assisted development — from discussion to reviewed, tested, standards-compliant code, through a version-controlled plan. 2 skills, 7 agents, ~800 lines of markdown. No code, no config, no state directories — just prompts.
9
+
A structured workflow for AI-assisted development: from discussion to reviewed, tested, standards-compliant code, through a version-controlled plan. 2 skills, 7 agents, ~800 lines of markdown. No code, no config, no state directories. Just prompts.
10
10
11
11
## Prerequisites
12
12
@@ -41,7 +41,7 @@ AI coding assistants hit two walls on non-trivial changes:
41
41
42
42
## The approach
43
43
44
-
Two skills, each orchestrating fresh agents with isolated context. Each agent starts with a fresh context window, focused on a single concern — no attention pollution between phases.
44
+
Two skills, each orchestrating fresh agents with isolated context. Each agent starts with a fresh context window, focused on a single concern. No attention pollution between phases.
45
45
46
46
```mermaid
47
47
flowchart TD
@@ -73,11 +73,11 @@ flowchart TD
73
73
74
74
## Design decisions
75
75
76
-
**Isolated passes.** A single agent asked to "implement this plan, follow TDD, and check coding standards" will do all three poorly. An agent that just spent 20 minutes implementing code is not in the right mindset to review standards — it's biased toward defending what it just wrote. Fresh context per concern — same principle as code review. For the detailed rationale, see [workflow.md](docs/workflow.md#why-isolated-context).
76
+
**Isolated passes.** A single agent asked to "implement this plan, follow TDD, and check coding standards" will do all three poorly. An agent that just spent 20 minutes implementing code is not in the right mindset to review standards: it's biased toward defending what it just wrote. Fresh context per concern, same principle as code review. For the detailed rationale, see [workflow.md](docs/workflow.md#why-isolated-context).
77
77
78
-
**Plans in git.** Your plan is a plain markdown file — it goes through your normal PR review process. No special directories, no hidden state. Two developers can plan and implement different features on different branches without interfering. A plan typically covers: context and approach, files to modify with code details, what stays unchanged, edge cases, test scenarios, and verification commands.
78
+
**Plans in git.** Your plan is a plain markdown file. It goes through your normal PR review process. No special directories, no hidden state. Two developers can plan and implement different features on different branches without interfering.
79
79
80
-
**Sequential execution.** Each pass builds on verified state — simpler to reason about, debug, and review. Parallel execution saves time but adds coordination complexity that isn't worth it for single-feature work.
80
+
**Sequential execution.** Each pass builds on verified state. Simpler to reason about, debug, and review. Parallel execution saves time but adds coordination complexity that isn't worth it for single-feature work.
81
81
82
82
**Dynamic discovery over configuration.** Skills detect your project's test runner, linter, and standards by finding and reading `CLAUDE.md` and other relevant files. Nothing is hardcoded to a stack.
83
83
@@ -89,7 +89,7 @@ flowchart TD
89
89
90
90
- Developers working on non-trivial features where AI "just do it" approaches produce drift and rework
91
91
- Teams that do code review and want AI-generated code to go through the same rigor
92
-
- Anyone who wants a predictable, inspectable AI workflow — plan in git, fresh agents, no hidden state
92
+
- Anyone who wants a predictable, inspectable AI workflow: plan in git, fresh agents, no hidden state
Each agent is a custom agent definition distributed via the plugin. The orchestrator skills reference them by `subagent_type` — their prompt content is never loaded into the orchestrator's own context. Manual installation is not supported; the plugin system handles resolution.
102
+
Each agent is a custom agent definition distributed via the plugin. The orchestrator skills reference them by `subagent_type`, so their prompt content is never loaded into the orchestrator's own context. Manual installation is not supported; the plugin system handles resolution.
103
103
104
104
## Reliability
105
105
106
-
In practice, well-structured prompts with Opus are followed 95%+ of the time — tests run, TDD is applied, standards are checked. The step hardener catches most of the remaining 5% by verifying each step with fresh context before committing.
106
+
In practice, well-structured prompts with Opus are followed 95%+ of the time. Tests run, TDD is applied, standards are checked. The step hardener catches most of the remaining 5% by verifying each step with fresh context before committing.
107
107
108
-
For hard guarantees on test/lint/typecheck, pair with git pre-commit hooks — agents trigger them on every commit.
108
+
For hard guarantees on test/lint/typecheck, pair with git pre-commit hooks. Agents trigger them on every commit.
109
109
110
110
## Comparison
111
111
112
-
Tested on the same feature and repo as [GSD](https://github.com/gsd-build/get-shit-done) and [Superpowers](https://github.com/obra/superpowers). All three produced working implementations. The key difference is in the review layer: spec-driven-dev runs dedicated review passes with fresh agents that never saw the code being written — same principle as human code review, where the reviewer shouldn't be the author. The trade-off is speed (~22 min vs ~15 min for the others).
112
+
Tested on the same feature and repo as [GSD](https://github.com/gsd-build/get-shit-done) and [Superpowers](https://github.com/obra/superpowers). All three produced working implementations. The key difference is in the review layer: spec-driven-dev runs dedicated review passes with fresh agents that never saw the code being written. Same principle as human code review, where the reviewer shouldn't be the author. The trade-off is speed (~22 min vs ~15 min for the others).
113
113
114
114
For the full benchmark and detailed analysis, see the **[framework comparison](docs/comparison.md)**.
115
115
116
116
## Contributing
117
117
118
-
Contributions welcome — [open an issue](https://github.com/mkrtchian/spec-driven-dev/issues) to discuss before submitting a PR.
118
+
Contributions welcome. [Open an issue](https://github.com/mkrtchian/spec-driven-dev/issues) to discuss before submitting a PR.
119
119
120
120
## License
121
121
122
-
MIT —[Roman Mkrtchian](https://github.com/mkrtchian)
0 commit comments