r/SpecDrivenDevelopment • • 4h ago

Vermilion Editor: a native GTK 4 code editor for Linux, and the diff engine I just finished

Thumbnail
reddit.com
1 Upvotes

The editor is built with a gated, spec-driven method. The roadmap is split into milestones and small gates (the diff was gate M2.6), and each gate gets its own git branch. Before any code is written, I settle the design with Claude, which acts as the orchestrator: it proposes options, I decide, and every decision and later amendment is written down with its date (the diff gate ended with 17 amendments). The orchestrator then splits the gate into steps and writes one spec per step: dictated headers and tests, exact edits, the expected file hashes, and the commands whose output proves the step was done. Each spec stays under about 35 KB so it fits a local model's context with room to work. Before a spec goes out, the orchestrator builds the step itself in a cloud copy of the repo and runs the tests and mutation tests on it, so the expected results are known in advance. A local model, Qwen running on llama.cpp, then does exactly one step per fresh session: it writes the implementation from the spec, reports the raw evidence, and flags anything in the spec it doubts. Every step is audited and gets a verdict: PASS, PASS WITH NOTES or FAIL. Notes are fixed before the commit and never carried forward as debt. I test each UI step by hand, then commit and push it. At the end of a gate the documentation is brought up to date and the branch is merged into main with a full CI run. The diff gate took 47 steps, and the project now has 1888 passing tests.


r/SpecDrivenDevelopment • • 6h ago

Recommended process for a team trying to adopt SDD

1 Upvotes

Hi, I am curious to know the process followed by teams at big companies when adopting SDD. We are a team of 20 devs, trying to push code frequently. The project is in early development phase so that changes are made pretty frequently. Are there any established processes that would work for a team of this size? I found this post online and it was interesting idea to have 3 agents for SDD. Curious to know what folks think.
https://mmarcosab.medium.com/a-practical-path-to-spec-driven-development-with-codex-a3cec3ef554a


r/SpecDrivenDevelopment • • 7h ago

Main spex. AI-first spec-driven development framework

Post image
1 Upvotes

Hi! I want to introduce you to Main spex framework, spex for short. It is a spec-driven development framework, in the same family as OpenSpec or Spec Kit: you write down what you want as specifications, and the AI builds from them.

The goal is to produce slop-free, verifiable results fast, with minimal human intervention — unleashing AI's full speed. The AI writes everything, following the specs, skills, and rules. The human decides, reviews, and approves what matters. Verification layers of agent reviews, tests, and deterministic checks prove the result.

In this article I'll explain why we need something like this, how it works, and how you can try it yourself.

1. Why develop with AI at all

Let's start with the obvious part. Used right, AI writes code faster than a developer, and the quality can stay high.

It is also pretty cheap, and it keeps getting faster and better. Writing every line by hand cannot match the speed of handing that work to AI, whether you are a single developer or a whole company. The gap only grows from here.

So the question is not whether to let AI write the code. The question is how to make sure the result is what we wanted, and as good as we wanted.

2. Why do we need specifications?

Ask an AI for a snake game and you will get one. But it is the snake the model imagined, built the way it was trained to build things. Ask three models and you get three different games.

If instead you specify that you want a snake with big blue eyes that eats donuts you will get it. Example is simple, but you get the idea - every detail you leave out, the model fills in with its own guess.

That is what a specification is for. A spec is a short description of one thing the system must do, with a list of acceptance criteria. Here is one from the spex library, an email policy:

id: email-policy
title: Validate and normalize email addresses
description: Accepts any email address a user can type and stores it in one canonical form so the same mailbox is never registered twice, for every email address the system stores. Loosely follows RFC 5321, RFC 5322, RFC 6531 and the OWASP Input Validation Cheat Sheet.
acceptance_criteria:
  - id: trimmed
    must: "trim leading and trailing whitespace (the Unicode `White_Space` property) from `email` as the first step, before validating, storing or comparing it, because a stray space from typing or autocomplete is most likely a user mistake and, unlike in a password, trimming changes no secret"
  - id: normalized
    must: "normalize `email` to NFC and lowercase it after trimming, at creation, change and login, before validating, storing or comparing it, so the same address typed in different cases or on different devices is one address, because RFC 5321 allows a case-sensitive local part but virtually no provider treats it so"
  - id: international-addresses
    must: "accept non-ASCII characters in `email` (RFC 6531) and store its domain in ASCII (punycode) form, so internationalized addresses work and one domain has one stored form"
  - id: length-limits
    must: "reject an `email` longer than 254 bytes in UTF-8 or with a local part longer than 64 bytes in UTF-8, the RFC 5321 limits, when a user sets or changes it"
  - id: shape-only-validation
    must: "validate only the shape of `email` when a user sets or changes it: one `@` separating a non-empty local part from a domain with at least one dot, because the full RFC grammar is too complex for a regex and only a message sent to the address proves it works"
  - id: plain-addresses-only
    must: "reject an `email` containing whitespace or a control character (Unicode category `Cc`), a display name (`Name <a@b.c>`), a comment, a quoted local part or an IP address in place of a domain, because nobody types those forms and they are the usual way to inject mail headers or confuse parsers"
  - id: unique-per-account
    must: "allow an `email` to belong to one account only, compared after normalization, so a case or Unicode variant cannot register the same mailbox twice"
  - id: no-provider-rules
    must_not: "alter the local part of `email` by provider-specific rules, such as removing dots or `+tag` suffixes, because those rules hold for some providers only and would merge distinct mailboxes on the others"
  - id: no-domain-blocking
    should_not: "reject an `email` by its domain, such as free-mail or disposable-address providers, because such lists are never complete and block real users"

