Insights Business| SaaS| Technology Keeping Specs Good and Choosing the Right Spec-Driven Tooling: Spec Kit vs Kiro vs BMad
Business
|
SaaS
|
Technology
•
Nov 30, 2026

Keeping Specs Good and Choosing the Right Spec-Driven Tooling: Spec Kit vs Kiro vs BMad

AUTHOR

James A. Wondrasek James A. Wondrasek
Keeping Specs Good and Choosing the Right Spec-Driven Tooling

You’ve narrowed the shortlist to three names: GitHub Spec Kit, Amazon Kiro, BMad, and that feels like progress until you consider the spec you’re about to hand over. A tool cannot rescue a spec that was never worth handing to an agent in the first place, and most of the specs teams are feeding agents right now are either verbose boilerplate or out of date. Because the agent trusts the spec, whatever the spec gets wrong ends up in the code.

So before the vendor question, there are two others. Is the spec itself good enough to hand over? And once you have a good one, what keeps it good as the code moves underneath it? Answer those and the tooling choice mostly settles itself. Spec-driven delivery, as the spec-driven delivery overview sets out, starts with contracts and guardrails written before any code.

What separates a quality spec from verbose boilerplate?

A quality spec states intent, constraints and observable acceptance criteria that an agent cannot misread. Verbose boilerplate duplicates the code’s logic and adds length without adding a decision. Microsoft’s own standard is that spec quality equals output quality.

Three properties do the work. Testable comes first: acceptance criteria are the sentences that matter most in the document, written as “done-when” conditions in EARS form (WHEN a condition holds, THE SYSTEM SHALL do X) or Given/When/Then, so a human and an agent can both verify completion without a conversation. Kiro writes its criteria in EARS notation for the same reason.

Complete-but-minimal comes second. The Uvik benchmark’s eight-item checklist asks for a goal, a scope, the inputs and outputs, the data changes, the edge cases, the acceptance tests, the constraints and a list of things the change must not touch. Eight items is the whole list. Reviewers read them in one sitting or not at all.

Decision-bearing comes third. A decision-bearing sentence records a choice a reviewer must honour, or a condition that proves done. That is what makes attribution possible: when a reviewer finds a problem, they can name the clause it violates. In a small pilot, five reviewers given specifications traced 81% of their findings to a named clause, where code-only reviewers could not do that at all, because there was no named clause to cite.

The boilerplate pole is easy to spot once you know what to look for. One Spec Kit test produced 689 lines of code alongside 2,577 lines of Markdown describing it. That documentation costs your business in maintenance from the day it lands. A sentence earns its place if it records a decision a reviewer must honour, or a condition that proves done. If it records neither, cut it.

One structural habit keeps specs short. Shared non-functional rules, architecture, security and testing standards belong in a constitution file that every spec inherits, which is the split specification governance describes.

What is second-codebase decay, and why do specs drift out of sync?

Writing a good spec is only the first half. The second is keeping it good, because a spec goes stale as soon as the code underneath it changes. Second-codebase decay is what happens when a spec restates the code’s logic and then diverges from it. You end up with two descriptions of the same system, and only the code gets tested. A spec is a cache of your intent, a fast copy of what you want, kept where an agent can read it, and every cache goes stale unless something updates it.

The mechanism is mundane. Code changes constantly in response to tests and bugs. The spec changes when a human remembers. Most PRDs in your business are accurate the day they’re approved, then every discovery that alters the plan lands in a pull request thread or a ticket comment instead, and by release the document describes intent from a few weeks back.

Drift is worse than having no spec at all. A stale document can produce confident, well-structured code for a version of the product that no longer exists, and new contributors get misled by it. An empty cache is merely slow.

The fix is governance. There are three maturity levels and most teams should sit in the middle one: spec-first (written, set aside, decays fastest), spec-anchored (kept and updated as the feature evolves), and spec-as-source (code regenerated from the spec, which sidesteps drift but remains experimental). Version specs with the code, freeze them once implementation starts, and reconcile at fixed points such as the end of an epic. Automated checks help, though no tool yet reliably finds semantic divergence between a spec and the code claiming to implement it. A person still runs the reconciliation on a schedule, which is the argument in why review moves to the plan.

How do I assess whether my team’s specs are good enough?

The question is whether a spec would pass the checklist before an agent reads it. The benchmark behind the checklist gives a clear threshold: specs covering six or more of the eight items merged 89.3% of tickets, against 60.0% for the rest. That same benchmark logged 0.46 defects per merged ticket on spec workflows versus 0.86 without, and the frameworks wrote a median of 128 lines of Markdown per ticket, with the merge rate tracking how many of the eight items a spec covered.

The same benchmark also draws the line on when a spec is worth writing at all. On tickets touching one or two files, the best spec workflow merged 85% and the no-spec control merged 85% too, so the rigour only pays for itself on larger work. The Spec Fit Test captures that line: a spec earns its cost when at least three of six conditions hold, such as touching three or more files, crossing a module or service boundary, or altering a schema or public API. Below that, the ticket text and acceptance criteria are enough. The targeting rule is covered in detail elsewhere.

