learn-bdd-scenarios
Interactive guidance on writing complete, effective BDD scenarios for story-flow.
Parse story markdown to identify task dependencies and parallel execution opportunities.
Claude Code
$ npx -y skills add Intai/story-flow --skill analyze-task-dependencies --agent claude-code
Codex
$ npx skills add Intai/story-flow --skill analyze-task-dependencies -a codex -y
Cursor
$ npx skills add Intai/story-flow --skill analyze-task-dependencies -a cursor -y
Gemini CLI
$ npx skills add Intai/story-flow --skill analyze-task-dependencies -a gemini-cli -y
GitHub Copilot
$ npx skills add Intai/story-flow --skill analyze-task-dependencies -a github-copilot -y
OpenCode
$ npx skills add Intai/story-flow --skill analyze-task-dependencies -a opencode -y
Windsurf
$ npx skills add Intai/story-flow --skill analyze-task-dependencies -a windsurf -y
name: Analyze task dependencies for parallel execution description: Parse story markdown to identify task dependencies and parallel execution opportunities. user-invocable: false
When analyzing dependencies, prefer parallelism by default:
Present the analysis as a proposed replacement for the "## Tasks" section. Do NOT edit the story file automatically.
Ask the user: "Would you like me to update the story file with these grouped tasks?"
Only edit the story file if the user confirms.
Proposed format:
## Tasks **Sequential tasks 1-3, no prerequisites:** 1. Use backend-developer subagent to [original task description] 2. Use backend-developer subagent to [original task description] 3. Use backend-developer subagent to [original task description] **Parallel tasks 4-5, no prerequisites:** 4. Use backend-developer subagent to [original task description] 5. Use qa-tester subagent to [original task description] **Parallel after task 4 completes:** 6. Use frontend-developer subagent to [original task description] 7. Use frontend-developer subagent to [original task description] **Sequential tasks 8-9 after tasks 6-7 complete:** 8. Use backend-developer subagent to [original task description] 9. Use frontend-developer subagent to [original task description]
**Hard Dependencies (must wait):**
**Soft Dependencies (can assume will exist at runtime):**
**Independent Tasks:**
❌ **Over-sequential (incorrect approach):**
Sequential tasks 1-3, no prerequisites: 1. Add config value `auth.userId` 2. Add config value `aws.s3.bucket` 3. Implement server action that uses both config values
This creates unnecessary waiting - task 3 can be written assuming configs will exist.
✅ **Properly parallel (correct approach):**
Sequential tasks 1-2, no prerequisites: 1. Add config value `auth.userId` 2. Add config value `aws.s3.bucket` Parallel tasks 3-4, no prerequisites: 3. Implement server action that uses both config values 4. Initialize S3 bucket
Tasks 1-2 are sequential because they modify the same file. Tasks 3-4 have no prerequisites because they assume runtime values will exist.
❌ **Split sequential groups (incorrect approach):**
Sequential tasks 1-3, no prerequisites: 1. Create user model 2. Create user service 3. Create user controller Sequential tasks 4-5 after task 3 completes: 4. Add authentication middleware 5. Add protected routes
The second group's only prerequisite is the last task of the first group — this is just one sequential chain.
✅ **Merged sequential group (correct approach):**
Sequential tasks 1-5, no prerequisites: 1. Create user model 2. Create user service 3. Create user controller 4. Add authentication middleware 5. Add protected routes
If a sequential group's only prerequisite is the last task of a prior sequential group, merge them into one group.
Interactive guidance on writing complete, effective BDD scenarios for story-flow.
Interactive guidance on why human code review is essential for readability and maintainability.
Interactive guidance on creating technical design PRs to align with your team before coding.
Generate a draft story markdown by analyzing a story tracker or feature description, Figma designs, and the codebase.
Execute BDD test scenarios from .feature files using browser automation.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.