refactor: Standardize @include reference system across all command files

- Fix @include references to use underscore format (Universal_Legend, Standard_Messages_Templates)
- Add missing ultracompressed.yml shared pattern file
- Update broken reference paths in all 18 command files
- Ensure consistent template naming across command system
- Optimize command file structure with standardized includes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
NomenAK
2025-06-25 00:21:27 +02:00
parent 219ff3905a
commit 23a103d5dc
36 changed files with 3139 additions and 1375 deletions

View File

@@ -1,134 +1,36 @@
# /estimate - Estimate time, complexity and resources
## Legend
@include shared/universal-constants.yml#Universal_Legend
## Purpose
Provide comprehensive time, complexity, and resource estimates for tasks specified in $ARGUMENTS using data-driven analysis.
## Command Execution
Execute: immediate. --plan→show plan first
Legend: Generated based on symbols used in command
Purpose: "[Action][Subject] in $ARGUMENTS"
## Syntax
`/estimate [flags] [task]`
Provide comprehensive time, complexity, and resource estimates for tasks specified in $ARGUMENTS.
@include shared/flag-inheritance.yml#Universal_Always
## Core Flags
Examples:
- `/estimate "Add user authentication"` - Quick feature estimate
- `/estimate --scope project --detail high --team medium` - Detailed project estimation
- `/estimate --scope migration --team large --ultrathink` - Migration project estimation
--scope flag:
- feature: Single feature estimation
- epic: Multi-feature epic
- project: Full project scope
- refactor: Code refactoring effort
- migration: Data/system migration
Estimation modes:
--team flag:
- solo: Single developer
- small: 2-3 developers
- medium: 4-8 developers
- large: 9+ developers
**--scope:** Estimation scope
- feature: Single feature estimation | epic: Multi-feature epic
- project: Full project scope | refactor: Code refactoring effort | migration: Data/system migration
--detail flag:
- high: Detailed breakdown
- medium: Standard estimates
- low: Quick rough estimates
**--team:** Team size
- solo: Single developer | small: 2-3 developers
- medium: 4-8 developers | large: 9+ developers
## Estimation Components
**--detail:** Estimation detail level
- high: Detailed breakdown | medium: Standard estimates | low: Quick rough estimates
Time Estimates:
- Development hours/days
- Testing & QA time
- Code review cycles
- Integration effort
- Buffer for unknowns
## Estimation Framework
Complexity Analysis:
- Technical complexity score
- Integration points
- Dependencies & blockers
- Risk factors
- Learning curve
@include shared/execution-patterns.yml#Estimation_Methodology
Resource Requirements:
- Developer skill levels
- Infrastructure needs
- Third-party services
- Testing resources
- Documentation effort
@include shared/docs-patterns.yml#Standard_Notifications
## Methodology
Estimation Factors:
- Historical data from similar tasks
- Code complexity metrics
- Team velocity & capacity
- Technical debt impact
- External dependencies
Risk Assessment:
- Technical risks
- Resource availability
- Timeline constraints
- Scope creep potential
- Integration challenges
## Output Format
Standard Estimate:
```yaml
Task: [Description]
Complexity: [Low/Medium/High]
Time_Estimate:
Optimistic: X days
Realistic: Y days
Pessimistic: Z days
Resources:
Developers: N
QA: M hours
Infrastructure: [Details]
Risks:
- [Risk 1]: [Mitigation]
- [Risk 2]: [Mitigation]
Assumptions:
- [Assumption 1]
- [Assumption 2]
```
## Best Practices
Accuracy:
- Break down into smaller tasks
- Consider all phases (dev, test, deploy)
- Include communication overhead
- Account for code reviews
- Add appropriate buffers
Communication:
- Provide ranges, not fixed numbers
- Document assumptions clearly
- Highlight major risks
- Update estimates as work progresses
- Track actual vs estimated
## Examples
```bash
# Quick feature estimate
/estimate "Add user authentication"
# Detailed project estimation
/estimate --scope project --detail high --team medium
# Refactoring estimate with risks
/estimate --scope refactor --think "Modernize legacy API"
# Migration project estimation
/estimate --scope migration --team large --ultrathink
```
## Deliverables
- Detailed time estimates with ranges
- Complexity analysis & metrics
- Resource allocation plan
- Risk assessment & mitigation
- Assumptions & dependencies
- Confidence levels
@include shared/universal-constants.yml#Standard_Messages_Templates