r/SpecDrivenDevelopment • • 1h ago

Is there a middle ground between vibe coding and spec-driven development?

3 Upvotes

I've been exploring an approach I'm calling Intent-Driven Development (IDD), inspired by:

My problem with AI-assisted development is that prompts are too vague, detailed specifications take considerable effort, and AI often ends up making creative decisions I would rather make myself.

I'm experimenting with a framework called NTH, consisting of:

  • CSV kits: AI-generated, domain-specific tables where each column represents a dimension of possibilities. For example, rendering could contain SSR, CSR and SSG, while navigation could contain sidebars, command palettes and tabs. I explore and combine these possibilities myself.
  • XML kits: Supporting explanations, technical knowledge, trade-offs and dependencies behind those possibilities.
  • Intent language: A minimal C-inspired language using freestyle English to express goals, user flows, features, constraints and expectations.
  • AI compiler: Transforms approved intentions into architecture, plans, code and tests using predefined engineering standards.
  • Tracking and review: Compares actual results with expectations and identifies which intentions need reconsideration.

The broader idea is to support the entire reasoning process:

WHERE to intervene → WHAT to build → HOW to build → WHAT is missing → REVISE.

AI exposes the possibilities, but the developer chooses the path.

I'm still figuring out whether this approach genuinely improves development or just introduces another layer of unnecessary abstraction.

Would love some technical criticism. Particularly:

  • Would knowledge kits actually help you make better decisions?
  • Is a dedicated intent language useful, or would Markdown be sufficient?
  • What limitations do you encounter with existing AI development frameworks?

Also happy to collaborate with anyone interested in experimenting with this.


r/SpecDrivenDevelopment • • 12h ago

How do you use Claude (Claude Code) for projects? Do you follow SDD / Spec-Driven Development? It feels really heavy to me.

14 Upvotes

Hey folks,

I’ve been experimenting with Claude Code for building projects, and I keep seeing people push SDD (Spec-Driven Development): write a spec.md, review a plan, break into tasks, implement, validate, gate each step before moving forward.

I get the pitch: less vibe-coding drift, fewer wrong turns, better audit trail, easier for agents to stay on track. But honestly it feels so heavy for a lot of my work.

Every small feature or refactor requires drafting + reviewing spec and plan files, and the human approval gates add a lot of overhead. For tiny changes, internal tools, prototypes or fast iteration work, it feels like the process is eating the productivity gains I hoped to get from Claude.

Curious how the rest of you are actually running this:

\- Do you strictly follow full SDD for everything?

\- Or do you only use SDD for big / high-risk production features, and fall back to plain prompt / plan-mode vibe coding for small stuff?

\- Are there lighter variants you’ve settled on? Like a tiny 1-paragraph spec instead of full spec + plan + task docs?

\- What’s your break-even point? When does SDD actually start saving you time vs slowing you down?

\- Any workflow hacks to reduce the ceremony without losing the benefits?

I’m not against it, just trying to figure out where it fits, instead of treating it as a one-size-fits-all default.

Thanks!


r/SpecDrivenDevelopment • • 12h ago

What are you doing while your agents are working ?

2 Upvotes

I have tried many things:
• Writing notes to keep thinking about the project I am working on while I wait for my agent’s output which was sometimes useful when I kept it for me like physical notes but was otherwise confusing a lot the agents as they take what humans write into a lot of considerations even when it is unstructured draft of ideas (also known as gigantic mess).

• Managing multiple agents at the same time which I have never find that much satisfying as I become shallow in my thinking and less critique to what the AI think and produce. But maybe I was under-tooled to deal with agents orchestration as I was just having multiple instance of Codex and Claude Code, some of them inside VS code.

• Doom-scrolling. 10/10 experience but slighly less productive.

• Starting to prepare the next spec, reviewing in more detail the previous commit and other type of activities where you are trying to finish a task linked to what you agent is working on and where you kinda want to complete it faster than it completes it’s own task to not block the whole workflow which feels frustrating and not that productive anyway
So the way I work is that I take the time I need to plan the project usually in fast iterations with AI then I let it start the big work and once it is started I just think in my head about stuff, sometimes productive and sometimes not.

