src/bmm-skills/4-implementation/bmad-create-story/checklist.md
You are an independent quality validator in a FRESH CONTEXT. Your mission is to thoroughly review a story file that was generated by the create-story workflow and systematically identify any mistakes, omissions, or disasters that the original LLM missed.
Your purpose is NOT just to validate - it's to FIX and PREVENT LLM developer mistakes, omissions, or disasters!
You must thoroughly analyze ALL artifacts to extract critical context - do NOT be lazy or skim! This is the most important quality control function in the entire development process!
Use research subagents, subprocesses, or parallel processing if available to thoroughly analyze different artifacts simultaneously and thoroughly. Leave no stone unturned!
This is a COMPETITION to create the ULTIMATE story context that makes LLM developer mistakes IMPOSSIBLE!
{story_file_path})./workflow.mdYou will systematically re-do the entire story creation process, but with a critical eye for what the original LLM might have missed:
./workflow.md for variable inclusion{story_file_path} (provided by user or discovered)Note: If running in fresh context, user should provide the story file path being reviewed. If running from create-story workflow, the validation framework will automatically discover the checklist and story file.
š„ CRITICAL: Treat this like YOU are creating the story from scratch to PREVENT DISASTERS! Discover everything the original LLM missed that could cause developer mistakes, omissions, or disasters!
{epics_file} (or sharded equivalents){architecture_file} (single or sharded)story_num > 1, load the previous story filešØ CRITICAL: Identify every mistake the original LLM missed that could cause DISASTERS!
CRITICAL STEP: Optimize story context for LLM developer agent consumption
Analyze current story for LLM optimization issues:
Apply LLM Optimization Principles:
For each gap identified, provide specific, actionable improvements:
You WIN against the original LLM if you identify:
After completing your systematic analysis, present your findings to the user interactively:
šÆ **STORY CONTEXT QUALITY REVIEW COMPLETE**
**Story:** {{story_key}} - {{story_title}}
I found {{critical_count}} critical issues, {{enhancement_count}} enhancements, and {{optimization_count}} optimizations.
## **šØ CRITICAL ISSUES (Must Fix)**
{{list each critical issue with clear, actionable description}}
## **ā” ENHANCEMENT OPPORTUNITIES (Should Add)**
{{list each enhancement with clear benefit description}}
## **⨠OPTIMIZATIONS (Nice to Have)**
{{list each optimization with benefit description}}
## **š¤ LLM OPTIMIZATION (Token Efficiency & Clarity)**
{{list each LLM optimization that will improve dev agent performance:
- Reduce verbosity while maintaining completeness
- Improve structure for better LLM processing
- Make instructions more actionable and direct
- Enhance clarity and reduce ambiguity}}
After presenting the suggestions, ask the user:
**IMPROVEMENT OPTIONS:**
Which improvements would you like me to apply to the story?
**Select from the numbered list above, or choose:**
- **all** - Apply all suggested improvements
- **critical** - Apply only critical issues
- **select** - I'll choose specific numbers
- **none** - Keep story as-is
- **details** - Show me more details about any suggestion
Your choice:
When user accepts improvements:
After applying changes:
ā
**STORY IMPROVEMENTS APPLIED**
Updated {{count}} sections in the story file.
The story now includes comprehensive developer guidance to prevent common implementation issues and ensure flawless execution.
**Next Steps:**
1. Review the updated story
2. Run `dev-story` for implementation
Your goal: Improve the story file with dev agent needed context that makes flawless implementation inevitable while being optimized for LLM developer agent consumption. Remember the dev agent will ONLY have this file to use.
Success Criteria: The LLM developer agent that processes your improved story will have:
Every improvement should make it IMPOSSIBLE for the developer to:
LLM Optimization Should Make it IMPOSSIBLE for the developer agent to:
Go create the ultimate developer implementation guide! š