r/SpecDrivenDevelopment • • 2h ago

How I build a desktop app with spec folders, a task board and a rule that "done" means the file exists

1 Upvotes

In Ptah's repo a task is a folder under `.ptah/specs/`. No `task.md`, no card. The app draws a six-column board over those folders: backlog, in progress, in review, blocked, done, cancelled. I built Ptah and AI agents do a lot of the typing, so the specs are how I keep them honest.

  1. The task folder holds context, a `decisions.md` and review notes; the PR links to it.
  2. Plan and code get reviewed by someone other than the implementer. In one PR Codex implemented and Claude reviewed: REVISE, fixes, APPROVE.
  3. Since 2.1.0 the host runs a routing gate (Gate 0.1) at plan approval, task start and batch and task writes.
  4. On main, not in a release yet: a lane reports with `ptah_outcome_report`, and a declared file only counts as delivered if it exists, is non-empty and was modified after the run started. A review by the same agent is refused, and a review can't use the implementer's model family when another is available (otherwise the fallback is flagged).

Limits: PR test plans still have unchecked boxes, e.g. a live agy lane not verified. A spec folder is a record, not proof.

Question: when a spec turns out wrong halfway through, do you amend it in place or leave it and put the correction in a separate decisions file?

Repo: https://github.com/Hive-Academy/PtahCode


r/SpecDrivenDevelopment • • 6h ago

Keeping a sane architecture spec while your AI agent builds

1 Upvotes

I've been building side projects with Claude Code, and once a project gets past a handful of services I stop knowing how it fits together. The agent adds a queue here, a second database there, a service that calls something it shouldn't. Each PR looks fine on its own.
So I built portal. It reads a repo (Compose, Kubernetes, Terraform, the code itself) and draws how the parts connect. No AI decides what's there; it's read from the code. Then it writes a first spec, one LikeC4 file, and from then on every pull request is checked against it: new parts, new connections, broken rules.
There's also a skill for your coding agent, so it updates the spec in the same PR when it adds something.
You can try it without signing in: paste any public repo on the front page and you get its map in about 30 seconds.

https://getportal.build/
It's free while in beta. I'd really like to hear where the map gets your repo wrong, that's the most useful feedback right now.


r/SpecDrivenDevelopment • • 1d ago

I built Conceptor so Codex and Claude Code can rethink a project from scratch and rebuild just the parts that need it

Post image
12 Upvotes

I built Conceptor for Claude Code and Codex. See one change from idea to code or try it in your repo. Free, MIT.

Here are the results of two tests I ran with Claude Code.

  • Conflict. Would Claude notice that a new request broke a rule from 12 sessions ago? I replayed that one request five times per workflow.
  • Reasons and cost. On a 51,000-line app, could fresh chats explain why we made 13 decisions? Sonnet graded the answers. Cost is the estimated API price for the 15 coding sessions on that app, one run per workflow.
Workflow Conflict Reasons Cost
Conceptor 5/5 13/13 $23.54
Spec Kit 5/5 12/13 $44.54
OpenSpec 0/5 12/13 $31.89
Superpowers 0/5 10/13 $34.46
Decisions file Untested 11/13 $19.05
Saved messages 0/5 13/13 $18.20
Plain Claude 0/5 5/13 $16.28

On the larger app, a plain decisions file Claude maintained tied Conceptor and Spec Kit on the corrected final checks. All three passed 67/67.

All 105 sessions on that app · Run the tests and check my scoring · 50-second example (MP4)


r/SpecDrivenDevelopment • • 17h ago

Spec-first was slow for my game. Building first and writing the specs as it went wasn't. Where do you draw the line?

Thumbnail
1 Upvotes

r/SpecDrivenDevelopment • • 19h ago

The agentic edition of the complete spec fallacy

Thumbnail
1 Upvotes

r/SpecDrivenDevelopment • • 1d ago

Does anyone have any experience creating/using the AIDLC framework?

Thumbnail
1 Upvotes

r/SpecDrivenDevelopment • • 2d ago

SysML v2 Tutorial (Lesson 27): Formalizing constraints with require and assume

Thumbnail
youtu.be
1 Upvotes

A common failure mode in spec-driven development is the "buried footnote" problem. A spec states a clear requirement up front, while the operating conditions under which that requirement actually applies live three pages away in prose—or only in the author's head.