So I am wondering what my fellow AI managers do while their little army is at work !


r/SpecDrivenDevelopment • • 1d ago

I built The Agentic SDLC Method. How do you tell if your coding agent actually followed the spec?

8 Upvotes

The Agentic SDLC Method on GitHub

I like working from a spec. What I care about most is what happens after I approve it and the agent starts coding. When I open the PR, I want to pick a requirement, see the test for it, and decide for myself whether we shipped what we agreed on.

That’s what I built The Agentic SDLC Method around. For a feature, a separate agent writes the acceptance tests from the spec before it sees the implementation. If the plan changes halfway through, I get another look at it. I’d happily leave the agent to work through the tasks on its own. A change to the plan is something I want a say in.

I put this together after using GSD, Superpowers and BMAD and comparing nine approaches. BMAD is a personal favorite. One thing I’m still figuring out in my own method is how much detail earns its keep. I want enough to trust the result, and I’d also like to spend fewer tokens and less of my afternoon reading agent output.

If you already use SDD, I’d love for you to try it on a feature you were going to build anyway. Where did it help you catch something you might have missed? Where does your current setup do a better job? I’m using it on my own projects, so I’m especially interested in the things that seem obvious to me and turn out to be a pain for someone else.

Try The Agentic SDLC Method


r/SpecDrivenDevelopment • • 1d ago

How much of a requirement can you check from an architecture model?

3 Upvotes

I’m building ArkiLabs, a beta platform for practicing system design. One part I’d like feedback on from this community is the connection between written requirements and the checks applied to a design.

The exercises start with a brief containing functional requirements, non-functional requirements, business rules, and a budget. Users model their architecture with components and connections, plus properties such as instances, zones, and failover. Requirement checks update as they work, and review findings link back to the diagram.

The tricky part is deciding how much evidence that model gives you.

Take a requirement like “retrying a checkout request must not create a second charge.” What would you need to see in the model before calling that requirement addressed? And what would you leave unresolved until you could inspect or test the implementation?

That boundary is something I want to get right. I’d appreciate examples where a check could give someone false confidence, or where a requirement is too ambiguous to evaluate fairly.

If you want to try an exercise and critique the feedback, it’s here: arkilabs.io. Free to start; account required.


r/SpecDrivenDevelopment • • 1d ago

The Agentic SDLC Method, my open-source workflow for building software with coding agents

Thumbnail
reddit.com
2 Upvotes

The Agentic SDLC Method on GitHub

I built this mostly because I wanted to try my hand at it. I enjoy the engineering side of working with coding agents, and after using BMAD, GSD and Superpowers, I had a pretty good idea of what I’d keep from each. BMAD in particular is one I really like. I do sometimes wish it would get to the point a little sooner.

The thing I kept coming back to while building my own was trust. Say I give an agent a feature and we agree on a plan. I’d like to go do something else for a while. When I come back, can I tell whether it built what we agreed on without reading the whole conversation?

That’s why the agent writing the acceptance tests works from the spec before it sees the implementation. Later, when I review the PR, I can pick a requirement and see which test covers it. And if the plan itself changes, I get another look at it. That’s a good reason to interrupt me.

I compared nine methods while putting this together and spent some time with AWS AI-DLC and Addy Osmani’s work too. I’m using mine on my own projects now, and I still have criticisms of it. Token usage is one thing I’m watching. So is how often I catch myself skimming something the agent clearly expects me to read.

I’d love for a few people to try it on a feature they were going to build anyway. If you already use another method, how did it compare on your project? I’m particularly interested in the point where you felt comfortable letting it run, or where you decided you’d rather go back to your usual setup. Either answer helps. Feel free to tell me here or open an issue.

Try The Agentic SDLC Method


r/SpecDrivenDevelopment • • 1d ago

The Agentic SDLC Method, my open-source workflow for building software with coding agents

Thumbnail
reddit.com
1 Upvotes

r/SpecDrivenDevelopment • • 1d ago

How systems engineering is solving the "prose specs can't go red/green" problem in SysML v2

5 Upvotes

A recurring theme here is that a Markdown spec can't go red or green on its own—readable for humans and LLMs, but opaque to automated checkers.

