Skip to content

Commit b19d8d9

Browse files
raifdmuellerclaude
andcommitted
feat: extend Specification contract with Cockburn Use Cases + EARS
- Anchors: added cockburn-use-cases and ears-requirements - Template: Use Cases now explicitly reference Cockburn's Fully Dressed format at User Goal level; EARS syntax added for individual requirements. Activity Diagrams and Gherkin retained as complementary representations (Cockburn does not prescribe these). - Global CLAUDE.md updated to match. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6f9a34b commit b19d8d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/public/data/contracts.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"titleDe": "Spezifikation",
66
"description": "What we mean when we say 'spec'",
77
"descriptionDe": "Was wir meinen, wenn wir 'Spec' sagen",
8-
"anchors": ["gherkin", "bdd-given-when-then"],
9-
"template": "When we talk about a \"specification\" or \"spec\", we mean:\n- Use Cases with Trigger, Main Flow, Alternative Flows, Postconditions, and Business Rules (BR-IDs)\n- Activity Diagrams for all flows (not just the happy path)\n- Acceptance criteria in Gherkin format (Given/When/Then)",
10-
"templateDe": "Wenn wir von einer \"Spezifikation\" oder \"Spec\" sprechen, meinen wir:\n- Use Cases mit Trigger, Hauptablauf, Alternativabläufe, Nachbedingungen und Geschäftsregeln (BR-IDs)\n- Activity Diagrams für alle Abläufe (nicht nur der Happy Path)\n- Akzeptanzkriterien im Gherkin-Format (Given/When/Then)",
8+
"anchors": ["cockburn-use-cases", "gherkin", "bdd-given-when-then", "ears-requirements"],
9+
"template": "When we talk about a \"specification\" or \"spec\", we mean:\n- Use Cases in Cockburn's Fully Dressed format (Primary Actor, Trigger, Main Success Scenario, Extensions, Postconditions) at User Goal level, with Business Rules (BR-IDs)\n- Activity Diagrams for all flows (not just the happy path)\n- Acceptance criteria in Gherkin format (Given/When/Then)\n- Individual requirements in EARS syntax where applicable (When/While/If/Shall)",
10+
"templateDe": "Wenn wir von einer \"Spezifikation\" oder \"Spec\" sprechen, meinen wir:\n- Use Cases im Cockburn Fully Dressed Format (Primary Actor, Trigger, Main Success Scenario, Extensions, Nachbedingungen) auf User-Goal-Ebene, mit Geschäftsregeln (BR-IDs)\n- Activity Diagrams für alle Abläufe (nicht nur der Happy Path)\n- Akzeptanzkriterien im Gherkin-Format (Given/When/Then)\n- Einzelanforderungen in EARS-Syntax wo passend (When/While/If/Shall)",
1111
"category": "requirements"
1212
},
1313
{

0 commit comments

Comments
 (0)