一键导入
formulating-gherkin
Use when writing or reviewing Gherkin features, especially after discovering examples or edge cases that reveal a new business rule
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when writing or reviewing Gherkin features, especially after discovering examples or edge cases that reveal a new business rule
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | formulating-gherkin |
| description | Use when writing or reviewing Gherkin features, especially after discovering examples or edge cases that reveal a new business rule |
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.
Use when a feature feels under-tested, after implementing new functionality, or before a release to discover edge cases, UX issues, and bugs through hands-on CLI exploration
Use when running yx commands that create, modify, or delete yaks outside of real project work — provides an isolated temp environment
Pick up ready leaf yaks and implement them — dispatch subagents in isolated worktrees, then merge back to main
Prepare a yak for implementation by establishing spec, acceptance criteria, and breaking into sub-yaks
Discover work structure by approaching goals and finding blockers — emergent planning through action, not top-down decomposition
Use when a yak needs requirements, examples, and a plan before implementation - prepares a yak so it's ready for subagent-driven development