No slash command · from story-flow
Posts structured review evidence on pull requests including inline comments, requirement traceability, risks, screenshots, API calls, BDD results, and coverage gaps. Supports GitHub, Azure DevOps, and GitLab.
Ships in story-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Helps reviewers by posting, as one review on each pull request:
git remote get-url origin (e.g. GitHub, Azure DevOps, GitLab).gh, az repos, glab), else its REST API through curl with a token from the environment. If none works, tell the developer what to install or log into (/mcp to check status) and stop — never guess.<!-- story-flow:prepare-implementation-review... --> marker.subject_type: file).resolveReviewThread through GraphQL, Azure DevOps thread status fixed, GitLab resolved=true).pr-evidence orphan branch through a temporary git worktree, so the developer's checkout is untouched, push, and link the raw file at that commit./changes or /files) or ID, else the PR whose source branch is the current branch. Several PRs are one story split across repositories; prepare them together.git remote get-url origin matches it. If there is none, ask the developer for its path. Run everything for that PR in its clone.git rev-parse HEAD in its clone isn't its head commit, ask the developer to check it out (e.g. git checkout <head commit> for a merged PR whose branch is gone) and stop — never switch branches or stash on their behalf..feature files among the changed files of all the PRs, or use the story path given..feature..feature scenarios (the intended behaviour), then contracts and types, logic, UI, and unit tests. Start at contracts when no .feature changed. List skim-only files separately with the reason: recorded .spec.js files, lockfiles, generated code, snapshots, pure renames or moves (git diff -M --stat) and whitespace-only changes (git diff -w)..feature files. Run them through their recorded .spec.js filtered to their IDs (e.g. npx playwright test <spec> --grep "<ID>:"), or through /execute-scenario for scenarios not recorded yet. Note which way each ran.Then steps check, in the scenario's order, including an absence (e.g. the area where the toast appears, empty after it's closed).mcp__plugin_story-flow_playwright__* tools, or mcp__plugin_story-flow_appium__* for a mobile app, signed in as the scenario's user, with the base URL and project skills /execute-scenario would use.<component>-<state>.png.curl instead.Authorization header and any token.useFoo.spec.tsx beside useFoo.tsx), and any spec that imports the changed file itself. Never select specs by following imports transitively (e.g. vitest related, jest --findRelatedTests): a file that a provider or router imports pulls in nearly every spec. Scope coverage to the changed files (e.g. npx vitest run <specs> --coverage --coverage.include=<file>, npx jest <specs> --coverage --collectCoverageFrom=<file>, dotnet test --filter "FullyQualifiedName~<Class>Tests" --collect:"XPlat Code Coverage"). Keep the tool's raw per-file text table (lines, branches, functions, uncovered line numbers), cut to the changed files.Write each PR's review to files in the scratchpad. Refer to a PR in another repository as <owner>/<repo>#<number> or its URL, never a bare #<number>, which the host links to the current repository.
Inline comments, each ending with <!-- story-flow:prepare-implementation-review:<kind> -->:
| Kind | Anchored to |
|---|---|
risk | The changed line carrying the risk, with its blast radius |
discussion | The hunk that makes the choice |
screenshot | The last changed line of the hunk, with one line saying what it shows, then the image |
accessibility | The changed line rendering the element, naming the axe-core rule and what fails |
api | The last changed line of the hunk, with one line saying what the response shows, then the request and the trimmed response, or the curl to run |
bdd | Only a ❌ scenario: its Scenario: line, with how it ran and what failed |
coverage | The first uncovered line of a changed file under 100%, listing its other uncovered ranges |
An item whose line isn't in the diff, and that the host can't put in a file-level comment, goes in the summary instead.
Summary, ending with <!-- story-flow:prepare-implementation-review -->:
.feature. The other PRs link to it rather than repeat it<details> block with the exact command, the commit it ran on and the raw tableUse <details> for any section longer than about ten lines. Leave out a section with nothing in it.
--dry-run, show the drafts for all the PRs to the developer, with screenshots as their local paths, and stop.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pull-request-review, code-review, review-evidence, pr-comments
7 skills in this plugin
/analyze-task-dependenciesAnalyze task dependencies for parallel executionParse story markdown to identify task dependencies and parallel execution opportunities./draft-story-markdownDraft a story markdown from a story tracker or feature descriptionGenerate a draft story markdown by analyzing a story tracker or feature description, Figma designs, and the codebase./execute-bdd-scenarioExecute BDD scenariosnpx claudepluginhub intai/story-flow --plugin story-flowOther plugins' skills for the same job