When an automated test or coding agent evaluates that spec under off-nominal conditions, you get one of two bad outcomes: a noisy false failure, or a misleading pass.

Systems engineering ran into this exact wall with SysML v1. You could write equations using Constraint Blocks, and you could put preconditions on behaviors, but a requirement itself had no dedicated slot to separate when it applies from what the system must satisfy.

SysML v2 fixes this with two distinct constraint roles inside a requirement: assume constraint (the envelope) and require constraint (the promise inside it).

1. Moving the Footnote Into the Spec

Consider a requirement like REQ-113: "The air vehicle shall achieve a minimum unrefueled range of 500 km"—with a footnote stating "at sea level, standard atmospheric conditions, and maximum takeoff weight."

In SysML v2, both the operating envelope and the required performance live as typed, evaluable expressions in the same requirement definition:

package RangeRequirements {
    private import ISQ::*;
    private import SI::*;

    enum def LoadCondition { maxTakeoffWeight; emptyWeight; }

    part def AirVehicle {
        attribute altitude: LengthValue;
        attribute ambientTemperature: TemperatureValue;
        attribute achievableRange: LengthValue;
        attribute loadCondition: LoadCondition;
    }

    requirement def <'REQ-113'> UnrefueledRange {
        doc /* The air vehicle shall achieve a minimum
             * unrefueled range of 500 km. */
        subject vehicle: AirVehicle;
        attribute minRange: LengthValue = 500 [km];
        attribute refAltitude: LengthValue = 0 [m];
        attribute refTemp: TemperatureValue = 288.15 [K];

        assume constraint testConditions {
            vehicle.altitude == refAltitude and
            vehicle.ambientTemperature == refTemp and
            vehicle.loadCondition == LoadCondition::maxTakeoffWeight
        }

        require constraint rangePerformance {
            vehicle.achievableRange >= minRange
        }
    }
}

2. Why "Not Applicable" Is Not "Failed"

Suppose a test runs at 3,000 meters instead of sea level and achieves 460 km. Did REQ-113 fail?

No. The test ran outside the requirement's stated assumptions, so it tells us nothing about whether the requirement holds under its specified conditions.

Formally, assume and require form a logical implication (if assumptions hold, then required constraints must hold). Because the assumptions are explicit model data rather than unstructured prose, a verification case can check both independently and return an inconclusive verdict (rather than pass or fail) whenever the test conditions weren't met.

3. Inline Invariants and Reusable Rules

SysML v2 also cuts the boilerplate for general invariants. In v1, even a simple mass rollup (totalMass == dryMass + fuelMass) took five model elements wired together on a parametric diagram. In v2, you can assert it inline right inside the part definition:

part def LaunchVehicle {
    attribute dryMass : MassValue;
    attribute fuelMass : MassValue;
    attribute totalMass : MassValue;

    assert constraint massRollup {
        totalMass == dryMass + fuelMass
    }
}

And when you want to reuse a rule across components, constraint def lets you parameterize it with in inputs:

constraint def WithinMargin {
    in actual : MassValue;
    in budgeted : MassValue;
    in margin : Real;

    actual <= budgeted * (1 + margin)
}

part def Stage1 {
    attribute dryMass : MassValue;
    attribute allocatedMass : MassValue;

    assert constraint massMargin : WithinMargin {
        in actual = dryMass;
        in budgeted = allocatedMass;
        in margin = 0.05;
    }
}