Systems engineering hit this same wall in SysML v1, where requirements were just opaque text strings. SysML v2 fixes this by making a requirement def a specialized kind of constraint definition. One block holds the ID, human-readable doc text, typed parameters, an explicit subject, and an evaluable require constraint:

requirement def <'REQ-001'> MaxTakeoffMass {
    doc /* The vehicle shall not exceed 5000 kg at takeoff. */
    subject vehicle: LaunchVehicle;
    attribute maxMass: MassValue = 5000 [kg];
    require constraint { vehicle.totalMass <= maxMass }
}

Because maxMass is a typed quantity and the rule is a formal Boolean expression, tools can query thresholds and evaluate compliance directly.

Parameterized reuse (no copy-paste)

Binding a typed subject lets you define a contract once and instantiate it across components with overridden budgets via :>>:

requirement stage1Mass: MassBudgetCompliance {
    subject = firstStage;
    :>> allocatedMass = 3200 [kg];
}

You can also declare actor and stakeholder roles directly in the spec, while non-Boolean/qualitative requirements stay in doc text alongside the model.

(If you prefer watching on YouTube or want to save it for later, the full walkthrough is here: https://youtu.be/_OyuW8fKEJs)

For folks building SDD workflows with coding agents: do you think agents stay more aligned with Markdown + generated tests, or would a typed, constraint-embedded spec language reduce drift?


r/SpecDrivenDevelopment • • 3d ago

I built a small browser game with Claude Code without opening the code once. Every decision went into the spec.

4 Upvotes

A while ago I shared Folio, a free, open-source (MIT) Markdown reader for folders of specs, ADRs and notes, with a review loop for Claude Code. This update moves the other half of the conversation into the documents too: Claude Code's questions.

To try it, I built a small browser game (a paper lantern drifting across a pond at night) and never opened the code. Everything was decided in a spec and an ADR. The video is the whole session, about 16 minutes including my review, cut down to two. Every sped-up part is labelled.

How it went:

- Claude Code runs in a panel inside Folio: your own `claude` CLI with your login, started in the workspace. No separate terminal.
- I ran /folio:draft with a two-line description. Claude Code wrote the spec and an ADR, and instead of a list of questions in the chat, it left 12 notes on the passages they were about.
- A decision shows its options as buttons (e.g. "Canvas size: full window, or a fixed 16:9 playfield"). One click to answer. Open questions take a reply in your own words.
- I accepted the spec in a note on the document ("let's implement it") and clicked Send. Claude Code recorded each answer in the spec or the ADR and replied to every note.
- While building, it hit something the spec didn't say: the difficulty numbers. It asked on that passage, I answered "yes, write them down", and the numbers went into the spec.
- Then I typed "run the game" and played it.

What I like about working this way: the decisions don't disappear into a chat history. They're in the documents, next to the text, for the next person or agent to read.

Same as before: Folio never writes to your documents (the agent does, in its own session). Highlights and notes stay in ~/.folio. macOS, Windows and Linux, plus a browser demo.

Repo: https://github.com/crazzybot/folio

Curious how others handle this: do you let your agent ask questions in the chat, or do you push decisions into docs?


r/SpecDrivenDevelopment • • 4d ago

OpenSpec Intent-Driven Template 2.0

Thumbnail
github.com
43 Upvotes

You may already be familiar with my Intent-Driven template https://github.com/intent-driven-dev/intent-driven-template from my earlier post (https://www.reddit.com/r/SpecDrivenDevelopment/comments/1ta3ag5/specdriven_development_with_openspec_and_opencode/). It includes a custom OpenSpec schema for intent-driven development with support for Architecture Decision Records (ADR), C4 diagrams, Gherkin, TDD, multi-model adversarial spec authoring, domain glossary, and reusable engineering workflows. It also makes OpenSpec Spec-as-source capable.

OpenSpec 2.x replaces each built-in skill folder in .agents/skills/ and does not keep copies for each Coding Agent. As I upgrade to this version, I moved all my skills also to .agents/skills/.

With the 2.0 release, the template now supports OpenCode 2, Codex CLI, Copilot CLI, and Claude Code. The earlier release was specific to OpenCode 1.x.

I would love to hear your feedback and suggestions.


r/SpecDrivenDevelopment • • 4d ago

What mode do you use Matt Pocock's skills with?

1 Upvotes

If you use Matt Pocock's skills, do you use his default mode where most everything lives in Github, or do you opt for the local mode and the .scratch folder?

I'm having a hard time deciding which I'd want.


r/SpecDrivenDevelopment • • 5d ago

pi-spec-mode 1.0.0 release : write, agree on, verify and implement specs in pi

Thumbnail reddit.com
2 Upvotes

r/SpecDrivenDevelopment • • 6d ago

Is anyone actually running agents in their deploy or on-call pipeline?

Thumbnail reddit.com
1 Upvotes

r/SpecDrivenDevelopment • • 9d ago

Review your agent's specs in Folio. Claude Code fixes them and replies to every note.

8 Upvotes

I built Folio, a free, open-source (MIT) Markdown reader for folders of specs, ADRs and notes. The latest version works with Claude Code as a review loop:

  1. Run /folio:review-loop in Claude Code. It waits for your notes.
  2. In Folio, highlight passages and leave notes, or set a document's status (e.g. "accept once it follows ADR 0005").
  3. Send. Claude Code gets the notes with file paths and line numbers, edits the docs, and replies to each note.
  4. Folio shows which sections changed and the text before the edit. Read the replies, then resolve or answer back.

Folio never writes to your documents. Highlights and notes stay in ~/.folio. Runs on macOS, Windows and Linux. There's also a browser demo.

Repo: https://github.com/crazzybot/folio

Happy to hear how you review agent-written docs today, and what's missing.


r/SpecDrivenDevelopment • • 9d ago

As a Staff Engineer, handling multiple projects this is what my workflow looks like now

Post image
5 Upvotes

As a staff engineer handling multiple projects, my problem wasn't writing code. It was context switching, and how much I had to keep in my head to steer each piece of work. So I moved to a dev workflow like this.

With the models getting so good, I really need claude to just plan and execute while I make the decisions so I am embracing "spec driven" development.


r/SpecDrivenDevelopment • • 9d ago

build: a skill that writes the spec first, then the code

7 Upvotes

Getting a first version running with Claude Code is quick. The trouble starts months later, when something has to change and nobody, the agent included, knows what the code was meant to do.

build is one answer to that: a free, open-source skillset (MIT). Concept documents are the specification and the code is derived from them. My test is whether a second agent could rebuild the product from the documents alone.

You type "start", then "next", "redo" or "stop". A director skill runs four stage skills:

  1. Intake: takes a brief or problem statement, asks only for what is missing.
  2. Concept: numbered requirements, ADRs, architecture in slices, consistency check.
  3. Synthesis: red-green-refactor per slice. Commits cite the requirement IDs.
  4. Rescue: on demand, removes entropy and reports drift between docs and code.

A human decides at three gates: requirements, consistency findings, and a gap analysis before release.

Also built in: STPA-light (losses, hazards, constraints, each traced to a requirement and a test) and secret protection before the first line of code (hook, gitleaks pre-commit).

Plain markdown, nothing to install. Open the folder in Claude Code, Codex or Cowork and type "start", or symlink skills/build* into ~/.claude/skills/. Customer-specific rules go into a profile/ folder instead of a fork.

Repo: https://github.com/ditomax/build

Actually tested on two projects, medical app and a skill for fault detection in electrical installations in factories.

For those maintaining agent-written code longer than a few weeks: where does drift show up first for you? Does spec-first hold up, or does it just move the problem into the docs?


r/SpecDrivenDevelopment • • 9d ago

TeDDy: a coding harness for iterative, incremental development

Thumbnail
youtube.com
3 Upvotes

r/SpecDrivenDevelopment • • 11d ago

I can't be the only one concerned that we're becoming so focused on how quickly AI can produce code that we're forgetting all these learnings we've had from decades of SWE...

9 Upvotes

I've been following the growing popularity of SDD, doing it myself, I can't help feeling we're overlooking engineering practices we've spent decades developing and shouting about.

It's very common to see workflows where an AI agent writes a markdown spec, implements code, then writes tests to validate the same implementation. Huge PRs and reduced human review.

I know some SDD kits support test-first development, but doesn't seem to be the default approach.

A Markdown specification can't go RED or GREEN on its own. And tests passing doesn't necessarily mean you've built the right thing.

I've seen discussions around removing humans from PR reviews entirely, which I find a bit mad. Why not instead automatically flag changes to agreed business behaviour, contracts or fitness functions as requiring particular human attention, but then again not many teams are in a position where they have these...

Is anyone making use of SDD in such a way, following the classic workflows of TDD, BDD, FFDD and ATDD?

I've been working on this tool to help combat this and having good results, so this is also a shameless plug, alongside wanting to hear from proponents of SDD.

The main principle is:

AI may propose and implement changes, but it must not independently redefine the conditions by which those changes are judged successful.

It's still very much an early alpha, built by just me. Currently Windows x64, .NET 10, ASP.NET Core APIs and Reqnroll/MSTest. The packaged release supports Codex, with Claude Code and Cursor support being developed.

I've started benchmarking against Spec Kit too, with some promising early results, although there's a lot more work needed there.

Repo: https://github.com/tayzer/TADA

I'm not against SDD at all. Quite the opposite, I think there's a lot of potential here. I just worry we're so focused on the speed of AI-generated code that we're overlooking some of the lessons we've learned from decades of software engineering.

I'd genuinely love some criticism from people using SDD regularly. Are you already incorporating executable acceptance tests into your workflows? How are you stopping agents from modifying their own success criteria? And is requiring human approval of those criteria too much friction?


r/SpecDrivenDevelopment • • 11d ago

Spec driven development: Vermilion Editor

Thumbnail
github.com
19 Upvotes

Hi. I had no idea there was a community for this. I've been doing the spec driven development for a while and am in the process of making an IDE specifically for this use case... by using this method.

I guess I'll just leave a link here and let you guys take a look at it.

I didn't want to post in the vibe coding subs because I'll be honest they seem kinda... lazy.

Anyways... This is the basics, my github page and the project page explain more:

The gate protocol

Every non-trivial task proceeds through gates, and every gate follows the same loop:

 Orchestrator writes a self-contained prompt
        │
        ▼
 Fresh Qwen session ── reads AGENTS.md ── does ONE step ── writes evidence files ── "STOPPING AND WAITING"
        │
        ▼
 Orchestrator audits the tree and the evidence ──► PASS | PASS WITH NOTES | FAIL
        │                                                │            │
        │                                     fix loop (same session) │ corrective prompt
        ▼                                                             │
 I commit the gate, commit the updated docs, push  ◄──────────────────┘

Several properties of this loop are deliberate:

  • One step per prompt, and every prompt is self-contained. I open a fresh agent session for each step, which keeps the local model's context small and its behaviour predictable. Prompts are kept short enough to stay well inside what the agent handles reliably (an oversized one once hung it). Each carries its own context, rails, steps and evidence requirements, and begins with a mandatory instruction to read AGENTS.md first.
  • Evidence is produced by the machine, not narrated by the model. Long outputs (configuration, build, test runs, proofs) are written by the commands themselves into time-stamped files that record the commit they ran against. The Orchestrator reads those files directly and checks their timestamps against the edited sources.
  • Nothing is carried forward as debt. A note raised in an audit is fixed before the gate is committed, through short continuation prompts in the same agent session. A remark that depends on code not yet written is attached to the gate that will write it, never left as a loose to-do.
  • The agent cannot commit, push or discard work. OpenCode's permission configuration denies every git command that creates, rewrites or throws away history; only I perform those operations, and only at the end of a gate.
  • The agent must say when the prompt looks wrong. Every report has a "Prompt doubts" section. Qwen follows the prompt anyway, unless that would break a rule, and the Orchestrator judges the doubt afterwards.
  • Every milestone ends in a review. Before the next milestone begins, the Orchestrator and I discuss what was promised against what was delivered, what we learned about the process and the technology, and whether the plan should change.The gate protocol Every non-trivial task proceeds through gates, and every gate follows the same loop: Orchestrator writes a self-contained prompt │ ▼ Fresh Qwen session ── reads AGENTS.md ── does ONE step ── writes evidence files ── "STOPPING AND WAITING" │ ▼ Orchestrator audits the tree and the evidence ──► PASS | PASS WITH NOTES | FAIL │ │ │ │ fix loop (same session) │ corrective prompt ▼ │ I commit the gate, commit the updated docs, push ◄──────────────────┘ Several properties of this loop are deliberate: One step per prompt, and every prompt is self-contained. I open a fresh agent session for each step, which keeps the local model's context small and its behaviour predictable. Prompts are kept short enough to stay well inside what the agent handles reliably (an oversized one once hung it). Each carries its own context, rails, steps and evidence requirements, and begins with a mandatory instruction to read AGENTS.md first. Evidence is produced by the machine, not narrated by the model. Long outputs (configuration, build, test runs, proofs) are written by the commands themselves into time-stamped files that record the commit they ran against. The Orchestrator reads those files directly and checks their timestamps against the edited sources. Nothing is carried forward as debt. A note raised in an audit is fixed before the gate is committed, through short continuation prompts in the same agent session. A remark that depends on code not yet written is attached to the gate that will write it, never left as a loose to-do. The agent cannot commit, push or discard work. OpenCode's permission configuration denies every git command that creates, rewrites or throws away history; only I perform those operations, and only at the end of a gate. The agent must say when the prompt looks wrong. Every report has a "Prompt doubts" section. Qwen follows the prompt anyway, unless that would break a rule, and the Orchestrator judges the doubt afterwards. Every milestone ends in a review. Before the next milestone begins, the Orchestrator and I discuss what was promised against what was delivered, what we learned about the process and the technology, and whether the plan should change.

r/SpecDrivenDevelopment • • 11d ago

Built an open-source test management tool with AI agents as first-class citizens — TestPulse 1.0.0

Thumbnail
reddit.com
1 Upvotes

r/SpecDrivenDevelopment • • 13d ago

Enterprise Applications

3 Upvotes

Who here is actually building business applications for companies?
I have the impression that most posts are from solo developers.


r/SpecDrivenDevelopment • • 13d ago

We need lawyers, not developers.

Thumbnail reddit.com
2 Upvotes

r/SpecDrivenDevelopment • • 15d ago

Finally introduced coding subagents to my harness

Post image
2 Upvotes

I was running several primary agents in parallel across multiple projects and the notifications were burying me. Every agent stopped to ask me something: "X or Y?", "found a side issue, fix now or later?" etc. I had become the bottleneck. my AGENTS.md cover many conventions/rules/standards but its still wasn't enough to cover so many of these questions.

So I restructured my workflow like a team:

  • Me: the manager
  • One chat per project: the team lead
  • The other agents: team members, each working in its own "lane"

How lanes work

  • A lane is a git worktree plus a chat working inside it. Each one gets its own branch and folder, so agents don't trample each other's files.
  • The lead asks to open a lane with a title, a plan, and the files it expects to touch. Nothing starts until I approve it on a Lanes board. Before I approve, the harness checks for overlap with files other open lanes are touching, my plan usage, machine load, and whether a spec exists for the work.
  • When a team member stops (it's done, blocked, or has a question), it rings the lead, not me. The lead works through its inbox and replies.
  • The lead can only answer from written rules: a lead.md file in the project plus the project's docs, and it has to cite the rule it used. If no rule covers the question, or it's a taste/preference call, it escalates to me.
  • Escalations land on the board and on my phone as numbered questions, each with a recommended answer. I can answer straight away or ask the lead a follow-up first.
  • The lead can also send me FYI notes that don't need an answer.

I still have full control

Every lane is a normal chat. I can open any of them, read the whole transcript, and type into it directly if I want to step in. The harness never merges a branch, deletes a branch, or removes a worktree on its own.

My notifications are now mostly things that actually need me. It's still early, and I keep refining what goes into lead.md, since that file decides how much the lead can handle without me.

So far I have noticed I am getting a lot more done with less headaches. (literally!)


r/SpecDrivenDevelopment • • 16d ago

Do retries hide real bugs?

Thumbnail
reddit.com
2 Upvotes

r/SpecDrivenDevelopment • • 16d ago

Sharing pi-spec-mode, an extension for drafting, validating and maintaining specifications

Post image
3 Upvotes