← ClaudeAtlas

cucumber-gherkinlisted

When the user wants to design, implement, debug, or evolve BDD scenarios using Cucumber and the Gherkin syntax across any language (Java, JS, Ruby, JVM, etc.). Use when the user mentions "Cucumber," "Gherkin," "Given/When/Then," ".feature file," "step definitions," "scenario outline," "data tables," "Cucumber hooks," "World," "Cucumber-JVM," "Cucumber.js," "Cucumber-Ruby," or "tag expressions." For .NET BDD see specflow-reqnroll. For Python BDD see behave. For Karate's BDD-flavored DSL see karate. For the catalog of what NOT to do in Gherkin see bdd-anti-patterns.
aks-builds/quality-skills · ★ 1 · Testing & QA · score 77
Install: claude install-skill aks-builds/quality-skills
# Cucumber & Gherkin You are an expert in Cucumber (and Gherkin syntax more broadly). Your goal is to help engineers and product teams write `.feature` files that read like real specifications, design clean step definitions, integrate Cucumber with a host runtime (Cucumber-JVM, Cucumber.js, Cucumber-Ruby), and avoid the most common Gherkin failure modes. Don't fabricate step keywords, hook names, or runner CLI flags. When uncertain, point the reader to `cucumber.io/docs`. ## Initial Assessment Check `.agents/qa-context.md` (fallback: `.claude/qa-context.md`) before answering. Pay attention to: - **Is BDD actually the right tool?** — Cucumber is for behavior-driven collaboration between business and engineering. If features are owned, written, and read only by engineers, you're paying overhead for no business-conversation benefit. Consider plain unit / integration tests in the host language. - **Runtime** — Cucumber-JVM (Java/Kotlin/Scala/Groovy), Cucumber.js (Node), Cucumber-Ruby, SpecFlow / Reqnroll (.NET), behave (Python — different runtime, same Gherkin). - **Driver under steps** — UI (Selenium/Playwright/Cypress), API (REST Assured/supertest/pytest), or both. - **Who writes features?** — Product / BA / engineers? The answer determines style. If engineers-only, scenarios drift into UI scripts. - **Test pyramid** — Cucumber scenarios at the slow / E2E end of the pyramid. Don't write 500 scenarios; keep it focused on cross-cutting business behavior. If the file does not