Practical Guardrails

  • Four distinct forms: A plain constraint only defines a Boolean expression (it doesn't enforce anything); assert constraint enforces an invariant on a part; require constraint states what a requirement's subject must satisfy; assume constraint scopes when that requirement applies.
  • Checking vs. solving: Evaluating a constraint when all values are known is straightforward; solving an equation network for unknowns still depends heavily on tool support.
  • Don't formalize everything: Qualitative requirements are still better kept as readable text in the doc block rather than forced into brittle Boolean expressions.

(If you want the full walkthrough with diagrams and v1 vs. v2 comparisons, the video is up here: https://youtu.be/9Ti0OvuHkmE?si=FACyIHmv-RZIrVyn)

For people building SDD workflows with AI agents: how are you encoding assumptions and preconditions in your specs today so that an agent (or test runner) knows the difference between a broken implementation and an out-of-scope test?


r/SpecDrivenDevelopment • • 2d ago

I built Spechatch: a 19-tool Python MCP server + CLI for Spec-Driven Development with AI coding agents

Thumbnail
0 Upvotes

r/SpecDrivenDevelopment • • 3d ago

solopowers v4.0

4 Upvotes

about a month ago I shared `solopowers` here - a heavily modded solo-dev adaptation of `obra/superpowers`. instead of spec + plan i had a single workstream doc leaving out low level implementation to workers.

as i kept working with it more and more i realised i am honestly not reading/ skipping a lot of the workstream doc (the spec) and only sort of skimming the highlights or my choices for design and architecture decision forks.

so here's v4.0.0 spec (workstream doc) is not a single markdown anymore. it's a folder: human facing executive brief (around 50 lines) + things more meant for agents to guide the implementation.

here's the key updates since my last post.

- complexity-based slice sizing: slices are split by behavioral complexity and verification burden
- priority-graded reviews: stop wasting tokens chases P3/P4 edge cases. take a call at feature completion based on preference or just keep them logged for later triage.
- design playback + external harness review: want the agent to handle the decision, skip the design playback and gate it with a external harness review. paste review prompt to an external harness, paste review report path back for adjudication. why not automated? cli agent ToS plus this keeps the review interactive in case i have follow-up QnA on different model family.

install with: `npx skills add dtbndr/solopowers@v4.0.0`

repo & changelog: https://github.com/dtbndr/solopowers (MIT)

if you’re running solo spec-driven workflows, give it a spin on a real feature. PRs are welcome if you hit edge cases or have ideas to improve it.


r/SpecDrivenDevelopment • • 3d ago

Do you notice a real code quality and productivity boost with spec driven development?

12 Upvotes

I watched this video breaking down how devs used AI agents this year

devs who let agents handle up to 60% of their tasks seem to use spec driven development less, and 44% of them end up rewriting more than 40% of the code the agent writes

but once you go above that, specs and project guidelines become more common

i get why specs are useful but keeping them updated is a pain on its own. every time the plan changes halfway through, i end up updating the spec and the code, and sometimes i wonder if im actually saving any time at all

do specs actually make you more productive or are we just moving the work somewhere else?


r/SpecDrivenDevelopment • • 3d ago

Launching Issue-First Development: a workflow for building software with AI agents

Post image
4 Upvotes

Writing code with AI is the easy part. When several agents are working in parallel, the hard part is keeping track of what each change is supposed to do, why it was made, and how you’ll know it works.

While building Knotic, I talked with developers and teams adopting coding agents. Those conversations led me to write down Issue-First Development (IFD), a framework that organizes work around the issue so it can continue across agents and sessions.

  • Issue First: Start with a clear goal and acceptance criteria.
  • Isolated Execution: Give each change its own branch or worktree so parallel work stays separate.
  • Persistent Context: Keep the context with the project so the next person or agent can pick it up.
  • Verified Outcomes: Close the issue when the result meets the acceptance criteria.
  • Continuous Knowledge: Record decisions worth carrying into future work.

IFD borrows from Agile and can work alongside Spec-Driven Development: the spec describes the expected behavior, and the issue ties a specific change to how it will be verified. You don’t need Knotic or any particular model to use it.

I’ve published the framework and manifesto at https://issuefirst.dev. If you already run coding agents in parallel, what part of your workflow would this improve, and where would it add unnecessary overhead?


r/SpecDrivenDevelopment • • 4d ago

opspicy - A library for spec-driven development & testing

Thumbnail
github.com
3 Upvotes

r/SpecDrivenDevelopment • • 4d ago

What is a specification ? What KAOS teaches spec-driven development.

Thumbnail enspirit.dev
1 Upvotes

r/SpecDrivenDevelopment • • 4d ago

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

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

Recommended process for a team trying to adopt SDD

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

Main spex. AI-first spec-driven development framework

Post image
2 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 • • 6d ago

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

Post image
12 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 • • 6d 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 • • 6d ago

How can we make sddobservatory.com more useful?

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

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

21 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 • • 8d ago

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

22 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 • • 7d 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 • • 8d 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 • • 8d ago

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

12 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