# Plan BDD scenarios

> Plan BDD scenarios is an open-source agent skill for developer tools. Guides the agent to write detailed BDD scenarios in .feature files without test code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Intai/story-flow/tree/main/plugins/story-flow/skills/plan-bdd-scenarios
- **Repository:** https://github.com/intai/story-flow
- **GitHub stars:** 16
- **License:** MIT
- **Skill name:** Plan BDD scenarios
- **Collection:** https://github.com/Intai/story-flow
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Intai/story-flow/tree/HEAD/plugins/story-flow/skills/plan-bdd-scenarios)
- [License: MIT](https://github.com/Intai/story-flow/tree/HEAD/plugins/story-flow/skills/plan-bdd-scenarios)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Learn what defines effective BDD scenarios](https://ai-powered.com/skills/learn-what-defines-effective-bdd-scenarios): Learn what defines effective BDD scenarios is an open-source agent skill for developer tools.
- [Specflow skill](https://ai-powered.com/skills/specflow-skill): Specflow skill is an open-source agent skill for developer tools.
- [Breakdown test](https://ai-powered.com/skills/breakdown-test): Breakdown test is an open-source agent skill for developer tools.
- [Cucumber skill](https://ai-powered.com/skills/cucumber-skill): Cucumber skill is an open-source agent skill for developer tools.
- [Spec driven development](https://ai-powered.com/skills/spec-driven-development-addyosmani): Spec driven development is an open-source agent skill for developer tools.
- [Behave skill](https://ai-powered.com/skills/behave-skill): Behave skill is an open-source agent skill for developer tools.
- [Playwright generate test](https://ai-powered.com/skills/playwright-generate-test): Playwright generate test is an open-source agent skill for browser automation.
- [Writing specs](https://ai-powered.com/skills/writing-specs-zerotechdebt): Writing specs is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/plan-bdd-scenarios