Then there is the human review. Agents draft specs well and find gaps in them well, but they are poor owners of intent, as one product leader at Odevo puts it. The two-pass pattern works because the agent drafts the structure and a person refines it before any code. In that pass, a person catches the ambiguities that would have become bugs regardless of who wrote the code.

GitHub Spec Kit vs Amazon Kiro vs BMad: which fits an existing codebase?

Once you can judge a spec, the tooling question you opened with becomes answerable. Choose by one axis first: greenfield or brownfield. Greenfield lets you author the spec before the code exists. Brownfield hands you a codebase the spec must reverse-cover and reconcile with. That axis settles Spec Kit against Kiro. BMad sits off to the side, because you choose it for its process.

GitHub Spec Kit is the greenfield task pipeline, MIT-licensed and bring-your-own-agent. It imposes a fixed pipeline over Copilot, Claude Code, Cursor and others, and sits closest to the discipline most teams already have, since it assumes the spec comes first.

Amazon Kiro is the most brownfield-friendly of the three: a VS Code fork running on Amazon Bedrock, with specs stored in the repository beside the code and Sync Files marking tasks that already exist in your codebase. Spec and code share one editing surface, which is what an existing codebase needs. The trade is AWS lock-in, since model, spec and billing all sit inside AWS. In the benchmark it posted the cheapest run at $2.35 per merged ticket.

BMad Method is a methodology, and it simulates a small team of specialised agents, analyst, product manager, architect, developer and QA, each owning a stage of the same flow. It builds on the AI Unified Process (AIUP). You adopt it for a repeatable process over any specific tool. The process can run heavy, one trial produced 312 spec files for a simple retro-board app, so weigh that against the structure it buys.

In my experience, tool choice matters less than teams expect. The spec format and review discipline outweigh the brand, as the benchmark comparison of all three shows.

What is the GitHub Spec Kit lifecycle?

If the greenfield end of the axis points you to Spec Kit, you’re adopting a fixed sequence of stages. The lifecycle, as the official documentation lays it out, is Constitution, Specify, Clarify, Plan, Tasks, Implement, Validate. Each stage produces a Markdown artefact that feeds the next, with a person approving between stages.

Constitution holds the standing rules every spec inherits, the split covered earlier, so individual specs stay short. Specify captures requirements, scenarios and acceptance criteria. Clarify has the agent interview you to surface ambiguities, dependencies and edge cases. Plan translates intent into architecture, flows and constraints. Tasks breaks the work into implementation-ready units. Implement generates code and tests against those tasks, and Validate checks the output against the spec before anyone accepts it. Microsoft’s write-up of the loop describes it as more predictable and easier to scale, though it also notes adoption should be right-sized, so treat the stages as a menu you can choose from.

The grounding for all of this is the underlying spec-first loop. One caveat: because Spec Kit is files and prompts layered onto your existing agent, nothing compels a developer to run /specify.

Where do I find Spec Kit, Kiro, and BMad?

All three live at first-party sources. GitHub Spec Kit is at its open-source repository and official documentation, which lists 43 integration options. It’s MIT-licensed, works offline and behind firewalls, and it isn’t going to strand you on a vendor.

Amazon Kiro comes from AWS as an agentic IDE built on Amazon Bedrock, which is the lock-in dimension to weigh against its shared code-and-spec surface. BMad Method is distributed as a methodology, with its repository at github.com/bmad-code-org/BMAD-METHOD, and the AI Unified Process behind it at unifiedprocess.ai.

Follow those sources directly. Nothing here needs a third-party download or an aggregator’s opinion. If you want to see how this cluster fits together, you can trace from tooling back to the full picture.

The tooling was never the difficult part. A spec earns trust by recording decisions and done-when conditions, by surviving contact with a real codebase, and by being reconciled on a schedule.

Frequently Asked Questions

Is a longer spec always better?

No. A longer spec is usually worse. Length adds maintenance cost without adding decision value, and verbose boilerplate that restates the code is exactly what turns a spec into a second codebase. The benchmark is blunt: specs covering at least six of the eight checklist items merged 89.3% of tickets versus 60.0% otherwise, and none of that depended on volume. Cut any sentence that does not record a decision or a “done-when” condition.

How do I write acceptance criteria an agent can’t misread?

Write each criterion as a “done-when” condition, not a description. Use EARS form (WHEN a condition holds, THE SYSTEM SHALL do X) or Given/When/Then, so completion is checkable by both a human and an agent. The test is whether a reviewer could verify it without asking a clarifying question. Ambiguity here becomes a bug later, regardless of who writes the code, so this is the highest-leverage part of the spec.

When can I skip writing a spec?

