Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By yi-luanv2.2.0MITIn 1 marketplace
Turns a requirement into Gherkin feature files, step definitions and TDD-built code, with you answering every open question. Needs Node.js 18+, a git repository and a BDD test runner declared in architecture-manifest.md; it says it has been run end to end with cucumber-js.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
spec-driven-development, bdd, gherkin, tdd, cucumber, requirements, drift-detection, test-stubs
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
English · 繁體中文
Coding agents fail in two well-documented ways.
Specification-driven tools such as GitHub Spec Kit and Kiro address the first problem by writing a specification before coding. The agent then derives the tests from that specification largely on its own, and nothing locks the specification or the tests while the code is written.
SpecEngine does not translate a natural-language specification into tests in one move. It refines the requirement through six levels, from the stakeholder's words down to test code. Each level is a file you can read, each answers one question, and each is checked before the next one is written.
| Level | Artifact | Question it answers | Checked by |
|---|---|---|---|
| 1 | Natural-language requirement | What does the stakeholder want? | Human |
| 2 | Rule matrix | Under which precondition, on which trigger, must the system do what? | Human answers every open question; feature-lint.js checks the structure |
| 3 | Flow diagrams | Do the rules together cover every branch? | Human confirms; any gap goes back to level 2 |
| 4 | Gherkin scenarios and example tables | What are the concrete cases for each rule? | feature-lint.js: one-to-one rule coverage; every example row must follow from the matrix |
| 5 | Step sentences and driver interface | Which system operation does each sentence drive? | In driver mode every @binds must point to a real driver method; sentences are frozen |
| 6 | Step implementations and product code | How is it done? | Tests go from red to green while levels 2 to 5 stay byte-for-byte unchanged |
Refining in levels gives two things a one-step translation cannot:
None of the ideas underneath SpecEngine is new on its own. Its contribution is turning them into one working toolchain for AI coding agents.
| Idea | Source | Where it lives in SpecEngine |
|---|---|---|
| Stepwise refinement | Wirth, Program Development by Stepwise Refinement, 1971 | The six levels above |
| Preconditions and postconditions | Hoare, An Axiomatic Basis for Computer Programming, 1969 | Each rule in the matrix is a precondition, a trigger and a postcondition |
| Behaviour-driven development and specification by example | North, 2006; Adzic, 2011 | Gherkin scenarios with example tables as the executable level |
| Test-driven development | Beck, 2002 | Every test starts red; code is written until it turns green |
On top of that foundation SpecEngine adds two rules that classic refinement never needed, because its refiner was a human:
7-day copy clicks
npx claudepluginhub yi-luan/specengine-plugin --plugin specengineBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground