Skip to content
Skill

Plan BDD scenarios

Guides the agent to write detailed BDD scenarios in .feature files without test code

Plan BDD scenarios is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
16
Last commit
License
MIT
Listing updated

Similar skills

About Plan BDD scenarios

This skill tells the agent to produce detailed behaviour-driven development scenarios in Gherkin .feature files when planning tests. It explicitly limits the work to the scenario text, so the agent should not write Playwright test implementation code at this stage.

The instructions also set rules for comments inside the planned scenarios. Comments are reserved for notes that help record a Playwright script, such as which request to stub and how. Anything a Given step already states, or that repeats the story markdown, is kept out of comments.

The skill is part of the story-flow plugin for Claude Code. It accepts a story markdown file or an existing .feature file as the input to plan from. It is not meant to be invoked directly by the user.

When your agent uses it

Plan BDD scenarios.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (592 bytes) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the story-flow plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add Intai/story-flow
/plugin install story-flow@story-flow

Or copy only this skill to ~/.claude/skills/plan-bdd-scenarios:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Intai/story-flow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/plan-bdd-scenarios &&
cp -R "$tmp/plugins/story-flow/skills/plan-bdd-scenarios" ~/.claude/skills/plan-bdd-scenarios &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/plan-bdd-scenarios inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/plan-bdd-scenarios to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Intai/story-flow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/plan-bdd-scenarios &&
cp -R "$tmp/plugins/story-flow/skills/plan-bdd-scenarios" ~/.agents/skills/plan-bdd-scenarios &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/plan-bdd-scenarios inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/plan-bdd-scenarios to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Intai/story-flow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/plan-bdd-scenarios &&
cp -R "$tmp/plugins/story-flow/skills/plan-bdd-scenarios" ~/.cursor/skills/plan-bdd-scenarios &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/plan-bdd-scenarios inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/Intai/story-flow.git --path plugins/story-flow/skills/plan-bdd-scenarios

Or copy the folder to ~/.gemini/skills/plan-bdd-scenarios yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/plan-bdd-scenarios:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Intai/story-flow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/plan-bdd-scenarios &&
cp -R "$tmp/plugins/story-flow/skills/plan-bdd-scenarios" ~/.copilot/skills/plan-bdd-scenarios &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/plan-bdd-scenarios inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Intai/story-flow.git

Then copy story-flow/plugins/story-flow/skills/plan-bdd-scenarios into your agent's skills folder as plan-bdd-scenarios. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Detailed BDD scenario planning
Produces scenarios in Gherkin .feature files covering the behaviour described in a story.
Planning without implementation
Restricts the agent to writing scenario text and leaves Playwright test code unwritten.
Guided scenario comments
Limits comments to notes that help record a Playwright script, such as request stubbing.
Story-driven input
Plans scenarios from a referenced story markdown file or an existing feature file.

Good for

  • Plan test scenarios from a user story markdown file
  • Write BDD scenarios into a new .feature file
  • Add detailed Gherkin scenarios to an existing feature file

Plan BDD scenarios FAQ

Does Plan BDD scenarios write Playwright test code?

No. The instructions say to create only detailed BDD scenarios in .feature files and not to implement Playwright test code.

What inputs does Plan BDD scenarios expect?

It works from a story markdown file or a target .feature file that is referenced when the skill is invoked.

Does Plan BDD scenarios run any scripts?

No scripts are included with this skill.

How do I install Plan BDD scenarios in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/plan-bdd-scenarios to use it in all your projects, or to .claude/skills/plan-bdd-scenarios in one project. Or install the story-flow plugin, which includes it: /plugin marketplace add Intai/story-flow, then /plugin install story-flow@story-flow.

Does Plan BDD scenarios run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Plan BDD scenarios?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Plan BDD scenarios?

The closest alternatives to Plan BDD scenarios are Learn what defines effective BDD scenarios, Specflow skill, Breakdown test, Cucumber skill and Spec driven development.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from Intai/story-flow