Skip to content
Skill

Learn what defines effective BDD scenarios

Teaches the agent to walk a junior developer through writing complete BDD scenarios

Learn what defines effective 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 Learn what defines effective BDD scenarios

This interactive learning module walks a developer through what makes a Behavior-Driven Development scenario precise and complete enough for story-flow's automated testing. It covers the Feature, Background and Scenario structure, the Given/When/Then roles, and how each scenario should check both what the user sees and what gets persisted.

The guide pauses after each section and offers the learner choices to continue, see more examples or ask a question. It also explains the supported tags, including ones that reseed data, take screenshots, extend timeouts, or control whether a scenario is recorded into a Playwright spec, and it lists common mistakes with corrected examples. A closing checklist gives the developer a short review list before submitting scenarios.

The skill is written for story-flow and expects that project's conventions, such as scenario IDs in the FEAT-01 form and the Claude-driven execution model. It runs no scripts and needs no extra tools beyond the agent itself.

When your agent uses it

Interactive guidance on writing complete, effective BDD scenarios for story-flow.

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 (9 KB) 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 junior-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 junior-flow@story-flow

Or copy only this skill to ~/.claude/skills/learn-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/learn-bdd-scenarios &&
cp -R "$tmp/plugins/junior-flow/skills/learn-bdd-scenarios" ~/.claude/skills/learn-bdd-scenarios &&
rm -rf "$tmp"

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/learn-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/learn-bdd-scenarios &&
cp -R "$tmp/plugins/junior-flow/skills/learn-bdd-scenarios" ~/.agents/skills/learn-bdd-scenarios &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/learn-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/learn-bdd-scenarios &&
cp -R "$tmp/plugins/junior-flow/skills/learn-bdd-scenarios" ~/.cursor/skills/learn-bdd-scenarios &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/learn-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/junior-flow/skills/learn-bdd-scenarios

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

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/learn-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/learn-bdd-scenarios &&
cp -R "$tmp/plugins/junior-flow/skills/learn-bdd-scenarios" ~/.copilot/skills/learn-bdd-scenarios &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/learn-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/junior-flow/skills/learn-bdd-scenarios into your agent's skills folder as learn-bdd-scenarios. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Scenario Structure Guide
Shows how Feature, Background and Scenario blocks fit together with example Gherkin.
Quality Principles
Explains specific, complete, independent and concrete scenarios with good and bad examples.
Tag Reference
Describes supported tags such as purge-data, screenshots, non-parallel and timeout.
Common Mistakes
Lists frequent scenario-writing errors and shows how to correct each one.
Review Checklist
Provides a pre-submission checklist covering IDs, assertions and setup.
Interactive Lessons
Presents content section by section with options to continue, get examples or ask questions.

Good for

  • Teach me how to write good BDD scenarios
  • Review my Gherkin scenario for missing assertions
  • Explain when to use the purge-data tag
  • Show me how to structure a Background section
  • Check my scenarios against a quality checklist

Learn what defines effective BDD scenarios FAQ

Does Learn what defines effective BDD scenarios run any scripts or change files?

No. The skill has no scripts and presents guidance interactively.

When does Learn what defines effective BDD scenarios trigger?

It is set to non-user-invocable, so it is loaded when the agent needs to teach BDD scenario writing for story-flow, for example when a junior developer asks about writing good BDD tests.

What does the skill expect from the user?

It expects the developer to be working within the story-flow project, using its Feature and Scenario conventions and Playwright or shell execution model.

How do I install Learn what defines effective BDD scenarios in Claude Code?

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

Does Learn what defines effective 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 Learn what defines effective 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 Learn what defines effective BDD scenarios?

The closest alternatives to Learn what defines effective BDD scenarios are Plan BDD scenarios, Test scenarios, Specflow skill, Behave skill and Cucumber skill.

Where this comes from

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

More from Intai/story-flow

  1. Lets an AI coding agent run BDD .feature scenarios through a live browser or shell

    • Open source
    • 16 GitHub stars
    • Browser automation