一键导入
parsing-gherkin-scenarios
Use when validating BDD feature files - extract scenarios, detect chunk filtering mode, classify positive vs negative scenarios
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when validating BDD feature files - extract scenarios, detect chunk filtering mode, classify positive vs negative scenarios
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Coaching Agent — validate and execute @regression scenarios for the Baseline Assessment (baseline-assessment.feature) and the Module-Based Training Journey (training-flow.feature) against the app. Logs in first, runs only @regression scenarios (ignoring @smoke/@sanity/@wip/untagged), captures evidence, and generates a regression report. Trigger with /coaching-agent.
Generate complete BDD/Gherkin test cases for the coaching platform from a scenario description or file.
Mandatory SDLC workflow for new features, bug fixes, refactors, architecture changes, API changes, database changes, UI changes, tests, and deployment-related work. Use before implementation.
Use when producing final IDD validation output - create markdown table with scenario findings, assign PASS/PARTIAL/FAIL verdict, follow schema exactly
Use when IDD scenario is not COVERED - trace code line-by-line to find what the code ACTUALLY does, not what it should do
Use when validating IDD scenarios - map each scenario's steps to specific implementation locations in scope-bounded source files
| name | parsing-gherkin-scenarios |
| description | Use when validating BDD feature files - extract scenarios, detect chunk filtering mode, classify positive vs negative scenarios |
Parse .feature files and structure scenarios for validation. Detect @chunk mode (run subset) vs full (all scenarios). Classify each scenario by type (@positive, @negative, or untagged) and extract step details (Given/When/Then).
.feature file for analysis| Finding | Behavior |
|---|---|
Any @chunk tag found | Mode = "chunk" → retain ONLY @chunk scenarios |
No @chunk tags | Mode = "full" → retain all scenarios |
Log result: "Mode: [chunk|full] | X scenarios retained"
For every retained scenario, extract:
{
"name": "exact scenario name from file",
"type": "positive | negative | untagged",
"tags": ["@chunk", "@positive", "@negative"],
"steps": {
"given": ["step text"],
"when": ["step text"],
"then": ["step text"]
},
"is_chunk": true,
"raw_text": "full scenario block verbatim"
}
Every scenario must have @positive OR @negative tag:
@chunk filtering is the FIRST operation — before parsing, before any analysis@chunk scenarios are INVISIBLE. Do not count, reference, or analyze them.Structured scenario list ready for scope-resolver and code-mapper.