Specifications are foundation of the whole framework.

3. A spec is not enough

A spec tells us what we want to build. By itself it does nothing to check that the AI built it, or built it the way we expected.

AI writes code fast, but fast is not the same as right. It can add changes nobody asked for. It can forget a requirement. It can solve the same problem differently every time. Or it can simply make things up.

Every decision nobody reviewed and every result nobody verified adds a bit of slop. Slop piles up. Slowly the code gets harder to maintain, we trust it less, and we stop really understanding it.

You can review everything by hand, but then you throw away the speed. Or you can accept everything, and then you ship the slop.

There is a third way. Instead of fighting the agent in a loop of prompts, explaining how we want it built, reminding it what it forgot, checking every line, we build automated layers of verification on top of the specs. Those layers give us the slop-free result we wanted.

This is what Main spex (spex for short) does.

4. The framework

Work flows in one direction:

PRD → spec → contract → implementation → test

Four pieces hold it together:

  • Spec says what to build.
  • Rule says how to build it.
  • Skill is the set of instructions the AI follows.
  • Traceability links all of it together.

It is quick to start. A project can set spex up in about five minutes. And it does not care what you use: any model, any coding agent, any terminal or IDE, any language. It adapts to your project, not the other way around.

5. Verification layers

The idea behind all the layers is the same. Deterministic checks prove what they can. AI handles what checks can't. Humans reviews what matters.

5.1 PRD, spec and contract

There are three layers of specification, from top to bottom. Each one is a different kind of document, not just a longer version of the one above.

  • PRD. One per project. A short overview of why we build this and what it does: the problem, the goal and the main capabilities. No details.
  • Spec. The detailed description of one capability, with acceptance criteria. Most specs break down one of the PRD's main capabilities.
  • Contract. Comes from a spec, where it applies. It adds the interface to build against: an OpenAPI schema for an API, a Figma design for a screen.

Specs and contracts are small, so they are quick to review. A human approves them before any code is written, and the agent builds against a fixed target.

They are also used to verify the result. The review agent reads the PRD to understand the goal behind a spec, then checks the implementation against the spec and the contract.

5.2 Traceability

@spec annotations are simple comments and they connect a spec to its contract, its code and its tests.

Every acceptance criterion must have an implementation and a test. The spex coverage command checks that, the same way every time, so nothing gets forgotten. And an agent can follow the trail from a spec to everything it produced, and back again.

5.3 Rules and checks

Rules describe how we want things done: style, structure, security. The spex check command proves that they were followed.

When we notice the same mistake again and again, we add a check for it. If needed, that is our own project-specific lint.

5.4 Review agents

A review agent looks at every change and compares it with our specs, rules and PRD.

Each pull request also gets a risk label: low, medium or high. A change that implements a spec that is already verified and approved, or a low-risk change to code or tests, may not need a human at all. Human review goes only to the important parts, so it never becomes the bottleneck.

6. Skills

Skills are not verification. They are instructions that make the AI do a job the exact same way every time.

Without them, every step is improvised in chat. What should it read? Which rules apply? What needs updating afterward? The answer depends on what somebody remembered that day. A skill writes the answer down once, as a procedure you can repeat.

  • There is one skill for each step of the work: spec, implement, review, test and orchestrators that combine them.
  • Every package gets its own skill, with its structure, its commands and its rules. You never explain the package again in a new session. The skill is created when you add the package, and the agent keeps it up to date as the package changes.
  • Every framework skill has two parts. The top is generic, and the framework keeps it up to date. Below it is a part that belongs to your project. You can adapt a skill a little by adding to your part, or fully by turning updates off for that skill and owning all of it.
  • Skills load on demand. Only the short description is always in the context, and the full text loads when it is needed. A smaller context gives better output.

7. Specs and rules library

The same tasks come back in every project, so we reuse and adapt instead of reinventing the wheel.

spex lib ships ready-made rules, such as naming, commit messages, OpenAPI, Postgres and secret handling. It also has template specs, such as password policy and email policy. The library will grow with community contributions, so building a project starts to feel like putting building blocks together.

Every project then adapts them to its own needs.