Use the Spec Fit Test before authoring. Write a spec when at least three of six statements hold: the change touches three or more files, needs four or more acceptance criteria, crosses a boundary, changes a schema or API, spans multiple agents, or is regulated work. Below that, the overhead outweighs the benefit. The point is to spend the rigour where drift and misreads actually cost you, not on a one-line tweak.

Can an AI agent write the spec for me?

Yes, and it should. The two-pass workflow has the agent draft a structured spec from rough requirements, then a human reviews and refines before any code. The human pass catches the ambiguities that would become bugs regardless of who implements them. Authorise the build only after that refinement. The agent is fast at structure; the judgement about what must be honoured is still yours.

What belongs in the constitution file, and what stays in the spec?

Shared non-functional rules, architecture, security, and testing standards belong in the constitution, not repeated in every feature spec. The spec itself holds only what is specific to that feature: goal, scope, inputs and outputs, data changes, edge cases, acceptance criteria, constraints, and the no-change list. Splitting them keeps each spec short and keeps standing rules in one place where they are easy to update.

Can I use Spec Kit on an existing codebase?

Spec Kit leans greenfield. Its pipeline assumes you author the spec before the code exists, so on a brownfield project you would first have to reverse-cover or reconcile the spec against what is already there. It is not impossible, but it fights the tool’s grain. For an existing codebase, Kiro’s shared code-and-spec surface is usually the more natural start.

Do I need to be on AWS to use Kiro?

Kiro is Amazon’s agentic IDE, a VS Code fork that runs on Amazon Bedrock, so yes, AWS is part of the picture and there is a lock-in dimension to weigh. That is the trade for the brownfield-friendly shared code-and-spec surface and its strong cost-per-merged-ticket result ($2.35 in the Uvik benchmark). If you cannot accept AWS dependency, Spec Kit and BMad keep you vendor-neutral.

Is BMad a tool, a framework, or a methodology?

BMad is a methodology, not a standalone product. It is a structured AI prompt method built on the AI Unified Process (AIUP), with role-based agents for analyst, PM, architect, developer, and QA. You adopt it for the repeatable process, not the tooling, so it can sit on top of whichever agent or IDE you already use. It suits method-led teams that want a defined way of working rather than a specific pipeline.

How often should I reconcile my specs against the code?

Reconcile on a schedule, not by memory. Version specs alongside code, freeze them during implementation, and reconcile at fixed points such as the end of an epic, plus run structural drift checks between. The cadence matters less than making it a habit. Because the spec never auto-invalidates, only a scheduled reconciliation loop stops it going stale and steering work toward an old version of the system.

Does spec-driven development replace code review?

No. It moves review earlier, to the plan, but it does not remove it. The human still approves between Spec Kit stages and still refines the agent’s draft before any code is written. What changes is where the leverage sits: catching an ambiguity in the spec is far cheaper than catching it in a pull request. The spec makes review more effective; it does not make it optional.

What does “spec-as-source” mean, and is it ready?

Spec-as-source means the code is regenerated from the spec, so the two cannot drift because the spec is the single source of truth. It sidesteps second-codebase decay entirely, but it remains experimental. Most teams should not bet on it yet. The practical target for enterprise work is spec-anchored: keep the spec alongside the code, maintain it, and reconcile on schedule rather than regenerating everything.

Is it true that a drifted spec is worse than no spec at all?

Yes. A drifted spec is worse because it is trusted. Agents and reviewers read it as the current intent and silently steer work toward an old version of the system, compounding errors instead of flagging them. No spec at least makes the gap visible. That is why the fix is governance, not more documentation: govern intent, not implementation detail, and reconcile against the code on a schedule.

AUTHOR

James A. Wondrasek James A. Wondrasek

SHARE ARTICLE

Share
Copy Link

Related Articles

Need a reliable team to help achieve your software goals?

Drop us a line! We'd love to discuss your project.

Offices Dots
Offices

BUSINESS HOURS

Monday - Friday
9 AM - 9 PM (Sydney Time)
9 AM - 5 PM (Yogyakarta Time)

Monday - Friday
9 AM - 9 PM (Sydney Time)
9 AM - 5 PM (Yogyakarta Time)

Sydney

SYDNEY

55 Pyrmont Bridge Road
Pyrmont, NSW, 2009
Australia

55 Pyrmont Bridge Road, Pyrmont, NSW, 2009, Australia

+61 2-8123-0997

Yogyakarta

YOGYAKARTA

Unit A & B
Jl. Prof. Herman Yohanes No.1125, Terban, Gondokusuman, Yogyakarta,
Daerah Istimewa Yogyakarta 55223
Indonesia

Unit A & B Jl. Prof. Herman Yohanes No.1125, Yogyakarta, Daerah Istimewa Yogyakarta 55223, Indonesia

+62 274-4539660
Bandung

BANDUNG

JL. Banda No. 30
Bandung 40115
Indonesia

JL. Banda No. 30, Bandung 40115, Indonesia

+62 858-6514-9577

Subscribe to our newsletter