Helps write testable requirements in Gherkin format.
Purpose
Converts vague requirements into testable Given/When/Then format.
When to Use
Use this skill when:
Requirements are not testable
Acceptance criteria missing
Need to improve requirement quality
Workflow
Identify — Find requirements that need Gherkin format
Transform — Convert to Given/When/Then
Validate — Check if testable
Example — Provide concrete examples
Inputs
Requirements text
Context about the feature
Output Contract
Returns Gherkin-formatted requirements:
Given [context]
When [action]
Then [outcome]
Example
Input:
"System should be fast"
Output:
Given: User is on checkout page with 10 items in cart
When: User clicks "Place Order" button
Then: Order is processed within 3 seconds (p95)
And: Order confirmation page displays
And: User receives email confirmation
Best Practices
Specific: Concrete context and actions
Testable: Binary pass/fail
Measurable: Include thresholds where applicable
Complete: Include all relevant outcomes
1---2name: shokunin-gherkin3description: Shokunin Gherkin Skill4---5# Shokunin Gherkin Skill67Helps write testable requirements in Gherkin format.89## Purpose1011Converts vague requirements into testable Given/When/Then format.1213## When to Use1415Use this skill when:16- Requirements are not testable17- Acceptance criteria missing18- Need to improve requirement quality1920## Workflow21221. **Identify** — Find requirements that need Gherkin format232. **Transform** — Convert to Given/When/Then243. **Validate** — Check if testable254. **Example** — Provide concrete examples2627## Inputs2829- Requirements text30- Context about the feature3132## Output Contract3334Returns Gherkin-formatted requirements:35```36Given [context]37When [action]38Then [outcome]39```4041## Example4243**Input**:44```45"System should be fast"46```4748**Output**:49```50Given: User is on checkout page with 10 items in cart51When: User clicks "Place Order" button52Then: Order is processed within 3 seconds (p95)53And: Order confirmation page displays54And: User receives email confirmation55```5657## Best Practices5859- **Specific**: Concrete context and actions60- **Testable**: Binary pass/fail61- **Measurable**: Include thresholds where applicable62- **Complete**: Include all relevant outcomes
Run npx skillmds@latest add vstakhovsky/shokunin-gherkin in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Shokunin Gherkin Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
vstakhovsky (@vstakhovsky) published this skill. Their other Agent Skills are listed on their SkillMD profile.