8. Final

Want to try it? Install it and set up a project:

cargo install main-spex
spex init

r/SpecDrivenDevelopment • • 1d ago

I built an extension for speckit to review AI-generated specs like pull requests

Post image
8 Upvotes

AI agents can generate hundreds of lines of specifications in seconds. But humans still have to review them.

I built specview to make that process less painful:

  • Interactive specifications, plans and tasks
  • Inline comments
  • AI-generated review findings
  • Feedback sent back to the coding agent
  • Change tracking between review rounds

It's local-first, MIT licensed, and has just been accepted into the GitHub Spec Kit community extension catalog.

I've also built an interactive browser demo with a simulated agent, so you can experience the entire review loop without installing anything.

Live demo: https://artemsky.github.io/speckit-specview/

GitHub: https://github.com/artemsky/speckit-specview

I'd love to hear how you currently review AI-generated specifications and whether this would fit your workflow.


r/SpecDrivenDevelopment • • 2d ago

My answer to "vibe-specifying": specspec, a specification spectrum, or the missing why in your spec

Thumbnail
github.com
6 Upvotes

I spent last month's afterhours refining my specification management tool and polishing it for an open source release.

We are at a point now where all you need for the perfect result is a perfect specifcation. Huh, but who got time for that!

I don't, I let the agent fill out the blanks in my spec, or I vibe-greenlight proposals from my agent where I am actually not sure if this is really how I want my problem solved. Because either I might not even fully understand the proposed solution or I simply do not know if this is even a problem that I have. But I want to see the result and test it.

But the problem is at some point I always ended up with a clusterfuck of a specification, old design decisions that make no sense anymore bunched together with new ideas that weren't actually implemented anywhere.

specspec is my shot at this problem:

specspec organizes a specification as a spectrum from intentions to conclusions for human-agentic co-work. A specspec graph starts with the core idea, the manifesto, and connects it all the way to the artifacts (lines of code, paragraphs in a book, graphics in a presentation, etc.) realizing it.

– README.md @ github.com/jejay/specspec

specspec is a CLI tool that manages some markdown files (that form the specification graph) and an AGENTS.md that tells the agent how to use everything. There is also a visual editor for the graph, both standalone and as a vscode plugin.

In my experiences with my tool, the "auto mode" (aka just tell the agent to use specspec) already improved my development curves a lot. I did not look at the graph myself as often as I hoped/thought initially. But for some more serious things I actually also did use the graph editor; it revealed more easily the subtle misunderstandings between me and the agent.

I'm just hoping you find it as usefull as I found it myself; and maybe with your feedback it grows to something bigger. I would be really happy if you give it a star on github


r/SpecDrivenDevelopment • • 2d ago

How can we make sddobservatory.com more useful?

5 Upvotes

I initially built https://sddobservatory.com for myself, as I wanted to understand the lay of the land better. The topic is moving so rapidly, however, that I’m not sure the original idea (collection of frameworks and projects) is that useful anymore. I have the feeling I’m missing more intersting things. I’d love to get some ideas (or contributions!) from you.


r/SpecDrivenDevelopment • • 3d ago

I built a local UI to review coding agent changes against your OpenSpec specs

1 Upvotes

A diff shows what an agent changed, but not which requirement it was for. I built Spequi (free, MIT) to put both together.

  • Plan an OpenSpec change with your agent
  • Generate the file changes in an isolated copy
  • Review the diff beside linked requirements and comment on lines
  • Apply only when you're satisfied

It works with Claude Code, Codex and other skill-capable agents. It needs Node 20+ and the OpenSpec CLI (current versions need Node 22.12+).

Good to know: init adds an agent skill and permission hooks. The isolated copy isn't an OS sandbox. Usage sharing is opt-in per project.

npx spequi@latest init

https://github.com/rahulnjs/spequi

If you try it, what confused you or got in your way?


r/SpecDrivenDevelopment • • 3d ago

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

20 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 • • 4d ago

What are you doing while your agents are working ?

6 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 • • 4d ago

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

19 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 • • 4d ago

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

10 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 • • 4d ago

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

Thumbnail
reddit.com
2 Upvotes

r/SpecDrivenDevelopment • • 4d 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 • • 4d 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 • • 5d 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 • • 7d 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 • • 7d 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 • • 8d ago

OpenSpec Intent-Driven Template 2.0

Thumbnail
github.com
45 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 • • 9d ago

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

Thumbnail reddit.com
2 Upvotes

r/SpecDrivenDevelopment • • 10d ago

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

Thumbnail reddit.com
1 Upvotes

r/SpecDrivenDevelopment • • 12d 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 • • 12d 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 • • 13d ago

TeDDy: a coding harness for iterative, incremental development

Thumbnail
youtube.com
3 Upvotes

r/SpecDrivenDevelopment • • 13d 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 • • 15d ago

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

Thumbnail
reddit.com
1 Upvotes