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,120 @@
|
|
|
1
|
+
Complexity Report
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
Display the task complexity analysis report.
|
|
5
|
+
|
|
6
|
+
Arguments: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
View the detailed complexity analysis generated by analyze-complexity command.
|
|
9
|
+
|
|
10
|
+
## Viewing Complexity Report
|
|
11
|
+
|
|
12
|
+
Shows comprehensive task complexity analysis with actionable insights.
|
|
13
|
+
|
|
14
|
+
## Execution
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
task-master complexity-report [--file=<path>]
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Report Location
|
|
21
|
+
|
|
22
|
+
Default: `.taskmaster/reports/complexity-analysis.md`
|
|
23
|
+
Custom: Specify with --file parameter
|
|
24
|
+
|
|
25
|
+
## Report Contents
|
|
26
|
+
|
|
27
|
+
### 1. **Executive Summary**
|
|
28
|
+
```
|
|
29
|
+
Complexity Analysis Summary
|
|
30
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
31
|
+
Analysis Date: 2024-01-15
|
|
32
|
+
Tasks Analyzed: 32
|
|
33
|
+
High Complexity: 5 (16%)
|
|
34
|
+
Medium Complexity: 12 (37%)
|
|
35
|
+
Low Complexity: 15 (47%)
|
|
36
|
+
|
|
37
|
+
Critical Findings:
|
|
38
|
+
- 5 tasks need immediate expansion
|
|
39
|
+
- 3 tasks have high technical risk
|
|
40
|
+
- 2 tasks block critical path
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 2. **Detailed Task Analysis**
|
|
44
|
+
For each complex task:
|
|
45
|
+
- Complexity score breakdown
|
|
46
|
+
- Contributing factors
|
|
47
|
+
- Specific risks identified
|
|
48
|
+
- Expansion recommendations
|
|
49
|
+
- Similar completed tasks
|
|
50
|
+
|
|
51
|
+
### 3. **Risk Matrix**
|
|
52
|
+
Visual representation:
|
|
53
|
+
```
|
|
54
|
+
Risk vs Complexity Matrix
|
|
55
|
+
━━━━━━━━━━━━━━━━━━━━━━━
|
|
56
|
+
High Risk | #5(9) #12(8) | #23(6)
|
|
57
|
+
Med Risk | #34(7) | #45(5) #67(5)
|
|
58
|
+
Low Risk | #78(8) | [15 tasks]
|
|
59
|
+
| High Complex | Med Complex
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 4. **Recommendations**
|
|
63
|
+
|
|
64
|
+
**Immediate Actions:**
|
|
65
|
+
1. Expand task #5 - Critical path + high complexity
|
|
66
|
+
2. Expand task #12 - High risk + dependencies
|
|
67
|
+
3. Review task #34 - Consider splitting
|
|
68
|
+
|
|
69
|
+
**Sprint Planning:**
|
|
70
|
+
- Don't schedule multiple high-complexity tasks together
|
|
71
|
+
- Ensure expertise available for complex tasks
|
|
72
|
+
- Build in buffer time for unknowns
|
|
73
|
+
|
|
74
|
+
## Interactive Features
|
|
75
|
+
|
|
76
|
+
When viewing report:
|
|
77
|
+
1. **Quick Actions**
|
|
78
|
+
- Press 'e' to expand a task
|
|
79
|
+
- Press 'd' for task details
|
|
80
|
+
- Press 'r' to refresh analysis
|
|
81
|
+
|
|
82
|
+
2. **Filtering**
|
|
83
|
+
- View by complexity level
|
|
84
|
+
- Filter by risk factors
|
|
85
|
+
- Show only actionable items
|
|
86
|
+
|
|
87
|
+
3. **Export Options**
|
|
88
|
+
- Markdown format
|
|
89
|
+
- CSV for spreadsheets
|
|
90
|
+
- JSON for tools
|
|
91
|
+
|
|
92
|
+
## Report Intelligence
|
|
93
|
+
|
|
94
|
+
- Compares with historical data
|
|
95
|
+
- Shows complexity trends
|
|
96
|
+
- Identifies patterns
|
|
97
|
+
- Suggests process improvements
|
|
98
|
+
|
|
99
|
+
## Integration
|
|
100
|
+
|
|
101
|
+
Use report for:
|
|
102
|
+
- Sprint planning sessions
|
|
103
|
+
- Resource allocation
|
|
104
|
+
- Risk assessment
|
|
105
|
+
- Team discussions
|
|
106
|
+
- Client updates
|
|
107
|
+
|
|
108
|
+
## Example Usage
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
/taskmaster:complexity-report
|
|
112
|
+
→ Opens latest analysis
|
|
113
|
+
|
|
114
|
+
/taskmaster:complexity-report --file=archived/2024-01-01.md
|
|
115
|
+
→ View historical analysis
|
|
116
|
+
|
|
117
|
+
After viewing:
|
|
118
|
+
/taskmaster:expand 5
|
|
119
|
+
→ Expand high-complexity task
|
|
120
|
+
```
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
Convert Task To Subtask
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
Convert an existing task into a subtask.
|
|
5
|
+
|
|
6
|
+
Arguments: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Parse parent ID and task ID to convert.
|
|
9
|
+
|
|
10
|
+
## Task Conversion
|
|
11
|
+
|
|
12
|
+
Converts an existing standalone task into a subtask of another task.
|
|
13
|
+
|
|
14
|
+
## Argument Parsing
|
|
15
|
+
|
|
16
|
+
- "move task 8 under 5"
|
|
17
|
+
- "make 8 a subtask of 5"
|
|
18
|
+
- "nest 8 in 5"
|
|
19
|
+
- "5 8" → make task 8 a subtask of task 5
|
|
20
|
+
|
|
21
|
+
## Execution
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
task-master add-subtask --parent=<parent-id> --task-id=<task-to-convert>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Pre-Conversion Checks
|
|
28
|
+
|
|
29
|
+
1. **Validation**
|
|
30
|
+
- Both tasks exist and are valid
|
|
31
|
+
- No circular parent relationships
|
|
32
|
+
- Task isn't already a subtask
|
|
33
|
+
- Logical hierarchy makes sense
|
|
34
|
+
|
|
35
|
+
2. **Impact Analysis**
|
|
36
|
+
- Dependencies that will be affected
|
|
37
|
+
- Tasks that depend on converting task
|
|
38
|
+
- Priority alignment needed
|
|
39
|
+
- Status compatibility
|
|
40
|
+
|
|
41
|
+
## Conversion Process
|
|
42
|
+
|
|
43
|
+
1. Change task ID from "8" to "5.1" (next available)
|
|
44
|
+
2. Update all dependency references
|
|
45
|
+
3. Inherit parent's context where appropriate
|
|
46
|
+
4. Adjust priorities if needed
|
|
47
|
+
5. Update time estimates
|
|
48
|
+
|
|
49
|
+
## Smart Features
|
|
50
|
+
|
|
51
|
+
- Preserve task history
|
|
52
|
+
- Maintain dependencies
|
|
53
|
+
- Update all references
|
|
54
|
+
- Create conversion log
|
|
55
|
+
|
|
56
|
+
## Example
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
/taskmaster:add-subtask/from-task 5 8
|
|
60
|
+
→ Converting: Task #8 becomes subtask #5.1
|
|
61
|
+
→ Updated: 3 dependency references
|
|
62
|
+
→ Parent task #5 now has 1 subtask
|
|
63
|
+
→ Note: Subtask inherits parent's priority
|
|
64
|
+
|
|
65
|
+
Before: #8 "Implement validation" (standalone)
|
|
66
|
+
After: #5.1 "Implement validation" (subtask of #5)
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Post-Conversion
|
|
70
|
+
|
|
71
|
+
- Show new task hierarchy
|
|
72
|
+
- List updated dependencies
|
|
73
|
+
- Verify project integrity
|
|
74
|
+
- Suggest related conversions
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
Expand All Tasks
|
|
2
|
+
Expand all pending tasks that need subtasks.
|
|
3
|
+
|
|
4
|
+
## Bulk Task Expansion
|
|
5
|
+
|
|
6
|
+
Intelligently expands all tasks that would benefit from breakdown.
|
|
7
|
+
|
|
8
|
+
## Execution
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
task-master expand --all
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Smart Selection
|
|
15
|
+
|
|
16
|
+
Only expands tasks that:
|
|
17
|
+
- Are marked as pending
|
|
18
|
+
- Have high complexity (>5)
|
|
19
|
+
- Lack existing subtasks
|
|
20
|
+
- Would benefit from breakdown
|
|
21
|
+
|
|
22
|
+
## Expansion Process
|
|
23
|
+
|
|
24
|
+
1. **Analysis Phase**
|
|
25
|
+
- Identify expansion candidates
|
|
26
|
+
- Group related tasks
|
|
27
|
+
- Plan expansion strategy
|
|
28
|
+
|
|
29
|
+
2. **Batch Processing**
|
|
30
|
+
- Expand tasks in logical order
|
|
31
|
+
- Maintain consistency
|
|
32
|
+
- Preserve relationships
|
|
33
|
+
- Optimize for parallelism
|
|
34
|
+
|
|
35
|
+
3. **Quality Control**
|
|
36
|
+
- Ensure subtask quality
|
|
37
|
+
- Avoid over-decomposition
|
|
38
|
+
- Maintain task coherence
|
|
39
|
+
- Update dependencies
|
|
40
|
+
|
|
41
|
+
## Options
|
|
42
|
+
|
|
43
|
+
- Add `force` to expand all regardless of complexity
|
|
44
|
+
- Add `research` for enhanced AI analysis
|
|
45
|
+
|
|
46
|
+
## Results
|
|
47
|
+
|
|
48
|
+
After bulk expansion:
|
|
49
|
+
- Summary of tasks expanded
|
|
50
|
+
- New subtask count
|
|
51
|
+
- Updated complexity metrics
|
|
52
|
+
- Suggested task order
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
Expand Task
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
Break down a complex task into subtasks.
|
|
5
|
+
|
|
6
|
+
Arguments: $ARGUMENTS (task ID)
|
|
7
|
+
|
|
8
|
+
## Intelligent Task Expansion
|
|
9
|
+
|
|
10
|
+
Analyzes a task and creates detailed subtasks for better manageability.
|
|
11
|
+
|
|
12
|
+
## Execution
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
task-master expand --id=$ARGUMENTS
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Expansion Process
|
|
19
|
+
|
|
20
|
+
1. **Task Analysis**
|
|
21
|
+
- Review task complexity
|
|
22
|
+
- Identify components
|
|
23
|
+
- Detect technical challenges
|
|
24
|
+
- Estimate time requirements
|
|
25
|
+
|
|
26
|
+
2. **Subtask Generation**
|
|
27
|
+
- Create 3-7 subtasks typically
|
|
28
|
+
- Each subtask 1-4 hours
|
|
29
|
+
- Logical implementation order
|
|
30
|
+
- Clear acceptance criteria
|
|
31
|
+
|
|
32
|
+
3. **Smart Breakdown**
|
|
33
|
+
- Setup/configuration tasks
|
|
34
|
+
- Core implementation
|
|
35
|
+
- Testing components
|
|
36
|
+
- Integration steps
|
|
37
|
+
- Documentation updates
|
|
38
|
+
|
|
39
|
+
## Enhanced Features
|
|
40
|
+
|
|
41
|
+
Based on task type:
|
|
42
|
+
- **Feature**: Setup → Implement → Test → Integrate
|
|
43
|
+
- **Bug Fix**: Reproduce → Diagnose → Fix → Verify
|
|
44
|
+
- **Refactor**: Analyze → Plan → Refactor → Validate
|
|
45
|
+
|
|
46
|
+
## Post-Expansion
|
|
47
|
+
|
|
48
|
+
After expansion:
|
|
49
|
+
1. Show subtask hierarchy
|
|
50
|
+
2. Update time estimates
|
|
51
|
+
3. Suggest implementation order
|
|
52
|
+
4. Highlight critical path
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Fix Dependencies
|
|
2
|
+
Automatically fix dependency issues found during validation.
|
|
3
|
+
|
|
4
|
+
## Automatic Dependency Repair
|
|
5
|
+
|
|
6
|
+
Intelligently fixes common dependency problems while preserving project logic.
|
|
7
|
+
|
|
8
|
+
## Execution
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
task-master fix-dependencies
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## What Gets Fixed
|
|
15
|
+
|
|
16
|
+
### 1. **Auto-Fixable Issues**
|
|
17
|
+
- Remove references to deleted tasks
|
|
18
|
+
- Break simple circular dependencies
|
|
19
|
+
- Remove self-dependencies
|
|
20
|
+
- Clean up duplicate dependencies
|
|
21
|
+
|
|
22
|
+
### 2. **Smart Resolutions**
|
|
23
|
+
- Reorder dependencies to maintain logic
|
|
24
|
+
- Suggest task merging for over-dependent tasks
|
|
25
|
+
- Flatten unnecessary dependency chains
|
|
26
|
+
- Remove redundant transitive dependencies
|
|
27
|
+
|
|
28
|
+
### 3. **Manual Review Required**
|
|
29
|
+
- Complex circular dependencies
|
|
30
|
+
- Critical path modifications
|
|
31
|
+
- Business logic dependencies
|
|
32
|
+
- High-impact changes
|
|
33
|
+
|
|
34
|
+
## Fix Process
|
|
35
|
+
|
|
36
|
+
1. **Analysis Phase**
|
|
37
|
+
- Run validation check
|
|
38
|
+
- Categorize issues by type
|
|
39
|
+
- Determine fix strategy
|
|
40
|
+
|
|
41
|
+
2. **Execution Phase**
|
|
42
|
+
- Apply automatic fixes
|
|
43
|
+
- Log all changes made
|
|
44
|
+
- Preserve task relationships
|
|
45
|
+
|
|
46
|
+
3. **Verification Phase**
|
|
47
|
+
- Re-validate after fixes
|
|
48
|
+
- Show before/after comparison
|
|
49
|
+
- Highlight manual fixes needed
|
|
50
|
+
|
|
51
|
+
## Smart Features
|
|
52
|
+
|
|
53
|
+
- Preserves intended task flow
|
|
54
|
+
- Minimal disruption approach
|
|
55
|
+
- Creates fix history/log
|
|
56
|
+
- Suggests manual interventions
|
|
57
|
+
|
|
58
|
+
## Output Example
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
Dependency Auto-Fix Report
|
|
62
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
63
|
+
Fixed Automatically:
|
|
64
|
+
✅ Removed 2 references to deleted tasks
|
|
65
|
+
✅ Resolved 1 self-dependency
|
|
66
|
+
✅ Cleaned 3 redundant dependencies
|
|
67
|
+
|
|
68
|
+
Manual Review Needed:
|
|
69
|
+
⚠️ Complex circular dependency: #12 → #15 → #18 → #12
|
|
70
|
+
Suggestion: Make #15 not depend on #12
|
|
71
|
+
⚠️ Task #45 has 8 dependencies
|
|
72
|
+
Suggestion: Break into subtasks
|
|
73
|
+
|
|
74
|
+
Run '/taskmaster:validate-dependencies' to verify fixes
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Safety
|
|
78
|
+
|
|
79
|
+
- Preview mode available
|
|
80
|
+
- Rollback capability
|
|
81
|
+
- Change logging
|
|
82
|
+
- No data loss
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
Help
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
Show help for Task Master AI commands.
|
|
5
|
+
|
|
6
|
+
Arguments: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Display help for Task Master commands and available options.
|
|
9
|
+
|
|
10
|
+
## Task Master AI Command Help
|
|
11
|
+
|
|
12
|
+
### Quick Navigation
|
|
13
|
+
|
|
14
|
+
Type `/taskmaster:` and use tab completion to explore all commands.
|
|
15
|
+
|
|
16
|
+
### Command Categories
|
|
17
|
+
|
|
18
|
+
#### 🚀 Setup & Installation
|
|
19
|
+
- `/taskmaster:install-taskmaster` - Comprehensive installation guide
|
|
20
|
+
- `/taskmaster:quick-install-taskmaster` - One-line global install
|
|
21
|
+
|
|
22
|
+
#### 📋 Project Setup
|
|
23
|
+
- `/taskmaster:init-project` - Initialize new project
|
|
24
|
+
- `/taskmaster:init-project-quick` - Quick setup with auto-confirm
|
|
25
|
+
- `/taskmaster:view-models` - View AI configuration
|
|
26
|
+
- `/taskmaster:setup-models` - Configure AI providers
|
|
27
|
+
|
|
28
|
+
#### 🎯 Task Generation
|
|
29
|
+
- `/taskmaster:parse-prd` - Generate tasks from PRD
|
|
30
|
+
- `/taskmaster:parse-prd-with-research` - Enhanced parsing
|
|
31
|
+
- `/taskmaster:generate-tasks` - Create task files
|
|
32
|
+
|
|
33
|
+
#### 📝 Task Management
|
|
34
|
+
- `/taskmaster:list-tasks` - List all tasks
|
|
35
|
+
- `/taskmaster:list-tasks-by-status` - List tasks filtered by status
|
|
36
|
+
- `/taskmaster:list-tasks-with-subtasks` - List tasks with subtasks
|
|
37
|
+
- `/taskmaster:show-task` - Display task details
|
|
38
|
+
- `/taskmaster:add-task` - Create new task
|
|
39
|
+
- `/taskmaster:update-task` - Update single task
|
|
40
|
+
- `/taskmaster:update-tasks-from-id` - Update multiple tasks
|
|
41
|
+
- `/taskmaster:next-task` - Get next task recommendation
|
|
42
|
+
|
|
43
|
+
#### 🔄 Status Management
|
|
44
|
+
- `/taskmaster:to-pending` - Set task to pending
|
|
45
|
+
- `/taskmaster:to-in-progress` - Set task to in-progress
|
|
46
|
+
- `/taskmaster:to-done` - Set task to done
|
|
47
|
+
- `/taskmaster:to-review` - Set task to review
|
|
48
|
+
- `/taskmaster:to-deferred` - Set task to deferred
|
|
49
|
+
- `/taskmaster:to-cancelled` - Set task to cancelled
|
|
50
|
+
|
|
51
|
+
#### 🔍 Analysis & Breakdown
|
|
52
|
+
- `/taskmaster:analyze-complexity` - Analyze task complexity
|
|
53
|
+
- `/taskmaster:complexity-report` - View complexity report
|
|
54
|
+
- `/taskmaster:expand-task` - Break down complex task
|
|
55
|
+
- `/taskmaster:expand-all-tasks` - Expand all eligible tasks
|
|
56
|
+
|
|
57
|
+
#### 🔗 Dependencies
|
|
58
|
+
- `/taskmaster:add-dependency` - Add task dependency
|
|
59
|
+
- `/taskmaster:remove-dependency` - Remove dependency
|
|
60
|
+
- `/taskmaster:validate-dependencies` - Check for issues
|
|
61
|
+
- `/taskmaster:fix-dependencies` - Auto-fix dependency issues
|
|
62
|
+
|
|
63
|
+
#### 📦 Subtasks
|
|
64
|
+
- `/taskmaster:add-subtask` - Add subtask to task
|
|
65
|
+
- `/taskmaster:convert-task-to-subtask` - Convert task to subtask
|
|
66
|
+
- `/taskmaster:remove-subtask` - Remove subtask
|
|
67
|
+
- `/taskmaster:remove-subtasks` - Clear specific task subtasks
|
|
68
|
+
- `/taskmaster:remove-all-subtasks` - Clear all subtasks
|
|
69
|
+
|
|
70
|
+
#### 🗑️ Task Removal
|
|
71
|
+
- `/taskmaster:remove-task` - Remove task permanently
|
|
72
|
+
|
|
73
|
+
#### 🤖 Workflows
|
|
74
|
+
- `/taskmaster:smart-workflow` - Intelligent workflows
|
|
75
|
+
- `/taskmaster:command-pipeline` - Command chaining
|
|
76
|
+
- `/taskmaster:auto-implement-tasks` - Auto-implementation
|
|
77
|
+
|
|
78
|
+
#### 📊 Utilities
|
|
79
|
+
- `/taskmaster:analyze-project` - Project analysis
|
|
80
|
+
- `/taskmaster:project-status` - Project dashboard
|
|
81
|
+
- `/taskmaster:sync-readme` - Sync README with tasks
|
|
82
|
+
- `/taskmaster:learn` - Interactive learning
|
|
83
|
+
- `/taskmaster:tm-main` - Main Task Master interface
|
|
84
|
+
|
|
85
|
+
### Quick Start Examples
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
/taskmaster:list-tasks
|
|
89
|
+
/taskmaster:show-task 1.2
|
|
90
|
+
/taskmaster:add-task
|
|
91
|
+
/taskmaster:next-task
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Getting Started
|
|
95
|
+
|
|
96
|
+
1. Install: `/taskmaster:quick-install-taskmaster`
|
|
97
|
+
2. Initialize: `/taskmaster:init-project-quick`
|
|
98
|
+
3. Learn: `/taskmaster:learn`
|
|
99
|
+
4. Work: `/taskmaster:smart-workflow`
|
|
100
|
+
|
|
101
|
+
For detailed command info, run the specific command with `--help` or check command documentation.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Init Project Quick
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
Quick initialization with auto-confirmation.
|
|
5
|
+
|
|
6
|
+
Arguments: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Initialize a Task Master project without prompts, accepting all defaults.
|
|
9
|
+
|
|
10
|
+
## Quick Setup
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
task-master init -y
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## What It Does
|
|
17
|
+
|
|
18
|
+
1. Creates `.taskmaster/` directory structure
|
|
19
|
+
2. Initializes empty `tasks.json`
|
|
20
|
+
3. Sets up default configuration
|
|
21
|
+
4. Uses directory name as project name
|
|
22
|
+
5. Skips all confirmation prompts
|
|
23
|
+
|
|
24
|
+
## Smart Defaults
|
|
25
|
+
|
|
26
|
+
- Project name: Current directory name
|
|
27
|
+
- Description: "Task Master Project"
|
|
28
|
+
- Model config: Existing environment vars
|
|
29
|
+
- Task structure: Standard format
|
|
30
|
+
|
|
31
|
+
## Next Steps
|
|
32
|
+
|
|
33
|
+
After quick init:
|
|
34
|
+
1. Configure AI models if needed:
|
|
35
|
+
```
|
|
36
|
+
/taskmaster:models/setup
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
2. Parse PRD if available:
|
|
40
|
+
```
|
|
41
|
+
/taskmaster:parse-prd <file>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
3. Or create first task:
|
|
45
|
+
```
|
|
46
|
+
/taskmaster:add-task create initial setup
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Perfect for rapid project setup!
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Init Project
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
Initialize a new Task Master project.
|
|
5
|
+
|
|
6
|
+
Arguments: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Parse arguments to determine initialization preferences.
|
|
9
|
+
|
|
10
|
+
## Initialization Process
|
|
11
|
+
|
|
12
|
+
1. **Parse Arguments**
|
|
13
|
+
- PRD file path (if provided)
|
|
14
|
+
- Project name
|
|
15
|
+
- Auto-confirm flag (-y)
|
|
16
|
+
|
|
17
|
+
2. **Project Setup**
|
|
18
|
+
```bash
|
|
19
|
+
task-master init
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
3. **Smart Initialization**
|
|
23
|
+
- Detect existing project files
|
|
24
|
+
- Suggest project name from directory
|
|
25
|
+
- Check for git repository
|
|
26
|
+
- Verify AI provider configuration
|
|
27
|
+
|
|
28
|
+
## Configuration Options
|
|
29
|
+
|
|
30
|
+
Based on arguments:
|
|
31
|
+
- `quick` / `-y` → Skip confirmations
|
|
32
|
+
- `<file.md>` → Use as PRD after init
|
|
33
|
+
- `--name=<name>` → Set project name
|
|
34
|
+
- `--description=<desc>` → Set description
|
|
35
|
+
|
|
36
|
+
## Post-Initialization
|
|
37
|
+
|
|
38
|
+
After successful init:
|
|
39
|
+
1. Show project structure created
|
|
40
|
+
2. Verify AI models configured
|
|
41
|
+
3. Suggest next steps:
|
|
42
|
+
- Parse PRD if available
|
|
43
|
+
- Configure AI providers
|
|
44
|
+
- Set up git hooks
|
|
45
|
+
- Create first tasks
|
|
46
|
+
|
|
47
|
+
## Integration
|
|
48
|
+
|
|
49
|
+
If PRD file provided:
|
|
50
|
+
```
|
|
51
|
+
/taskmaster:init my-prd.md
|
|
52
|
+
→ Automatically runs parse-prd after init
|
|
53
|
+
```
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
Install TaskMaster
|
|
2
|
+
Check if Task Master is installed and install it if needed.
|
|
3
|
+
|
|
4
|
+
This command helps you get Task Master set up globally on your system.
|
|
5
|
+
|
|
6
|
+
## Detection and Installation Process
|
|
7
|
+
|
|
8
|
+
1. **Check Current Installation**
|
|
9
|
+
```bash
|
|
10
|
+
# Check if task-master command exists
|
|
11
|
+
which task-master || echo "Task Master not found"
|
|
12
|
+
|
|
13
|
+
# Check npm global packages
|
|
14
|
+
npm list -g task-master-ai
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
2. **System Requirements Check**
|
|
18
|
+
```bash
|
|
19
|
+
# Verify Node.js is installed
|
|
20
|
+
node --version
|
|
21
|
+
|
|
22
|
+
# Verify npm is installed
|
|
23
|
+
npm --version
|
|
24
|
+
|
|
25
|
+
# Check Node version (need 16+)
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
3. **Install Task Master Globally**
|
|
29
|
+
If not installed, run:
|
|
30
|
+
```bash
|
|
31
|
+
npm install -g task-master-ai
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
4. **Verify Installation**
|
|
35
|
+
```bash
|
|
36
|
+
# Check version
|
|
37
|
+
task-master --version
|
|
38
|
+
|
|
39
|
+
# Verify command is available
|
|
40
|
+
which task-master
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
5. **Initial Setup**
|
|
44
|
+
```bash
|
|
45
|
+
# Initialize in current directory
|
|
46
|
+
task-master init
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
6. **Configure AI Provider**
|
|
50
|
+
Ensure you have at least one AI provider API key set:
|
|
51
|
+
```bash
|
|
52
|
+
# Check current configuration
|
|
53
|
+
task-master models --status
|
|
54
|
+
|
|
55
|
+
# If no API keys found, guide setup
|
|
56
|
+
echo "You'll need at least one API key:"
|
|
57
|
+
echo "- ANTHROPIC_API_KEY for Claude"
|
|
58
|
+
echo "- OPENAI_API_KEY for GPT models"
|
|
59
|
+
echo "- PERPLEXITY_API_KEY for research"
|
|
60
|
+
echo ""
|
|
61
|
+
echo "Set them in your shell profile or .env file"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
7. **Quick Test**
|
|
65
|
+
```bash
|
|
66
|
+
# Create a test PRD
|
|
67
|
+
echo "Build a simple hello world API" > test-prd.txt
|
|
68
|
+
|
|
69
|
+
# Try parsing it
|
|
70
|
+
task-master parse-prd test-prd.txt -n 3
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Troubleshooting
|
|
74
|
+
|
|
75
|
+
If installation fails:
|
|
76
|
+
|
|
77
|
+
**Permission Errors:**
|
|
78
|
+
```bash
|
|
79
|
+
# Try with sudo (macOS/Linux)
|
|
80
|
+
sudo npm install -g task-master-ai
|
|
81
|
+
|
|
82
|
+
# Or fix npm permissions
|
|
83
|
+
npm config set prefix ~/.npm-global
|
|
84
|
+
export PATH=~/.npm-global/bin:$PATH
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Network Issues:**
|
|
88
|
+
```bash
|
|
89
|
+
# Use different registry
|
|
90
|
+
npm install -g task-master-ai --registry https://registry.npmjs.org/
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Node Version Issues:**
|
|
94
|
+
```bash
|
|
95
|
+
# Install Node 20+ via nvm
|
|
96
|
+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
|
97
|
+
nvm install 20
|
|
98
|
+
nvm use 20
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Success Confirmation
|
|
102
|
+
|
|
103
|
+
Once installed, you should see:
|
|
104
|
+
```
|
|
105
|
+
✅ Task Master installed
|
|
106
|
+
✅ Command 'task-master' available globally
|
|
107
|
+
✅ AI provider configured
|
|
108
|
+
✅ Ready to use slash commands!
|
|
109
|
+
|
|
110
|
+
Try: /taskmaster:init your-prd.md
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Next Steps
|
|
114
|
+
|
|
115
|
+
After installation:
|
|
116
|
+
1. Run `/taskmaster:status` to verify setup
|
|
117
|
+
2. Configure AI providers with `/taskmaster:setup-models`
|
|
118
|
+
3. Start using Task Master commands!
|