Generate Gherkin scenarios from an orchestra PRD or spec — produces Feature/Scenario blocks in fenced gherkin markdown. Use when translating acceptance criteria or implementation steps into executable BDD scenarios.
Ships in orchestra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate Gherkin scenarios from an orchestra work item. Reads either a PRD or spec and produces a gherkin.md file alongside it.
SOURCE: $ARGUMENTS
If $ARGUMENTS is a file path, read it directly.
If $ARGUMENTS is a work item name, look for it in .orchestra/work/:
.orchestra/work/<name>/prd.md
.orchestra/work/<name>/spec.md
Prefer spec.md if both exist — it has more concrete implementation detail. If only prd.md exists, use that.
If no path or name is provided, STOP and ask the user to provide one.
From a PRD — extract:
@wip or @out-of-scopeFrom a spec — extract:
Write the output file in the same directory as the source file:
spec.md → write gherkin-spec.mdprd.md → write gherkin-prd.mdOutput format:
# Gherkin Scenarios: <Feature Name>
> Source: <relative path to PRD or spec>
> Generated: <date>
```gherkin
Feature: <feature name from PRD/spec title>
<one-line description of the feature>
Background:
Given <any shared preconditions>
Scenario: <happy path name>
Given <initial state>
When <user action or system event>
Then <expected outcome>
And <additional assertion>
Scenario: <alternate path>
Given <initial state>
When <different action>
Then <different outcome>
Scenario: <error / edge case>
Given <precondition>
When <action that triggers the edge case>
Then <error or fallback outcome>
```
Given, one When, one ThenAnd to chain — never repeat Given/When/Then back to backBackground: block only if 3+ scenarios share the same precondition@wip on scenarios derived from items marked as out-of-scope or future```gherkin fenced blocks inside the markdown fileTell the user:
gherkin-spec.md or gherkin-prd.mdWhat SKILL.md sets; muted values are Claude Code's defaults
/orchestra:orchestra-gherkin <prd-path | spec-path | work-item-name>from orchestra
npx claudepluginhub mpazaryna/agentic-factory --plugin orchestra18 skills in this plugin
/orchestra-adrCapture an architectural decision record — document a decision that was made during work, why it was made, and its consequences. Use when a significant technical or process decision needs to be recorded for future agents and developers./orchestra-afkConductor discipline for unattended (AFK) sessions — advance the work item from repo state, pause at human decisions by committing a gate file, resume from answered gates. The repo is the workspace; gates are files; approval is a commit. Use when running as a scheduled or headless session with nobody at the keyboard — the session must leave the repo in a state the next session (or a human) can pick up cold./orchestra-devlogOther plugins' skills for the same job