bdd
Skill1 starsChanged 2 months agoMITView on GitHub
Benchmark-driven development, not behaviour-driven development. Settles a choice between solutions, or a claim about one, with runnable measurements instead of assertion.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- Dimon94/skillstheir own version, first seen Nov 29, 2026
- Dimon94/dveritytheir own version, first seen Nov 29, 2026
- Archont561/skillstheir own version, first seen Nov 15, 2026
- nivoset/skillstheir own version, first seen Nov 12, 2026
- AJschoons/robowrighttheir own version, first seen Nov 8, 2026
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
Used with
Projects with it also use atdd, sdd and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
swingermanSkillatdd
Use to drive feature work through the Acceptance Test Driven Development workflow — Given/When/Then specs before code, a project-specific test pipeline, and two parallel test streams (acceptance + unit). Triggers — "/atdd", "build a feature", "implement a feature", "add functionality", "start development", "write acceptance tests", "write specs", "use ATDD", "use TDD with acceptance tests".
Also in 3 projects that use this
liatrio-labsSkillsdd
Execute the Liatrio Spec-Driven Development (SDD) workflow when explicitly invoked by the user. NOTE: this skill is NOT intended to be dynamically loaded or automatically triggered; it should only ever be explicitly called by the user.
Also in 3 projects that use this
anombyte93Skilldiscover
Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
MicrosoftSkillwriting-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
Also in 4 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
- +1 more from microsoft
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- Dimon94/dverity★ 107same name
- Dimon94/skills★ 107same name
- AsiaOstrich/universal-dev-standards★ 86same name
- Yassimba/loom★ 13same name
- Marvellbrazil/my-agentic-skills★ 5same name
- AsiaOstrich/EngramGraph★ 4same name
- clivejefferies/skills★ 4same name
- danielsogl/skills★ 4same name
- nivoset/skills★ 4same name
- TashanGKD/cc_plugins★ 4same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 19 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
19
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
If you are a Haiku model, stop now and recommend the user reruns this with Sonnet or Opus.
- Distinctive: line 15
If no question is given above, take it from the conversation.
- Distinctive: line 20
Reproducible: Every test is a file a human can run with one command.
- Very specific: line 70
Do not start. If the decision is small, do not suggest it either: state any unmeasured claim as an assumption and carry on.
- Distinctive: line 87
Write nothing outside the set's directory.
- Distinctive: line 88
If a candidate needs code, build it as a prototype inside the set's directory.
- Distinctive: line 94
only candidates that are real contenders, usually two or three
- Distinctive: line 95
only metrics named in the decision criteria
- Distinctive: line 97
only as many repeats as the noise needs
- Distinctive: line 102
Write the log with every heading from The log below, leaving Results and Decision made empty.
- Distinctive: line 117
Test data: Ask whether real-world examples exist.
- Distinctive: line 120
Language: Use the project's language.
- Distinctive: line 136
Run the command exactly as written in the log, and paste its output into Results unedited.
- Distinctive: line 139
Stop and ask the user, instead of working around it, when:
- Distinctive: line 143
no candidate meets the criteria
- Distinctive: line 147
If the criteria or method must change, the user decides, and the log records what changed and why.
- Distinctive: line 160
Never commit. Suggest a one-line commit message instead.
- Distinctive: line 164
Write for an experienced developer or agent who was not in the conversation.
- Distinctive: line 165
Keep it clear, concise, and easy to follow, but explicit: give exact values, not descriptions.
- Distinctive: line 195
Add headings when the set needs them, such as "Changes to the plan", but keep these six.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Benchmark-driven development
If you are a Haiku model, stop now and recommend the user reruns this with Sonnet or Opus.
Question: $ARGUMENTS
If no question is given above, take it from the conversation.
Apply the scientific method to a design decision and show the working, so the answer rests on measurements a human can rerun, not on assertion.
- Reproducible. Every test is a file a human can run with one command.
- Grounded. The decision comes from measured data, never from guesswork.
- Clear. The log records the plan, process, and results, so the decision can be reviewed or re-assessed at any time.
A benchmark without a decision attached is a hobby.
When to reach for it
A benchmark set costs real time and tokens. Reach for it only when a decision worth that cost would otherwise rest on reputation, intuition, or "it is well known that". A decision is worth it when it is architectural, hard to reverse, touches a lot of code or data, or others will rely on it. Typical questions, when the decision is that big:
- Speed. Which algorithm, data structure, or library is faster here? Does vectorising, caching, memoising, or compiling (numba, Cython, Rust) pay off?
- Concurrency. Threads, processes, or async? How many workers? What batch or chunk size?
- Data and I/O. Which file format, compression codec and level, or serialiser? Streaming or loading into memory? Does this index or query rewrite help? Bulk or row-by-row inserts?
- Memory and size. Peak memory, dtype choices, generators against lists, memory-mapping, and disk, image, or bundle size.
- Scale. Does it still work at 10x or 100x the data, and where does it break? Does the claimed big-O show up in practice?
- Network. Batching, connection pooling, timeouts, and retry or backoff settings.
- Developer time. Startup and import time, build time, test suite time, and CI caching.
- Correctness and accuracy. float32 against float64, approximate against exact algorithms, and a regex against a parser on real samples.
- Reliability. Is it flaky or deterministic? Is output identical across runs, platforms, or versions?
- Cost. Cloud spend, API calls, or tokens per run.
- Regressions. Did a refactor, optimisation, or dependency upgrade make anything worse?
It is not for:
- small, local choices, such as how to write one function or a default that is trivial to change later
- cheaply reversible changes, where trying it is quicker than planning it
- questions one quick timing answers. Run that instead, and state the number and how it was measured.
- decisions where no measurable difference matters
- questions already measured on comparable data
If the user did not type /bdd
Do not start. If the decision is small, do not suggest it either: state any
unmeasured claim as an assumption and carry on. Otherwise say in one line that
this could be settled by measuring, name the question you would answer, and
suggest /bdd. Wait for a yes.
Where everything goes
Each benchmark set gets its own directory in .bdd/ at the root of the
repository or project. Create .bdd/ if it does not exist.
.bdd/
YYYY-MM-DD-<name>/ # <name> is short and descriptive, e.g. csv-vs-parquet
<name>.md # the log
... # benchmark files and data generatorsWrite nothing outside the set's directory. Never edit the project's own code. If a candidate needs code, build it as a prototype inside the set's directory.
Stage 1: Plan, then stop
Plan the fewest tests that reach the decision, and nothing more:
- only candidates that are real contenders, usually two or three
- only metrics named in the decision criteria
- the smallest data that shows the difference at the scale that matters
- only as many repeats as the noise needs
- one script, unless the candidates are architectures or designs
List anything left out under Method as "not measured", with the reason.
Write the log with every heading from The log below, leaving Results and Decision made empty. Fill in:
- The problem. What is being decided, and why it matters.
- Candidates. Two or more, each with a hypothesis of how it will perform and why.
- Decision criteria. Measurable, with thresholds or a ranking, for example "fastest median, unless its file is over 2x the smallest". If the criteria are unclear, or there is a trade-off between metrics, ask the user until they are specific.
- Method. Recommend how to measure, with a one-line reason tied to this problem, and list any real alternatives. Timings usually need a warm-up and repeats, reported as median and spread. Deterministic metrics, such as file size or accuracy on fixed data, usually need one run. Say what difference counts as noise, and so as a tie.
- Test data. Ask whether real-world examples exist. If not, generate dummy data with a seeded script in the set's directory, so reruns match. State the sizes used.
- Language. Use the project's language. If it is obscure or hard to benchmark in, you may suggest Python instead, with the reason.
- Files and command. The files you will create and the command that runs them. Use one file per candidate only when comparing architectures or designs. Otherwise use one script.
Show the user the plan and stop for approval. Once approved, the criteria and method are locked.
Stage 2: Build and run
- Python files are PEP 723 scripts run with
uv run, and follow the script rules in the python-tooling skill. Other languages use their native tooling. - The output must make the winner obvious. Print a table with one row per candidate, one column per criterion, and the winner marked.
- Record the machine, OS, and language and library versions in Method.
- Run the command exactly as written in the log, and paste its output into Results unedited.
Stop and ask the user, instead of working around it, when:
- a candidate fails to run or produces wrong output
- the result is a tie under the method's noise threshold
- no candidate meets the criteria
- a result suggests the setup itself is flawed, such as dummy data that does not resemble the real case
If the criteria or method must change, the user decides, and the log records what changed and why.
Stage 3: Decide
Apply the locked criteria to the results and write Decision made: the winner, which criteria decided it, and whether each hypothesis held. Then report to the user:
- the decision, in one sentence
- the path to the log
- the command to rerun the benchmarks
Never commit. Suggest a one-line commit message instead.
The log
Write for an experienced developer or agent who was not in the conversation. Keep it clear, concise, and easy to follow, but explicit: give exact values, not descriptions. Someone must be able to reproduce the experiment from the log alone, so record:
- exact commands, flags, and options, such as
usecolsor a compression codec - data sizes, seeds, and how the data was generated or where it came from
- repeat counts, warm-up runs, and the noise threshold
- the machine, OS, and exact language and library versions
- anything held fixed or deliberately not measured
# <Question as a title>
## The problem
## Potential solutions & hypothesis
## Decision criteria
## Method
<how it is measured, and why>
<the machine, OS, and versions>
<the command to run it>
## Results
## Decision madeAdd headings when the set needs them, such as "Changes to the plan", but keep these six.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

