jell-utils 0.0.18 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/tm/add-dependency.md +58 -0
- package/.claude/commands/tm/add-subtask.md +79 -0
- package/.claude/commands/tm/add-task.md +81 -0
- package/.claude/commands/tm/analyze-complexity.md +124 -0
- package/.claude/commands/tm/analyze-project.md +100 -0
- package/.claude/commands/tm/auto-implement-tasks.md +100 -0
- package/.claude/commands/tm/command-pipeline.md +80 -0
- package/.claude/commands/tm/complexity-report.md +120 -0
- package/.claude/commands/tm/convert-task-to-subtask.md +74 -0
- package/.claude/commands/tm/expand-all-tasks.md +52 -0
- package/.claude/commands/tm/expand-task.md +52 -0
- package/.claude/commands/tm/fix-dependencies.md +82 -0
- package/.claude/commands/tm/help.md +101 -0
- package/.claude/commands/tm/init-project-quick.md +49 -0
- package/.claude/commands/tm/init-project.md +53 -0
- package/.claude/commands/tm/install-taskmaster.md +118 -0
- package/.claude/commands/tm/learn.md +106 -0
- package/.claude/commands/tm/list-tasks-by-status.md +42 -0
- package/.claude/commands/tm/list-tasks-with-subtasks.md +30 -0
- package/.claude/commands/tm/list-tasks.md +46 -0
- package/.claude/commands/tm/next-task.md +69 -0
- package/.claude/commands/tm/parse-prd-with-research.md +51 -0
- package/.claude/commands/tm/parse-prd.md +52 -0
- package/.claude/commands/tm/project-status.md +67 -0
- package/.claude/commands/tm/quick-install-taskmaster.md +23 -0
- package/.claude/commands/tm/remove-all-subtasks.md +94 -0
- package/.claude/commands/tm/remove-dependency.md +65 -0
- package/.claude/commands/tm/remove-subtask.md +87 -0
- package/.claude/commands/tm/remove-subtasks.md +89 -0
- package/.claude/commands/tm/remove-task.md +110 -0
- package/.claude/commands/tm/setup-models.md +52 -0
- package/.claude/commands/tm/show-task.md +85 -0
- package/.claude/commands/tm/smart-workflow.md +58 -0
- package/.claude/commands/tm/sync-readme.md +120 -0
- package/.claude/commands/tm/tm-main.md +147 -0
- package/.claude/commands/tm/to-cancelled.md +58 -0
- package/.claude/commands/tm/to-deferred.md +50 -0
- package/.claude/commands/tm/to-done.md +47 -0
- package/.claude/commands/tm/to-in-progress.md +39 -0
- package/.claude/commands/tm/to-pending.md +35 -0
- package/.claude/commands/tm/to-review.md +43 -0
- package/.claude/commands/tm/update-single-task.md +122 -0
- package/.claude/commands/tm/update-task.md +75 -0
- package/.claude/commands/tm/update-tasks-from-id.md +111 -0
- package/.claude/commands/tm/validate-dependencies.md +72 -0
- package/.claude/commands/tm/view-models.md +52 -0
- package/.claude/settings.local.json +30 -0
- package/.cursor/commands/tm/add-dependency.md +55 -0
- package/.cursor/commands/tm/add-subtask.md +76 -0
- package/.cursor/commands/tm/add-task.md +78 -0
- package/.cursor/commands/tm/analyze-complexity.md +121 -0
- package/.cursor/commands/tm/analyze-project.md +97 -0
- package/.cursor/commands/tm/auto-implement-tasks.md +97 -0
- package/.cursor/commands/tm/command-pipeline.md +77 -0
- package/.cursor/commands/tm/complexity-report.md +117 -0
- package/.cursor/commands/tm/convert-task-to-subtask.md +71 -0
- package/.cursor/commands/tm/expand-all-tasks.md +51 -0
- package/.cursor/commands/tm/expand-task.md +49 -0
- package/.cursor/commands/tm/fix-dependencies.md +81 -0
- package/.cursor/commands/tm/help.md +98 -0
- package/.cursor/commands/tm/init-project-quick.md +46 -0
- package/.cursor/commands/tm/init-project.md +50 -0
- package/.cursor/commands/tm/install-taskmaster.md +117 -0
- package/.cursor/commands/tm/learn.md +103 -0
- package/.cursor/commands/tm/list-tasks-by-status.md +39 -0
- package/.cursor/commands/tm/list-tasks-with-subtasks.md +29 -0
- package/.cursor/commands/tm/list-tasks.md +43 -0
- package/.cursor/commands/tm/next-task.md +66 -0
- package/.cursor/commands/tm/parse-prd-with-research.md +48 -0
- package/.cursor/commands/tm/parse-prd.md +49 -0
- package/.cursor/commands/tm/project-status.md +64 -0
- package/.cursor/commands/tm/quick-install-taskmaster.md +22 -0
- package/.cursor/commands/tm/remove-all-subtasks.md +93 -0
- package/.cursor/commands/tm/remove-dependency.md +62 -0
- package/.cursor/commands/tm/remove-subtask.md +84 -0
- package/.cursor/commands/tm/remove-subtasks.md +86 -0
- package/.cursor/commands/tm/remove-task.md +107 -0
- package/.cursor/commands/tm/setup-models.md +51 -0
- package/.cursor/commands/tm/show-task.md +82 -0
- package/.cursor/commands/tm/smart-workflow.md +55 -0
- package/.cursor/commands/tm/sync-readme.md +117 -0
- package/.cursor/commands/tm/tm-main.md +146 -0
- package/.cursor/commands/tm/to-cancelled.md +55 -0
- package/.cursor/commands/tm/to-deferred.md +47 -0
- package/.cursor/commands/tm/to-done.md +44 -0
- package/.cursor/commands/tm/to-in-progress.md +36 -0
- package/.cursor/commands/tm/to-pending.md +32 -0
- package/.cursor/commands/tm/to-review.md +40 -0
- package/.cursor/commands/tm/update-single-task.md +119 -0
- package/.cursor/commands/tm/update-task.md +72 -0
- package/.cursor/commands/tm/update-tasks-from-id.md +108 -0
- package/.cursor/commands/tm/validate-dependencies.md +71 -0
- package/.cursor/commands/tm/view-models.md +51 -0
- package/.cursor/mcp.json +20 -0
- package/.cursor/rules/cursor_rules.mdc +53 -0
- package/.cursor/rules/self_improve.mdc +72 -0
- package/.cursor/rules/taskmaster/dev_workflow.mdc +424 -0
- package/.cursor/rules/taskmaster/taskmaster.mdc +573 -0
- package/.env.example +12 -0
- package/.gemini/commands/tm/add-dependency.toml +58 -0
- package/.gemini/commands/tm/add-subtask.toml +79 -0
- package/.gemini/commands/tm/add-task.toml +81 -0
- package/.gemini/commands/tm/analyze-complexity.toml +124 -0
- package/.gemini/commands/tm/analyze-project.toml +100 -0
- package/.gemini/commands/tm/auto-implement-tasks.toml +100 -0
- package/.gemini/commands/tm/command-pipeline.toml +80 -0
- package/.gemini/commands/tm/complexity-report.toml +120 -0
- package/.gemini/commands/tm/convert-task-to-subtask.toml +74 -0
- package/.gemini/commands/tm/expand-all-tasks.toml +54 -0
- package/.gemini/commands/tm/expand-task.toml +52 -0
- package/.gemini/commands/tm/fix-dependencies.toml +84 -0
- package/.gemini/commands/tm/help.toml +101 -0
- package/.gemini/commands/tm/init-project-quick.toml +49 -0
- package/.gemini/commands/tm/init-project.toml +53 -0
- package/.gemini/commands/tm/install-taskmaster.toml +120 -0
- package/.gemini/commands/tm/learn.toml +106 -0
- package/.gemini/commands/tm/list-tasks-by-status.toml +42 -0
- package/.gemini/commands/tm/list-tasks-with-subtasks.toml +32 -0
- package/.gemini/commands/tm/list-tasks.toml +46 -0
- package/.gemini/commands/tm/next-task.toml +69 -0
- package/.gemini/commands/tm/parse-prd-with-research.toml +51 -0
- package/.gemini/commands/tm/parse-prd.toml +52 -0
- package/.gemini/commands/tm/project-status.toml +67 -0
- package/.gemini/commands/tm/quick-install-taskmaster.toml +25 -0
- package/.gemini/commands/tm/remove-all-subtasks.toml +96 -0
- package/.gemini/commands/tm/remove-dependency.toml +65 -0
- package/.gemini/commands/tm/remove-subtask.toml +87 -0
- package/.gemini/commands/tm/remove-subtasks.toml +89 -0
- package/.gemini/commands/tm/remove-task.toml +110 -0
- package/.gemini/commands/tm/setup-models.toml +54 -0
- package/.gemini/commands/tm/show-task.toml +85 -0
- package/.gemini/commands/tm/smart-workflow.toml +58 -0
- package/.gemini/commands/tm/sync-readme.toml +120 -0
- package/.gemini/commands/tm/tm-main.toml +149 -0
- package/.gemini/commands/tm/to-cancelled.toml +58 -0
- package/.gemini/commands/tm/to-deferred.toml +50 -0
- package/.gemini/commands/tm/to-done.toml +47 -0
- package/.gemini/commands/tm/to-in-progress.toml +39 -0
- package/.gemini/commands/tm/to-pending.toml +35 -0
- package/.gemini/commands/tm/to-review.toml +43 -0
- package/.gemini/commands/tm/update-single-task.toml +122 -0
- package/.gemini/commands/tm/update-task.toml +75 -0
- package/.gemini/commands/tm/update-tasks-from-id.toml +111 -0
- package/.gemini/commands/tm/validate-dependencies.toml +74 -0
- package/.gemini/commands/tm/view-models.toml +54 -0
- package/.gemini/settings.json +20 -0
- package/.mcp.json +15 -0
- package/.releaserc.json +115 -0
- package/.taskmaster/CLAUDE.md +435 -0
- package/.taskmaster/config.json +44 -0
- package/.taskmaster/docs/prd.txt +584 -0
- package/.taskmaster/state.json +6 -0
- package/.taskmaster/tasks/tasks.json +304 -0
- package/.taskmaster/templates/example_prd.txt +47 -0
- package/.taskmaster/templates/example_prd_rpg.txt +511 -0
- package/CLAUDE.md +5 -0
- package/README.md +551 -0
- package/coverage/clover.xml +412 -0
- package/coverage/coverage-final.json +2 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +116 -0
- package/coverage/lcov-report/index.js.html +2884 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +896 -0
- package/internal-docs/CLAUDE.md +139 -0
- package/internal-docs/DEPLOYMENT.md +351 -0
- package/internal-docs/NPM_DEPLOYMENT_GUIDE.md +203 -0
- package/internal-docs/OBSIDIAN_PROJECT_PROMPT.md +302 -0
- package/internal-docs/TEST_RESULTS.md +153 -0
- package/internal-docs/TEST_SIMULATION.md +27 -0
- package/lib/index.d.ts +226 -39
- package/lib/index.js +767 -121
- package/package.json +54 -17
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Enhanced auto-implementation with intelligent code generation and testing.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
## Intelligent Auto-Implementation
|
|
6
|
+
|
|
7
|
+
Advanced implementation with context awareness and quality checks.
|
|
8
|
+
|
|
9
|
+
### 1. **Pre-Implementation Analysis**
|
|
10
|
+
|
|
11
|
+
Before starting:
|
|
12
|
+
- Analyze task complexity and requirements
|
|
13
|
+
- Check codebase patterns and conventions
|
|
14
|
+
- Identify similar completed tasks
|
|
15
|
+
- Assess test coverage needs
|
|
16
|
+
- Detect potential risks
|
|
17
|
+
|
|
18
|
+
### 2. **Smart Implementation Strategy**
|
|
19
|
+
|
|
20
|
+
Based on task type and context:
|
|
21
|
+
|
|
22
|
+
**Feature Tasks**
|
|
23
|
+
1. Research existing patterns
|
|
24
|
+
2. Design component architecture
|
|
25
|
+
3. Implement with tests
|
|
26
|
+
4. Integrate with system
|
|
27
|
+
5. Update documentation
|
|
28
|
+
|
|
29
|
+
**Bug Fix Tasks**
|
|
30
|
+
1. Reproduce issue
|
|
31
|
+
2. Identify root cause
|
|
32
|
+
3. Implement minimal fix
|
|
33
|
+
4. Add regression tests
|
|
34
|
+
5. Verify side effects
|
|
35
|
+
|
|
36
|
+
**Refactoring Tasks**
|
|
37
|
+
1. Analyze current structure
|
|
38
|
+
2. Plan incremental changes
|
|
39
|
+
3. Maintain test coverage
|
|
40
|
+
4. Refactor step-by-step
|
|
41
|
+
5. Verify behavior unchanged
|
|
42
|
+
|
|
43
|
+
### 3. **Code Intelligence**
|
|
44
|
+
|
|
45
|
+
**Pattern Recognition**
|
|
46
|
+
- Learn from existing code
|
|
47
|
+
- Follow team conventions
|
|
48
|
+
- Use preferred libraries
|
|
49
|
+
- Match style guidelines
|
|
50
|
+
|
|
51
|
+
**Test-Driven Approach**
|
|
52
|
+
- Write tests first when possible
|
|
53
|
+
- Ensure comprehensive coverage
|
|
54
|
+
- Include edge cases
|
|
55
|
+
- Performance considerations
|
|
56
|
+
|
|
57
|
+
### 4. **Progressive Implementation**
|
|
58
|
+
|
|
59
|
+
Step-by-step with validation:
|
|
60
|
+
```
|
|
61
|
+
Step 1/5: Setting up component structure ✓
|
|
62
|
+
Step 2/5: Implementing core logic ✓
|
|
63
|
+
Step 3/5: Adding error handling ⚡ (in progress)
|
|
64
|
+
Step 4/5: Writing tests ⏳
|
|
65
|
+
Step 5/5: Integration testing ⏳
|
|
66
|
+
|
|
67
|
+
Current: Adding try-catch blocks and validation...
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### 5. **Quality Assurance**
|
|
71
|
+
|
|
72
|
+
Automated checks:
|
|
73
|
+
- Linting and formatting
|
|
74
|
+
- Test execution
|
|
75
|
+
- Type checking
|
|
76
|
+
- Dependency validation
|
|
77
|
+
- Performance analysis
|
|
78
|
+
|
|
79
|
+
### 6. **Smart Recovery**
|
|
80
|
+
|
|
81
|
+
If issues arise:
|
|
82
|
+
- Diagnostic analysis
|
|
83
|
+
- Suggestion generation
|
|
84
|
+
- Fallback strategies
|
|
85
|
+
- Manual intervention points
|
|
86
|
+
- Learning from failures
|
|
87
|
+
|
|
88
|
+
### 7. **Post-Implementation**
|
|
89
|
+
|
|
90
|
+
After completion:
|
|
91
|
+
- Generate PR description
|
|
92
|
+
- Update documentation
|
|
93
|
+
- Log lessons learned
|
|
94
|
+
- Suggest follow-up tasks
|
|
95
|
+
- Update task relationships
|
|
96
|
+
|
|
97
|
+
Result: High-quality, production-ready implementations.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
Execute a pipeline of commands based on a specification.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
## Command Pipeline Execution
|
|
6
|
+
|
|
7
|
+
Parse pipeline specification from arguments. Supported formats:
|
|
8
|
+
|
|
9
|
+
### Simple Pipeline
|
|
10
|
+
`init → expand-all → sprint-plan`
|
|
11
|
+
|
|
12
|
+
### Conditional Pipeline
|
|
13
|
+
`status → if:pending>10 → sprint-plan → else → next`
|
|
14
|
+
|
|
15
|
+
### Iterative Pipeline
|
|
16
|
+
`for:pending-tasks → expand → complexity-check`
|
|
17
|
+
|
|
18
|
+
### Smart Pipeline Patterns
|
|
19
|
+
|
|
20
|
+
**1. Project Setup Pipeline**
|
|
21
|
+
```
|
|
22
|
+
init [prd] →
|
|
23
|
+
expand-all →
|
|
24
|
+
complexity-report →
|
|
25
|
+
sprint-plan →
|
|
26
|
+
show first-sprint
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**2. Daily Work Pipeline**
|
|
30
|
+
```
|
|
31
|
+
standup →
|
|
32
|
+
if:in-progress → continue →
|
|
33
|
+
else → next → start
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**3. Task Completion Pipeline**
|
|
37
|
+
```
|
|
38
|
+
complete [id] →
|
|
39
|
+
git-commit →
|
|
40
|
+
if:blocked-tasks-freed → show-freed →
|
|
41
|
+
next
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**4. Quality Check Pipeline**
|
|
45
|
+
```
|
|
46
|
+
list in-progress →
|
|
47
|
+
for:each → check-idle-time →
|
|
48
|
+
if:idle>1day → prompt-update
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Pipeline Features
|
|
52
|
+
|
|
53
|
+
**Variables**
|
|
54
|
+
- Store results: `status → $count=pending-count`
|
|
55
|
+
- Use in conditions: `if:$count>10`
|
|
56
|
+
- Pass between commands: `expand $high-priority-tasks`
|
|
57
|
+
|
|
58
|
+
**Error Handling**
|
|
59
|
+
- On failure: `try:complete → catch:show-blockers`
|
|
60
|
+
- Skip on error: `optional:test-run`
|
|
61
|
+
- Retry logic: `retry:3:commit`
|
|
62
|
+
|
|
63
|
+
**Parallel Execution**
|
|
64
|
+
- Parallel branches: `[analyze | test | lint]`
|
|
65
|
+
- Join results: `parallel → join:report`
|
|
66
|
+
|
|
67
|
+
### Execution Flow
|
|
68
|
+
|
|
69
|
+
1. Parse pipeline specification
|
|
70
|
+
2. Validate command sequence
|
|
71
|
+
3. Execute with state passing
|
|
72
|
+
4. Handle conditions and loops
|
|
73
|
+
5. Aggregate results
|
|
74
|
+
6. Show summary
|
|
75
|
+
|
|
76
|
+
This enables complex workflows like:
|
|
77
|
+
`parse-prd → expand-all → filter:complex>70 → assign:senior → sprint-plan:weighted`
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
Display the task complexity analysis report.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
View the detailed complexity analysis generated by analyze-complexity command.
|
|
6
|
+
|
|
7
|
+
## Viewing Complexity Report
|
|
8
|
+
|
|
9
|
+
Shows comprehensive task complexity analysis with actionable insights.
|
|
10
|
+
|
|
11
|
+
## Execution
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
task-master complexity-report [--file=<path>]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Report Location
|
|
18
|
+
|
|
19
|
+
Default: `.taskmaster/reports/complexity-analysis.md`
|
|
20
|
+
Custom: Specify with --file parameter
|
|
21
|
+
|
|
22
|
+
## Report Contents
|
|
23
|
+
|
|
24
|
+
### 1. **Executive Summary**
|
|
25
|
+
```
|
|
26
|
+
Complexity Analysis Summary
|
|
27
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
28
|
+
Analysis Date: 2024-01-15
|
|
29
|
+
Tasks Analyzed: 32
|
|
30
|
+
High Complexity: 5 (16%)
|
|
31
|
+
Medium Complexity: 12 (37%)
|
|
32
|
+
Low Complexity: 15 (47%)
|
|
33
|
+
|
|
34
|
+
Critical Findings:
|
|
35
|
+
- 5 tasks need immediate expansion
|
|
36
|
+
- 3 tasks have high technical risk
|
|
37
|
+
- 2 tasks block critical path
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### 2. **Detailed Task Analysis**
|
|
41
|
+
For each complex task:
|
|
42
|
+
- Complexity score breakdown
|
|
43
|
+
- Contributing factors
|
|
44
|
+
- Specific risks identified
|
|
45
|
+
- Expansion recommendations
|
|
46
|
+
- Similar completed tasks
|
|
47
|
+
|
|
48
|
+
### 3. **Risk Matrix**
|
|
49
|
+
Visual representation:
|
|
50
|
+
```
|
|
51
|
+
Risk vs Complexity Matrix
|
|
52
|
+
━━━━━━━━━━━━━━━━━━━━━━━
|
|
53
|
+
High Risk | #5(9) #12(8) | #23(6)
|
|
54
|
+
Med Risk | #34(7) | #45(5) #67(5)
|
|
55
|
+
Low Risk | #78(8) | [15 tasks]
|
|
56
|
+
| High Complex | Med Complex
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 4. **Recommendations**
|
|
60
|
+
|
|
61
|
+
**Immediate Actions:**
|
|
62
|
+
1. Expand task #5 - Critical path + high complexity
|
|
63
|
+
2. Expand task #12 - High risk + dependencies
|
|
64
|
+
3. Review task #34 - Consider splitting
|
|
65
|
+
|
|
66
|
+
**Sprint Planning:**
|
|
67
|
+
- Don't schedule multiple high-complexity tasks together
|
|
68
|
+
- Ensure expertise available for complex tasks
|
|
69
|
+
- Build in buffer time for unknowns
|
|
70
|
+
|
|
71
|
+
## Interactive Features
|
|
72
|
+
|
|
73
|
+
When viewing report:
|
|
74
|
+
1. **Quick Actions**
|
|
75
|
+
- Press 'e' to expand a task
|
|
76
|
+
- Press 'd' for task details
|
|
77
|
+
- Press 'r' to refresh analysis
|
|
78
|
+
|
|
79
|
+
2. **Filtering**
|
|
80
|
+
- View by complexity level
|
|
81
|
+
- Filter by risk factors
|
|
82
|
+
- Show only actionable items
|
|
83
|
+
|
|
84
|
+
3. **Export Options**
|
|
85
|
+
- Markdown format
|
|
86
|
+
- CSV for spreadsheets
|
|
87
|
+
- JSON for tools
|
|
88
|
+
|
|
89
|
+
## Report Intelligence
|
|
90
|
+
|
|
91
|
+
- Compares with historical data
|
|
92
|
+
- Shows complexity trends
|
|
93
|
+
- Identifies patterns
|
|
94
|
+
- Suggests process improvements
|
|
95
|
+
|
|
96
|
+
## Integration
|
|
97
|
+
|
|
98
|
+
Use report for:
|
|
99
|
+
- Sprint planning sessions
|
|
100
|
+
- Resource allocation
|
|
101
|
+
- Risk assessment
|
|
102
|
+
- Team discussions
|
|
103
|
+
- Client updates
|
|
104
|
+
|
|
105
|
+
## Example Usage
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
/taskmaster:complexity-report
|
|
109
|
+
→ Opens latest analysis
|
|
110
|
+
|
|
111
|
+
/taskmaster:complexity-report --file=archived/2024-01-01.md
|
|
112
|
+
→ View historical analysis
|
|
113
|
+
|
|
114
|
+
After viewing:
|
|
115
|
+
/taskmaster:expand 5
|
|
116
|
+
→ Expand high-complexity task
|
|
117
|
+
```
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
Convert an existing task into a subtask.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Parse parent ID and task ID to convert.
|
|
6
|
+
|
|
7
|
+
## Task Conversion
|
|
8
|
+
|
|
9
|
+
Converts an existing standalone task into a subtask of another task.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
- "move task 8 under 5"
|
|
14
|
+
- "make 8 a subtask of 5"
|
|
15
|
+
- "nest 8 in 5"
|
|
16
|
+
- "5 8" → make task 8 a subtask of task 5
|
|
17
|
+
|
|
18
|
+
## Execution
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
task-master add-subtask --parent=<parent-id> --task-id=<task-to-convert>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Pre-Conversion Checks
|
|
25
|
+
|
|
26
|
+
1. **Validation**
|
|
27
|
+
- Both tasks exist and are valid
|
|
28
|
+
- No circular parent relationships
|
|
29
|
+
- Task isn't already a subtask
|
|
30
|
+
- Logical hierarchy makes sense
|
|
31
|
+
|
|
32
|
+
2. **Impact Analysis**
|
|
33
|
+
- Dependencies that will be affected
|
|
34
|
+
- Tasks that depend on converting task
|
|
35
|
+
- Priority alignment needed
|
|
36
|
+
- Status compatibility
|
|
37
|
+
|
|
38
|
+
## Conversion Process
|
|
39
|
+
|
|
40
|
+
1. Change task ID from "8" to "5.1" (next available)
|
|
41
|
+
2. Update all dependency references
|
|
42
|
+
3. Inherit parent's context where appropriate
|
|
43
|
+
4. Adjust priorities if needed
|
|
44
|
+
5. Update time estimates
|
|
45
|
+
|
|
46
|
+
## Smart Features
|
|
47
|
+
|
|
48
|
+
- Preserve task history
|
|
49
|
+
- Maintain dependencies
|
|
50
|
+
- Update all references
|
|
51
|
+
- Create conversion log
|
|
52
|
+
|
|
53
|
+
## Example
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
/taskmaster:add-subtask/from-task 5 8
|
|
57
|
+
→ Converting: Task #8 becomes subtask #5.1
|
|
58
|
+
→ Updated: 3 dependency references
|
|
59
|
+
→ Parent task #5 now has 1 subtask
|
|
60
|
+
→ Note: Subtask inherits parent's priority
|
|
61
|
+
|
|
62
|
+
Before: #8 "Implement validation" (standalone)
|
|
63
|
+
After: #5.1 "Implement validation" (subtask of #5)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Post-Conversion
|
|
67
|
+
|
|
68
|
+
- Show new task hierarchy
|
|
69
|
+
- List updated dependencies
|
|
70
|
+
- Verify project integrity
|
|
71
|
+
- Suggest related conversions
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Expand all pending tasks that need subtasks.
|
|
2
|
+
|
|
3
|
+
## Bulk Task Expansion
|
|
4
|
+
|
|
5
|
+
Intelligently expands all tasks that would benefit from breakdown.
|
|
6
|
+
|
|
7
|
+
## Execution
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master expand --all
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Smart Selection
|
|
14
|
+
|
|
15
|
+
Only expands tasks that:
|
|
16
|
+
- Are marked as pending
|
|
17
|
+
- Have high complexity (>5)
|
|
18
|
+
- Lack existing subtasks
|
|
19
|
+
- Would benefit from breakdown
|
|
20
|
+
|
|
21
|
+
## Expansion Process
|
|
22
|
+
|
|
23
|
+
1. **Analysis Phase**
|
|
24
|
+
- Identify expansion candidates
|
|
25
|
+
- Group related tasks
|
|
26
|
+
- Plan expansion strategy
|
|
27
|
+
|
|
28
|
+
2. **Batch Processing**
|
|
29
|
+
- Expand tasks in logical order
|
|
30
|
+
- Maintain consistency
|
|
31
|
+
- Preserve relationships
|
|
32
|
+
- Optimize for parallelism
|
|
33
|
+
|
|
34
|
+
3. **Quality Control**
|
|
35
|
+
- Ensure subtask quality
|
|
36
|
+
- Avoid over-decomposition
|
|
37
|
+
- Maintain task coherence
|
|
38
|
+
- Update dependencies
|
|
39
|
+
|
|
40
|
+
## Options
|
|
41
|
+
|
|
42
|
+
- Add `force` to expand all regardless of complexity
|
|
43
|
+
- Add `research` for enhanced AI analysis
|
|
44
|
+
|
|
45
|
+
## Results
|
|
46
|
+
|
|
47
|
+
After bulk expansion:
|
|
48
|
+
- Summary of tasks expanded
|
|
49
|
+
- New subtask count
|
|
50
|
+
- Updated complexity metrics
|
|
51
|
+
- Suggested task order
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Break down a complex task into subtasks.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS (task ID)
|
|
4
|
+
|
|
5
|
+
## Intelligent Task Expansion
|
|
6
|
+
|
|
7
|
+
Analyzes a task and creates detailed subtasks for better manageability.
|
|
8
|
+
|
|
9
|
+
## Execution
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
task-master expand --id=$ARGUMENTS
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Expansion Process
|
|
16
|
+
|
|
17
|
+
1. **Task Analysis**
|
|
18
|
+
- Review task complexity
|
|
19
|
+
- Identify components
|
|
20
|
+
- Detect technical challenges
|
|
21
|
+
- Estimate time requirements
|
|
22
|
+
|
|
23
|
+
2. **Subtask Generation**
|
|
24
|
+
- Create 3-7 subtasks typically
|
|
25
|
+
- Each subtask 1-4 hours
|
|
26
|
+
- Logical implementation order
|
|
27
|
+
- Clear acceptance criteria
|
|
28
|
+
|
|
29
|
+
3. **Smart Breakdown**
|
|
30
|
+
- Setup/configuration tasks
|
|
31
|
+
- Core implementation
|
|
32
|
+
- Testing components
|
|
33
|
+
- Integration steps
|
|
34
|
+
- Documentation updates
|
|
35
|
+
|
|
36
|
+
## Enhanced Features
|
|
37
|
+
|
|
38
|
+
Based on task type:
|
|
39
|
+
- **Feature**: Setup → Implement → Test → Integrate
|
|
40
|
+
- **Bug Fix**: Reproduce → Diagnose → Fix → Verify
|
|
41
|
+
- **Refactor**: Analyze → Plan → Refactor → Validate
|
|
42
|
+
|
|
43
|
+
## Post-Expansion
|
|
44
|
+
|
|
45
|
+
After expansion:
|
|
46
|
+
1. Show subtask hierarchy
|
|
47
|
+
2. Update time estimates
|
|
48
|
+
3. Suggest implementation order
|
|
49
|
+
4. Highlight critical path
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Automatically fix dependency issues found during validation.
|
|
2
|
+
|
|
3
|
+
## Automatic Dependency Repair
|
|
4
|
+
|
|
5
|
+
Intelligently fixes common dependency problems while preserving project logic.
|
|
6
|
+
|
|
7
|
+
## Execution
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master fix-dependencies
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What Gets Fixed
|
|
14
|
+
|
|
15
|
+
### 1. **Auto-Fixable Issues**
|
|
16
|
+
- Remove references to deleted tasks
|
|
17
|
+
- Break simple circular dependencies
|
|
18
|
+
- Remove self-dependencies
|
|
19
|
+
- Clean up duplicate dependencies
|
|
20
|
+
|
|
21
|
+
### 2. **Smart Resolutions**
|
|
22
|
+
- Reorder dependencies to maintain logic
|
|
23
|
+
- Suggest task merging for over-dependent tasks
|
|
24
|
+
- Flatten unnecessary dependency chains
|
|
25
|
+
- Remove redundant transitive dependencies
|
|
26
|
+
|
|
27
|
+
### 3. **Manual Review Required**
|
|
28
|
+
- Complex circular dependencies
|
|
29
|
+
- Critical path modifications
|
|
30
|
+
- Business logic dependencies
|
|
31
|
+
- High-impact changes
|
|
32
|
+
|
|
33
|
+
## Fix Process
|
|
34
|
+
|
|
35
|
+
1. **Analysis Phase**
|
|
36
|
+
- Run validation check
|
|
37
|
+
- Categorize issues by type
|
|
38
|
+
- Determine fix strategy
|
|
39
|
+
|
|
40
|
+
2. **Execution Phase**
|
|
41
|
+
- Apply automatic fixes
|
|
42
|
+
- Log all changes made
|
|
43
|
+
- Preserve task relationships
|
|
44
|
+
|
|
45
|
+
3. **Verification Phase**
|
|
46
|
+
- Re-validate after fixes
|
|
47
|
+
- Show before/after comparison
|
|
48
|
+
- Highlight manual fixes needed
|
|
49
|
+
|
|
50
|
+
## Smart Features
|
|
51
|
+
|
|
52
|
+
- Preserves intended task flow
|
|
53
|
+
- Minimal disruption approach
|
|
54
|
+
- Creates fix history/log
|
|
55
|
+
- Suggests manual interventions
|
|
56
|
+
|
|
57
|
+
## Output Example
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
Dependency Auto-Fix Report
|
|
61
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
62
|
+
Fixed Automatically:
|
|
63
|
+
✅ Removed 2 references to deleted tasks
|
|
64
|
+
✅ Resolved 1 self-dependency
|
|
65
|
+
✅ Cleaned 3 redundant dependencies
|
|
66
|
+
|
|
67
|
+
Manual Review Needed:
|
|
68
|
+
⚠️ Complex circular dependency: #12 → #15 → #18 → #12
|
|
69
|
+
Suggestion: Make #15 not depend on #12
|
|
70
|
+
⚠️ Task #45 has 8 dependencies
|
|
71
|
+
Suggestion: Break into subtasks
|
|
72
|
+
|
|
73
|
+
Run '/taskmaster:validate-dependencies' to verify fixes
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Safety
|
|
77
|
+
|
|
78
|
+
- Preview mode available
|
|
79
|
+
- Rollback capability
|
|
80
|
+
- Change logging
|
|
81
|
+
- No data loss
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
Show help for Task Master AI commands.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Display help for Task Master commands and available options.
|
|
6
|
+
|
|
7
|
+
## Task Master AI Command Help
|
|
8
|
+
|
|
9
|
+
### Quick Navigation
|
|
10
|
+
|
|
11
|
+
Type `/taskmaster:` and use tab completion to explore all commands.
|
|
12
|
+
|
|
13
|
+
### Command Categories
|
|
14
|
+
|
|
15
|
+
#### 🚀 Setup & Installation
|
|
16
|
+
- `/taskmaster:install-taskmaster` - Comprehensive installation guide
|
|
17
|
+
- `/taskmaster:quick-install-taskmaster` - One-line global install
|
|
18
|
+
|
|
19
|
+
#### 📋 Project Setup
|
|
20
|
+
- `/taskmaster:init-project` - Initialize new project
|
|
21
|
+
- `/taskmaster:init-project-quick` - Quick setup with auto-confirm
|
|
22
|
+
- `/taskmaster:view-models` - View AI configuration
|
|
23
|
+
- `/taskmaster:setup-models` - Configure AI providers
|
|
24
|
+
|
|
25
|
+
#### 🎯 Task Generation
|
|
26
|
+
- `/taskmaster:parse-prd` - Generate tasks from PRD
|
|
27
|
+
- `/taskmaster:parse-prd-with-research` - Enhanced parsing
|
|
28
|
+
- `/taskmaster:generate-tasks` - Create task files
|
|
29
|
+
|
|
30
|
+
#### 📝 Task Management
|
|
31
|
+
- `/taskmaster:list-tasks` - List all tasks
|
|
32
|
+
- `/taskmaster:list-tasks-by-status` - List tasks filtered by status
|
|
33
|
+
- `/taskmaster:list-tasks-with-subtasks` - List tasks with subtasks
|
|
34
|
+
- `/taskmaster:show-task` - Display task details
|
|
35
|
+
- `/taskmaster:add-task` - Create new task
|
|
36
|
+
- `/taskmaster:update-task` - Update single task
|
|
37
|
+
- `/taskmaster:update-tasks-from-id` - Update multiple tasks
|
|
38
|
+
- `/taskmaster:next-task` - Get next task recommendation
|
|
39
|
+
|
|
40
|
+
#### 🔄 Status Management
|
|
41
|
+
- `/taskmaster:to-pending` - Set task to pending
|
|
42
|
+
- `/taskmaster:to-in-progress` - Set task to in-progress
|
|
43
|
+
- `/taskmaster:to-done` - Set task to done
|
|
44
|
+
- `/taskmaster:to-review` - Set task to review
|
|
45
|
+
- `/taskmaster:to-deferred` - Set task to deferred
|
|
46
|
+
- `/taskmaster:to-cancelled` - Set task to cancelled
|
|
47
|
+
|
|
48
|
+
#### 🔍 Analysis & Breakdown
|
|
49
|
+
- `/taskmaster:analyze-complexity` - Analyze task complexity
|
|
50
|
+
- `/taskmaster:complexity-report` - View complexity report
|
|
51
|
+
- `/taskmaster:expand-task` - Break down complex task
|
|
52
|
+
- `/taskmaster:expand-all-tasks` - Expand all eligible tasks
|
|
53
|
+
|
|
54
|
+
#### 🔗 Dependencies
|
|
55
|
+
- `/taskmaster:add-dependency` - Add task dependency
|
|
56
|
+
- `/taskmaster:remove-dependency` - Remove dependency
|
|
57
|
+
- `/taskmaster:validate-dependencies` - Check for issues
|
|
58
|
+
- `/taskmaster:fix-dependencies` - Auto-fix dependency issues
|
|
59
|
+
|
|
60
|
+
#### 📦 Subtasks
|
|
61
|
+
- `/taskmaster:add-subtask` - Add subtask to task
|
|
62
|
+
- `/taskmaster:convert-task-to-subtask` - Convert task to subtask
|
|
63
|
+
- `/taskmaster:remove-subtask` - Remove subtask
|
|
64
|
+
- `/taskmaster:remove-subtasks` - Clear specific task subtasks
|
|
65
|
+
- `/taskmaster:remove-all-subtasks` - Clear all subtasks
|
|
66
|
+
|
|
67
|
+
#### 🗑️ Task Removal
|
|
68
|
+
- `/taskmaster:remove-task` - Remove task permanently
|
|
69
|
+
|
|
70
|
+
#### 🤖 Workflows
|
|
71
|
+
- `/taskmaster:smart-workflow` - Intelligent workflows
|
|
72
|
+
- `/taskmaster:command-pipeline` - Command chaining
|
|
73
|
+
- `/taskmaster:auto-implement-tasks` - Auto-implementation
|
|
74
|
+
|
|
75
|
+
#### 📊 Utilities
|
|
76
|
+
- `/taskmaster:analyze-project` - Project analysis
|
|
77
|
+
- `/taskmaster:project-status` - Project dashboard
|
|
78
|
+
- `/taskmaster:sync-readme` - Sync README with tasks
|
|
79
|
+
- `/taskmaster:learn` - Interactive learning
|
|
80
|
+
- `/taskmaster:tm-main` - Main Task Master interface
|
|
81
|
+
|
|
82
|
+
### Quick Start Examples
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
/taskmaster:list-tasks
|
|
86
|
+
/taskmaster:show-task 1.2
|
|
87
|
+
/taskmaster:add-task
|
|
88
|
+
/taskmaster:next-task
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Getting Started
|
|
92
|
+
|
|
93
|
+
1. Install: `/taskmaster:quick-install-taskmaster`
|
|
94
|
+
2. Initialize: `/taskmaster:init-project-quick`
|
|
95
|
+
3. Learn: `/taskmaster:learn`
|
|
96
|
+
4. Work: `/taskmaster:smart-workflow`
|
|
97
|
+
|
|
98
|
+
For detailed command info, run the specific command with `--help` or check command documentation.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Quick initialization with auto-confirmation.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Initialize a Task Master project without prompts, accepting all defaults.
|
|
6
|
+
|
|
7
|
+
## Quick Setup
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master init -y
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What It Does
|
|
14
|
+
|
|
15
|
+
1. Creates `.taskmaster/` directory structure
|
|
16
|
+
2. Initializes empty `tasks.json`
|
|
17
|
+
3. Sets up default configuration
|
|
18
|
+
4. Uses directory name as project name
|
|
19
|
+
5. Skips all confirmation prompts
|
|
20
|
+
|
|
21
|
+
## Smart Defaults
|
|
22
|
+
|
|
23
|
+
- Project name: Current directory name
|
|
24
|
+
- Description: "Task Master Project"
|
|
25
|
+
- Model config: Existing environment vars
|
|
26
|
+
- Task structure: Standard format
|
|
27
|
+
|
|
28
|
+
## Next Steps
|
|
29
|
+
|
|
30
|
+
After quick init:
|
|
31
|
+
1. Configure AI models if needed:
|
|
32
|
+
```
|
|
33
|
+
/taskmaster:models/setup
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
2. Parse PRD if available:
|
|
37
|
+
```
|
|
38
|
+
/taskmaster:parse-prd <file>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
3. Or create first task:
|
|
42
|
+
```
|
|
43
|
+
/taskmaster:add-task create initial setup
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Perfect for rapid project setup!
|