← ClaudeAtlas

bdd-scenario-generatelisted

Generates executable BDD scenarios from an abstract test-case document (TC-IDs plus behaviors) per spec/project/behavior-driven-development/, emitting English Gherkin `.feature` files and thin `pytest-bdd` step-definition skeletons that honor the page-object decoupling contract of spec/project/bdd-page-object-integration/ (thin steps delegate down, assertions only in the `Then` binding). Groups cases into Features, one Scenario per TC-level behavior, precondition/action/result mapped to Given/When/Then, `@TC-<id>` tags for traceability. Runs an advisory `lektorat-apply` audit over the scenario wording and emits a work-package list for any page-object or app change instead of touching it. Invoke to turn a test-case document into runnable BDD/Gherkin scenarios; also German. Don't derive the cases (test-case-extractor), scaffold a full E2E suite (e2e-test-generator), or audit the scenarios (bdd-scenario-reviewer). Supports resume.
nolte/claude-shared · ★ 0 · Testing & QA · score 74
Install: claude install-skill nolte/claude-shared
# BDD Scenario Generate Turn an abstract **test-case document** into **executable BDD scenarios**: English Gherkin `.feature` files plus thin `pytest-bdd` step-definition skeletons, with end-to-end `@TC-<id>` traceability. This skill applies the ordered derivation workflow of `spec/project/behavior-driven-development/` and emits step glue that honors the decoupling contract of `spec/project/bdd-page-object-integration/`. It **consumes** cases; it never re-derives them, and it never touches page objects or application code. Implements `spec/project/behavior-driven-development/` §"From test-case document to executable scenarios" and `spec/project/bdd-page-object-integration/` §"The step-as-glue contract". Those specs own the discipline; this skill binds it to the on-disk procedure and owns the emission, the advisory wording review, and the work-package handoff. When this skill and either spec disagree, the spec wins and this skill needs the update. ## German trigger phrases This skill also triggers on equivalent German-language requests, including: - "BDD-Szenarien generieren" / "Gherkin-Szenarien aus den Testfällen erzeugen" - "Feature-Dateien aus dem Testfall-Dokument ableiten" - "Given-When-Then-Szenarien mit Step-Gerüst erzeugen" ## User-language policy Detect the user's language from their message and respond in it. The emitted `.feature` files and their step docstrings are **English-only** regardless of the consuming repository's language (see Hard rules); prose ar