learn-story-flow
CommandLearn story-flow concepts with interactive guidance for junior developers
Run the Playwright specs and triage each failing scenario — delete, update and re-record, or report as a defect
> /plugin marketplace add Intai/story-flow> /plugin install story-flow@story-flow
argument-hint: [npx playwright test arguments or where the failed scenarios are listed, e.g. --grep "DAS-01:|DAS-02:" or "failed scenarios in <issue URL>" (optional)] description: Run the Playwright specs and triage each failing scenario — delete, update and re-record, or report as a defect effort: medium
When the failed scenarios are listed in an issue, find the most recent earlier issue with the same title prefix that has a triage comment. Apply the changes proposed in its later comments (e.g. a diff fixing a reported defect) that the checkout doesn't already have, and leave them uncommitted. Skip a proposed change a human disapproved: a 👎 reaction on its comment, or a later comment rejecting or replacing it.
Execute the Playwright specs: `npx playwright test $ARGUMENTS`. For each failed scenario, decide the cause against the current code and its story (the ticket ID in the feature file, or in its git log), fetched with the project's story tracker MCP tools when available:
Re-record with `/story-flow:execute-scenario <ID> @<feature file> --record`, at the failing project's form factor. Confirm each re-recorded scenario passes on its failing project: `npx playwright test <spec file> --project=<project> --grep "<ID>:"`. If it still fails, triage it again rather than re-recording a second time. Then summarise each failure's cause, action and scenario author (`git blame` on its lines in the feature file), plus any flaky passes and the proposed changes applied or skipped as disapproved. List each proposed diff after the summary, separately, headed with its scenario, so it can be posted as its own comment.
Learn story-flow concepts with interactive guidance for junior developers
Generate a draft story markdown from a story tracker or a feature description
Execute BDD test scenarios in a .feature file using browser automation. Use --record to generate a Playwright .spec.js file.
Implement a story according to the requirements and tasks
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.