adzic-bdd
Skill3 starsChanged 3 months agoMITView on GitHub
Guide on applying Gojko Adzic's Specification by Example (BDD) principles. Use this skill to write new feature files, refine acceptance criteria, or evaluate existing Gherkin scenarios using the Adzic Index. Triggers on 'adzic', 'bdd', 'specification by example', 'gherkin', 'feature file'.
In this repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- agent-md-refactorSkill
- agent-muxSkill
- agent-role-impersonatorSkill
- agilquest-reservationsSkill
- ai-text-humanizerSkill
- architecture-decision-recordsSkill
- ast-grepSkill
- atacSkill
- aws-cliSkill
- bart-adversarial-reviewerSkill
- bddSkill
- branch-doctorSkill
- c4-architectureSkill
- c4Skill
- claude-sub-agentSkill
- codemap-config-setupSkill
- codemap-exploreSkill
- codemap-handoffSkill
- codemap-hub-safetySkill
- codemapSkill
- commitSkill
- copilot-sub-agentSkill
- daily-standupSkill
- daily-statusSkill
- debugSkill
- design-thinkingSkill
- doctorSkill
- docx-word-processorSkill
- farley-tddSkill
- forensicsSkill
- gemini-sub-agentSkill
- git-commit-formatterSkill
- git-forensicsSkill
- github-actions-permissionsSkill
- github-cliSkill
- git-repo-discoverySkill
- git-safety-guardrailsSkill
- harness-idpSkill
- humanizeSkill
- iteration-plannerSkill
- jira-issue-managerSkill
- justfile-assistantSkill
- kiro-sub-agentSkill
- lessons-learnedSkill
- lessonsSkill
- lisa-planning-agentSkill
- lovejoy-release-agentSkill
- lsp-code-analysisSkill
- macro-to-microSkill
- marge-product-agentSkill
- meeting-notesSkill
- mermaid-diagram-generatorSkill
- modern-cli-overridesSkill
- native-web-searchSkill
- obsidian-notetakerSkill
- outlook-headlessSkill
- pdf-document-processorSkill
- pi-sub-agentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
When authoring new .feature files or acceptance criteria, always adhere to these core principles:
- Distinctive: line 19
Living Documentation: Ensure the scenario acts as the definitive source of truth.
- Distinctive: line 22
Do not mix implementation design decisions into your scenario list.
- Very specific: line 46
Read the full reference spec at docs/reference/adzic-index.md.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Adzic Specification by Example (BDD)
This skill provides comprehensive guidance on writing, refining, and evaluating Behavior-Driven Development (BDD) specifications based on Gojko Adzic's Specification by Example.
Writing BDD Scenarios
When authoring new .feature files or acceptance criteria, always adhere to these core principles:
- Business-Readable: Speak the domain language, not developer jargon.
- Intention-Revealing: Focus on what and why, not how.
- Declarative: Describe state and business rules, avoid imperative UI clicks (e.g., no "click button A").
- Focused: One scenario tests one specific business rule.
- Living Documentation: Ensure the scenario acts as the definitive source of truth.
Crucial Pitfall (via Kent Beck's Canon TDD): Do not mix implementation design decisions into your scenario list. The Test List is behavioral analysis. There will be plenty of time to decide how the internals look later.
Note: For tactical guidance on keeping test abstractions clean and avoiding brittle dependencies, use the
test-design-reviewskill.
The Adzic Index Evaluator
A quantitative diagnostic tool that scores BDD .feature files against these principles. The companion to the Farley Index — together they cover the complete quality picture.
It shifts the question from "Do our scenarios pass?" to "Do our scenarios communicate the right thing to the right people?"
When to Use This Skill
| Trigger Scenario | Primary Dimension | Reason |
| Writing a new Feature Brief | Business-Readable | Verify non-technical stakeholders can read and confirm intent. |
| Planning an Epic | Living | Ensure all scenarios have executable step definitions. |
| Reviewing before a refactor | Intention-Revealing | Confirm scenarios won't break on internal implementation change. |
| Debugging brittle acceptance tests | Declarative | Expose UI-scripted steps that couple specs to the interface. |
| Pre-release quality audit | Living | No @pending scenarios at ship time. |
| Auditing inherited feature files | All six | Full health check of a legacy BDD suite. |
Instructions
- Read the full reference spec at
docs/reference/adzic-index.md. - Collect inputs (feature file path; optionally step definition path and VCS flag).
- Execute the evaluation protocol defined in the reference spec.
- Output the
adzic_index_score, per-dimensionmetrics,red_flags, andrecommendations. - Tailor depth of analysis to the requesting agent's role:
- Marge → focus on Business-Readable + Intention-Revealing (she writes the scenarios).
- Lisa → focus on Living + Focused (Epic readiness gate).
- Ralph → focus on Declarative + Living (step definition quality self-audit).
- Bart → full audit; use as adversarial evidence base for merge decisions.
- Lovejoy → focus on Living as a release go/no-go signal.
Relationship to the Farley Index
| Layer | Index | Question |
| BDD Specification | Adzic Index | Clear, executable, stakeholder-readable specification? |
| TDD Unit Test | Farley Index | Fast, honest, implementation-independent test? |
Target state: Both ≥ 7.0. This is "Clean Code that Works, clearly specified."
Triggers
- "adzic"
- "bdd"
- "specification by example"
- "write a feature file"
- "adzic index"
- "adzic-index"
- "BDD quality"
- "gherkin quality"
- "scenario quality"
- "feature file audit"
- "specification theatre"
- "living documentation"
- "acceptance criteria quality"
- "UI script theatre"
- "imperative gherkin"
- "are my scenarios any good"
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.

