bdd-practice
Skill4 starsChanged 5 months agoApache-2.0View on GitHub
Applies behaviour-driven development with business-readable scenarios linked to executable acceptance tests. Use when defining externally visible behaviour, acceptance criteria, or user-facing workflows before implementation.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibility-wcagSkill
- agentic-ux-patternsSkill
- ai-model-governanceSkill
- api-design-and-lifecycleSkill
- apply-laws-of-aiSkill
- browser-testing-with-devtoolsSkill
- business-capability-modelingSkill
- business-information-concept-modelingSkill
- capability-maturity-assessmentSkill
- cdc-and-source-to-stream-ingestionSkill
- ci-cd-and-automationSkill
- cloud-platform-architectureSkill
- code-review-and-qualitySkill
- cognitive-bias-reviewSkill
- conceptual-data-modelingSkill
- context-engineeringSkill
- data-contract-designSkill
- data-governance-and-qualitySkill
- data-integration-and-interoperabilitySkill
- data-lifecycle-and-retention-managementSkill
- data-lineage-and-provenanceSkill
- data-product-dashboard-designSkill
- data-product-designSkill
- data-security-and-privacy-architectureSkill
- ddd-practiceSkill
- deprecation-and-migrationSkill
- design-system-practiceSkill
- documentation-and-adrsSkill
- dora-four-keysSkill
- dry-principleSkill
- eip-integration-validationSkill
- evaluation-and-monitoringSkill
- event-driven-architectureSkill
- event-governance-and-lineageSkill
- event-modelingSkill
- event-streaming-platform-designSkill
- exception-handling-and-recoverySkill
- finops-practiceSkill
- frontend-state-and-interaction-designSkill
- git-workflow-and-versioningSkill
- goal-setting-and-monitoringSkill
- guardrails-safety-patternsSkill
- human-in-the-loopSkill
- idea-refinementSkill
- incident-response-and-postmortemsSkill
- incremental-implementationSkill
- infrastructure-as-codeSkill
- integration-message-constructionSkill
- inter-agent-communication-a2aSkill
- kiss-principleSkill
- knowledge-graph-ragSkill
- knowledge-retrieval-ragSkill
- krag-evaluation-governanceSkill
- krag-ingestion-graph-constructionSkill
- krag-retrieval-answeringSkill
- krag-system-designSkill
- lakehouse-and-medallion-architectureSkill
- learning-and-adaptationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill when the task involves user journeys, acceptance criteria, cross-role collaboration, product behaviour, APIs, workflows, …
- Distinctive: line 27
Keep scenario language aligned with the domain vocabulary and DDD ubiquitous language where applicable.
- Distinctive: line 28
Run acceptance tests and report evidence.
- Distinctive: line 45
Do not use BDD scenarios as vague documentation.
- Distinctive: line 46
Do not expose internal implementation details in scenario steps.
- Distinctive: line 47
Avoid combinatorial explosion.
- Distinctive: line 48
Keep business terminology consistent across scenarios, code and documentation.
- Distinctive: line 49
When scenarios reveal ambiguity, stop and ask for clarification or encode the assumption explicitly.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Behaviour-Driven Development (BDD)
When to use
Use this skill when the task involves user journeys, acceptance criteria, cross-role collaboration, product behaviour, APIs, workflows, domain rules, or tests that must be understandable by business and technical stakeholders.
Objective
Translate requirements into clear, testable behaviour using examples. Ensure implementation satisfies externally visible outcomes rather than internal design assumptions.
Procedure
- Identify the actor, goal, business rule, preconditions and expected outcome.
- Express behaviour as concrete examples, preferably in Given/When/Then form.
- Separate acceptance scenarios from implementation details.
- Cover the main success path, meaningful alternatives, boundary cases and failure paths.
- Automate scenarios where practical using the repository's acceptance-test framework.
- Implement only the behaviour required to satisfy the scenarios.
- Keep scenario language aligned with the domain vocabulary and DDD ubiquitous language where applicable.
- Run acceptance tests and report evidence.
Scenario format
Feature: <capability>
Scenario: <specific behaviour>
Given <initial context>
And <relevant precondition>
When <action or event>
Then <observable outcome>
And <important postcondition>Rules
- Do not use BDD scenarios as vague documentation; they must be specific enough to verify.
- Do not expose internal implementation details in scenario steps.
- Avoid combinatorial explosion; use representative examples and supplement with lower-level tests.
- Keep business terminology consistent across scenarios, code and documentation.
- When scenarios reveal ambiguity, stop and ask for clarification or encode the assumption explicitly.
Related skills
spec-driven-development— spec before scenariostdd-practice— executable tests from scenariosddd-practice— domain language in scenarios
References
Verification
- Scenarios added or updated in business-readable form.
- Acceptance tests run with results stated.
- Implemented behaviour matches scenarios.
- Stakeholder confirmation gaps noted.
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.

