learn-bdd-scenarios
Interactive guidance on writing complete, effective BDD scenarios for story-flow.
Generate a draft story markdown by analyzing a story tracker or feature description, Figma designs, and the codebase.
$ npx -y skills add Intai/story-flow --skill draft-story-markdown --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/draft-story-markdownContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate a draft story markdown by analyzing a story tracker or feature description, Figma designs, and the codebase.
name: Draft a story markdown from a story tracker or feature description description: Generate a draft story markdown by analyzing a story tracker or feature description, Figma designs, and the codebase. user-invocable: false
This skill helps junior developers create technical story markdown by: 1. Gathering requirements from a story tracker or a provided feature description 2. Fetching Figma designs linked in the story (when applicable) 3. Exploring the codebase to discover relevant files and patterns 4. Generating a draft `story.md` for the developer to review and refine
When the input is a ticket ID (matching a pattern like `PROJ-123`, `86d2uf1mh`, `4821`, `AB#4821`). A bare integer is always a ticket ID, never a feature description:
When the input is a feature description (not a ticket ID):
Use a **single comprehensive Explore agent** (Task tool with `subagent_type: Explore`) to discover:
1. **Project structure and conventions**
2. **Files related to the feature area**
3. **Similar existing implementations**
4. **Technical conventions**
5. **Existing utility/helper patterns**
**Exploration prompt template:**
Explore the codebase to help draft a story for: [SUMMARY FROM STORY TRACKER OR FEATURE DESCRIPTION] Find: 1. Project structure - how are features organized? 2. Files related to: [KEYWORDS FROM REQUIREMENTS] 3. Similar implementations to use as reference patterns 4. Naming conventions for schemas, components, APIs, and tests 5. Where new files should be created based on existing patterns 6. Utility/helper directories and existing shared functions (validation, formatting, etc.) Provide specific file paths and patterns discovered.
**Important:** Do not include unit test requirements or tasks in the story. Unit tests are automatically created during implementation with 100% coverage for every source file. Only include QA tasks for BDD scenario planning and for verifying the implementation against the acceptance criteria.
Create a story markdown with the following structure:
[User story summary from the story tracker or feature description] ## Requirements - [Requirement 1 from acceptance criteria or feature description] - [Requirement 2 from acceptance criteria or feature description] - [Additional requirements derived from Figma design] ## Tasks - Use qa-tester subagent to plan BDD scenarios @path/to/feature.feature. - Use backend-developer subagent to [task description] @path/to/file.js. [Technical details]. - Use frontend-developer subagent to [task desc
🤖🧠 Agentic development workflow for AI–HI (Human Intelligence) collaboration
Repo: Intai/story-flow
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.
Parse story markdown to identify task dependencies and parallel execution opportunities.
Execute BDD test scenarios from .feature files using browser automation.