Skip to content
Development
Command

/retrofit-scenarios

Retrofit BDD scenarios from an existing implementation

From plugin
story-flow
169 skills7 agents9 commands
> /plugin marketplace add Intai/story-flow
> /plugin install story-flow@story-flow

Command definition

retrofit-scenarios.md
argument-hint: [@path/to/file.feature, @path/to/source (use * for wildcard) or "feature description"]
description: Retrofit BDD scenarios from an existing implementation

Use the qa-tester subagent and instruct it to load skills in this order using the Skill tool: 1. First: `story-flow:plan-bdd-scenarios` (plugin - general BDD planning protocol) 2. Then: `plan-bdd-scenarios` if it exists (project-level - overrides/extends the plugin) 3. Confirm which skills are loaded before continuing with BDD planning.

If source paths are provided ($2 onwards): Plan BDD scenarios in $1 from the implementation in $2 $3 $4 $5 $6. If a feature description is provided instead: Locate the implementation of $2 in the codebase; if it cannot be found or does not settle the behaviour, observe the running app or any other source available. Then plan BDD scenarios in $1 from it.

@intai
Ships withstory-flow

🤖🧠 Agentic development workflow for AI–HI (Human Intelligence) collaboration

1610 skills7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
16
Star history of Intai/story-flow on GitHub, a chart by star-history.com

Other commands on story-flow.

draft-story

draft-story

Command

Generate a draft story markdown from a story tracker or a feature description

@intai@intaiInstall Command
execute-scenario

execute-scenario

Command

Execute BDD test scenarios in a .feature file using browser automation. Use --record to generate a Playwright .spec.js file.

@intai@intaiInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command