Feature Discovery and Planning
When to Use
- Planning a new game feature or capability
- Analyzing feature requirements and scope
- Breaking down complex features into implementable tasks
- Conducting feasibility studies for new mechanics
- Designing game systems (race mechanics, betting, training, etc.)
Process
Phase 1: Discovery
- Gather Context: Ask clarifying questions about feature goals and game design intent
- Identify Requirements: Document what the feature must do (functional requirements)
- Explore Constraints: Understand technical, gameplay, and performance constraints
- Map Use Cases: Identify player interactions and game scenarios
- Review Codebase: Examine existing patterns and systems that may be affected
Phase 2: Technical Analysis
- Evaluate Feasibility: Assess technical viability within the current architecture
- Identify Dependencies: Map relationships to existing systems (Race, Horse, Betting, etc.)
- Review Data Model: Consider database schema changes needed
- Assess Integration Points: Identify where new code connects to existing systems
- Consider Performance: Evaluate impact on race simulation, UI responsiveness
Phase 3: Planning
- Break Down Tasks: Decompose the feature into concrete, implementable tasks
- Sequence Work: Identify logical implementation phases and dependencies
- Estimate Complexity: Note particularly complex or risky areas
- Create Task List: Use TodoWrite to create a structured task breakdown
- Define Milestones: Identify testable checkpoints and deliverables
Phase 4: Documentation
- Write Specification: Create clear feature requirements document
- Document Assumptions: Record decisions and assumptions made during planning
- Define Success Criteria: Establish how to validate the feature works correctly
- Reference Templates: Use PLANNING_TEMPLATE.md and DISCOVERY_CHECKLIST.md
Output
Create a feature specification document in /docs/features/ that includes:
- Feature Summary: One-paragraph overview
- Requirements: Functional and non-functional requirements
- Technical Approach: Architecture and integration points
- Implementation Plan: Phased task breakdown
- Success Criteria: How to validate correctness
- Open Questions: Items needing further clarification
Use PLANNING_TEMPLATE.md as a starting point.
Diagram Guidelines
Use Mermaid for all diagrams:
- Architecture:
graph TB or graph LR
- Sequences:
sequenceDiagram
- State machines:
stateDiagram-v2
- Data models:
erDiagram
Benefits: Renders in GitHub, version control friendly, no external files needed.
Integration with Existing Systems
When planning features, consider integration with:
- Core Entities: Horse, Race, RaceRun, RaceRunHorse, Player
- Services: RaceService, simulation logic, game flow
- Data Layer: Entity Framework, repositories, ModelBuilderExtensions
- Game Balance: Stats, probabilities, progression systems
Tools Used
- Read, Grep, Glob to explore the codebase
- TodoWrite for structured planning
- AskUserQuestion to clarify ambiguous requirements
Next Steps
After completing discovery, use /plan-implementation to create a detailed implementation roadmap with TDD phases.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: feature-discovery-23description: Conduct feature discovery and planning for new game features. Use when designing new features, planning implementations, analyzing requirements, breaking down complex features into tasks, or conducting feasibility studies for the TripleDerby racing game. Use when this capability is needed.4---56# Feature Discovery and Planning78## When to Use9- Planning a new game feature or capability10- Analyzing feature requirements and scope11- Breaking down complex features into implementable tasks12- Conducting feasibility studies for new mechanics13- Designing game systems (race mechanics, betting, training, etc.)1415## Process1617### Phase 1: Discovery181. **Gather Context**: Ask clarifying questions about feature goals and game design intent192. **Identify Requirements**: Document what the feature must do (functional requirements)203. **Explore Constraints**: Understand technical, gameplay, and performance constraints214. **Map Use Cases**: Identify player interactions and game scenarios225. **Review Codebase**: Examine existing patterns and systems that may be affected2324### Phase 2: Technical Analysis251. **Evaluate Feasibility**: Assess technical viability within the current architecture262. **Identify Dependencies**: Map relationships to existing systems (Race, Horse, Betting, etc.)273. **Review Data Model**: Consider database schema changes needed284. **Assess Integration Points**: Identify where new code connects to existing systems295. **Consider Performance**: Evaluate impact on race simulation, UI responsiveness3031### Phase 3: Planning321. **Break Down Tasks**: Decompose the feature into concrete, implementable tasks332. **Sequence Work**: Identify logical implementation phases and dependencies343. **Estimate Complexity**: Note particularly complex or risky areas354. **Create Task List**: Use TodoWrite to create a structured task breakdown365. **Define Milestones**: Identify testable checkpoints and deliverables3738### Phase 4: Documentation391. **Write Specification**: Create clear feature requirements document402. **Document Assumptions**: Record decisions and assumptions made during planning413. **Define Success Criteria**: Establish how to validate the feature works correctly424. **Reference Templates**: Use PLANNING_TEMPLATE.md and DISCOVERY_CHECKLIST.md4344## Output4546Create a feature specification document in `/docs/features/` that includes:47481. **Feature Summary**: One-paragraph overview492. **Requirements**: Functional and non-functional requirements503. **Technical Approach**: Architecture and integration points514. **Implementation Plan**: Phased task breakdown525. **Success Criteria**: How to validate correctness536. **Open Questions**: Items needing further clarification5455Use PLANNING_TEMPLATE.md as a starting point.5657## Diagram Guidelines5859**Use Mermaid for all diagrams:**6061- **Architecture**: `graph TB` or `graph LR`62- **Sequences**: `sequenceDiagram`63- **State machines**: `stateDiagram-v2`64- **Data models**: `erDiagram`6566Benefits: Renders in GitHub, version control friendly, no external files needed.6768## Integration with Existing Systems6970When planning features, consider integration with:71- **Core Entities**: Horse, Race, RaceRun, RaceRunHorse, Player72- **Services**: RaceService, simulation logic, game flow73- **Data Layer**: Entity Framework, repositories, ModelBuilderExtensions74- **Game Balance**: Stats, probabilities, progression systems7576## Tools Used77- Read, Grep, Glob to explore the codebase78- TodoWrite for structured planning79- AskUserQuestion to clarify ambiguous requirements8081## Next Steps8283After completing discovery, use `/plan-implementation` to create a detailed implementation roadmap with TDD phases.8485---86> Converted and distributed by [TomeVault](https://tomevault.io/claim/ovation22) — claim your Tome and manage your conversions.87<!-- tomevault:4.0:skill_md:2026-04-11 -->