|
| 1 | +--- |
| 2 | +description: Create agile features from an epic |
| 3 | +globs: |
| 4 | +alwaysApply: false |
| 5 | +--- |
| 6 | +# Create agile features from an epic |
| 7 | + |
| 8 | +This rule helps me have a natural conversation with you to create detailed feature files based on an existing epic. I'll ask direct questions to gather the information I need, then generate comprehensive feature documentation. |
| 9 | + |
| 10 | +## How I'll Help You |
| 11 | + |
| 12 | +When you ask me to create features from an epic, here's how our conversation will flow: |
| 13 | + |
| 14 | +**Phase 0: Get Current Date** |
| 15 | +I'll start by getting today's date from the system to ensure accurate timestamps in the feature documents. |
| 16 | + |
| 17 | +**Phase 1: Epic Analysis and Information Gathering** |
| 18 | +I'll acknowledge your request and ask these direct questions: |
| 19 | + |
| 20 | +**Epic File Analysis:** |
| 21 | +1. "Please provide the path to the epic file you'd like to base the features on, or paste the epic content if you prefer." |
| 22 | +2. "I've reviewed the epic '[Epic Title]'. This epic contains [summarize key components/features identified]. Is this the correct epic you want to work with?" |
| 23 | + |
| 24 | +**Feature Scope Clarification:** |
| 25 | +3. "Based on the epic, I've identified [X] potential features: [list identified features]. Do you want to create feature files for all of these, or would you like to focus on specific ones? If specific ones, which features should I prioritize?" |
| 26 | +4. "For each feature, would you prefer a detailed technical feature specification or a higher-level feature overview? This will help me determine the appropriate level of detail." |
| 27 | + |
| 28 | +**Feature Structure Preferences:** |
| 29 | +5. "Who is the primary audience for these feature files? (e.g., 'development team', 'product stakeholders', 'QA team', 'business analysts'). This will help tailor the content appropriately." |
| 30 | +6. "Should the feature files include technical implementation details, or focus more on functional requirements and user benefits?" |
| 31 | + |
| 32 | +**File Organization:** |
| 33 | +7. "What naming convention would you prefer for the feature files? (e.g., 'FEAT-001_Feature_Name.md', 'feature_name.md', or something else)" |
| 34 | +8. "Where should these feature files be created relative to the epic file? (e.g., 'features/' subdirectory, same directory, or a specific path)" |
| 35 | + |
| 36 | +**Feature Enhancement Questions:** |
| 37 | +For each identified feature, I'll ask: |
| 38 | +9. "Are there existing user stories that should be linked to '[Feature Name]', or should I suggest how this feature could be broken down into user stories?" |
| 39 | +10. "Does '[Feature Name]' have any specific dependencies on other features, systems, or external factors not mentioned in the epic?" |
| 40 | +11. "What specific success metrics or acceptance criteria should be defined for '[Feature Name]' beyond what's in the epic?" |
| 41 | + |
| 42 | +**Additional Context (Optional):** |
| 43 | +12. "Are there any specific timeline constraints or release dependencies for any of these features?" |
| 44 | +13. "Are there any feature-specific risks or technical challenges that should be highlighted?" |
| 45 | + |
| 46 | +**Phase 2: Feature File Generation** |
| 47 | +Once I have all the information, I'll inform you that I'm generating the feature files. I'll use today's date (obtained from the `date` command) to replace the `[Current Date]` placeholders in the template. For each feature, I'll provide content using this format: |
| 48 | + |
| 49 | +**Content for Feature Markdown File: `[Feature Filename From Naming Convention]`** |
| 50 | +[agile-feature-template.md](mdc:.cursor/rules/templates/agile-feature-template.md) |
| 51 | + |
| 52 | +**Important Note on Date Handling:** |
| 53 | +- I always use the `date` terminal command to get the current system date |
| 54 | +- I format the date appropriately for documentation (e.g., "June 2, 2025" or "2025-06-02") |
| 55 | +- I replace all `[Current Date]` placeholders in the template with the actual current date |
| 56 | +- This ensures accurate timestamps for feature creation and last update fields |
| 57 | + |
| 58 | +**Next Steps and Recommendations** |
| 59 | +After generating all feature files, I'll provide these recommendations: |
| 60 | + |
| 61 | +**Next Steps for Feature Development:** |
| 62 | +1. Review each feature file with relevant stakeholders |
| 63 | +2. Refine and prioritize features based on business value and dependencies |
| 64 | +3. Break down features into detailed user stories |
| 65 | +4. Create technical design documents for complex features |
| 66 | +5. Estimate effort and plan feature development roadmap |
| 67 | +6. Set up tracking and metrics collection for success criteria |
| 68 | + |
| 69 | +**Feature Management Best Practices:** |
| 70 | +- Keep features focused on specific user outcomes |
| 71 | +- Regularly validate features against epic goals |
| 72 | +- Monitor feature dependencies and adjust plans as needed |
| 73 | +- Collect user feedback early and often during development |
| 74 | +- Update feature documentation as requirements evolve |
| 75 | + |
| 76 | +**Integration with Epic:** |
| 77 | +- Ensure all features collectively deliver the epic's business value |
| 78 | +- Verify feature priorities align with epic success criteria |
| 79 | +- Check that feature timeline supports epic target release |
| 80 | +- Confirm feature dependencies don't create critical path issues |
| 81 | + |
| 82 | +That's how we'll work together to turn your epic into a set of well-defined, actionable features! |
| 83 | + |
0 commit comments