write-bdd
星标10
分支0
更新时间2026年1月26日 18:58
Convert plain English requirements into Gherkin BDD scenarios
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Convert plain English requirements into Gherkin BDD scenarios
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate monthly board meeting agenda
Process violation through escalation workflow
Generate detailed acceptance criteria from a feature description
Generate a comprehensive epic with child stories from a feature description
Generate late fee report with compound interest calculations
Generate a well-structured user story from a plain English description
| name | write-bdd |
| description | Convert plain English requirements into Gherkin BDD scenarios |
| argument-hint | <requirement> |
Convert this requirement into well-structured Gherkin BDD scenarios:
$ARGUMENTS
Generate a complete Gherkin feature file:
Feature: [Feature Name]
As a [role]
I want [capability]
So that [benefit]
Background:
Given [common preconditions shared by all scenarios]
@happy-path
Scenario: [Descriptive scenario name - success case]
Given [initial context]
And [additional context if needed]
When [action taken]
And [additional action if needed]
Then [expected outcome]
And [additional verification]
@edge-case
Scenario: [Edge case description]
Given [context]
When [action]
Then [outcome]
@error-handling
Scenario: [Error scenario description]
Given [context that will cause error]
When [action attempted]
Then [error handling behavior]
And [user feedback]
@validation
Scenario Outline: [Parameterized test description]
Given [context with <parameter>]
When [action with <input>]
Then [outcome with <expected>]
Examples:
| parameter | input | expected |
| value1 | val1 | result1 |
| value2 | val2 | result2 |
Include scenarios for:
Use tags to categorize:
@happy-path - Success scenarios@edge-case - Boundary conditions@error-handling - Failure scenarios@smoke - Critical path tests@regression - Full test suite