skills/formulating-gherkin/SKILL.md
Use when writing or reviewing Gherkin features, especially after discovering examples or edge cases that reveal a new business rule
npx skillsauth add mattwynne/yaks formulating-gherkinInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When examples reveal a rule, make the rule visible in the feature file.
Group related scenarios under a Rule: keyword that states
the rule they illustrate.
Rule: Manual blockers replace the existing manual blocker
Scenario: Adding another manual blocker updates the reason
Given I add the yak "deploy"
And I add manual blocker to "deploy" with reason "waiting on vendor"
When I add manual blocker to "deploy" with reason "waiting on review"
Then the JSON yak "deploy" should have exactly one manual blocker with reason "waiting on review"
Rule: for a business/domain rule, not an implementation mechanism.Rule:.Rule: section.Rule: groups over one long pile of loosely related scenarios.A feature with many scenarios and no Rule: sections is probably hiding the acceptance criteria. Extract the rules and group the scenarios around them.
databases
Use when running yx commands that create, modify, or delete yaks outside of real project work — provides an isolated temp environment
documentation
Use when starting work on a yak - sets up an isolated git worktree, reads yak context, and guides the full cycle from claiming through merge and cleanup
development
Use when planning work by approaching goals and discovering blockers, before creating comprehensive plans
development
Use when evaluating the ubiquitous language in a codebase - produces a glossary of domain terms with references and commentary on inconsistencies, awkward names, or overlapping concepts