r/SpecDrivenDevelopment • u/Minimum_Hour519 • 8d ago
The Agentic SDLC Method, my open-source workflow for building software with coding agents
r/SpecDrivenDevelopment • u/Minimum_Hour519 • 8d ago
r/SpecDrivenDevelopment • u/rogue-one-the-pilot • 8d ago
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.
r/SpecDrivenDevelopment • u/SysModeler • 9d ago
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.
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 • u/Any-Consideration391 • 11d ago
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 • u/harikrishnan_83 • 12d ago
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 • u/hecktarzuli • 11d ago
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 • u/psychobarge • 13d ago
r/SpecDrivenDevelopment • u/Minimum_Hour519 • 14d ago
r/SpecDrivenDevelopment • u/Any-Consideration391 • 16d ago
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:
/folio:review-loop in Claude Code. It waits for your notes.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 • u/EcstaticDog4946 • 16d ago
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 • u/ditomax • 17d ago
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:
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 • u/No_Article_5669 • 17d ago
r/SpecDrivenDevelopment • u/protayne • 19d ago
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 • u/JinxedBluejay • 19d ago
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:
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:
AGENTS.md first.r/SpecDrivenDevelopment • u/migaloper • 19d ago
r/SpecDrivenDevelopment • u/simasch • 21d ago
Who here is actually building business applications for companies?
I have the impression that most posts are from solo developers.
r/SpecDrivenDevelopment • u/RetoricEuphoric • 21d ago
r/SpecDrivenDevelopment • u/PilgrimofHaqq2 • 22d ago
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:
How lanes work
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.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 • u/Verdict-Systems-NS • 24d ago
r/SpecDrivenDevelopment • u/psychobarge • 24d ago
r/SpecDrivenDevelopment • u/Pablito_3733 • 25d ago
r/SpecDrivenDevelopment • u/NiklasEldberger • 25d ago
r/SpecDrivenDevelopment • u/Sad-CTO • 27d ago
Hey guys,
I was talking to a friend the other day regarding how you should approach spec work and realized that I am thinking about it in a declarative way while the rest of the world seems to be thinking imperatively.
In a nutshell, chances are that if you want to, say, "add the email function to the product", you would think about this as a sequence of tasks: your flavor of of spec, dev, qa, deploy. From my perspective, tasks are secondary, a derivative, of a diff between two product states.
The current state is whatever is in production now, and its spec. The target state is the product with the email sending functions live. The diff is added/changed/removed spec items. The tasks are derived, because you can always reconstruct the tasks from the spec diff, but not vice versa.
There's more on this in an article on our website (link in comments).
LMK your thoughts, happy to discuss.