jell-utils 0.1.0 → 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 +17 -3
- 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/.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 +4 -138
- package/README.md +551 -0
- package/coverage/clover.xml +134 -22
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/index.html +21 -21
- package/coverage/lcov-report/index.js.html +854 -29
- package/coverage/lcov.info +246 -39
- package/internal-docs/CLAUDE.md +139 -0
- package/internal-docs/NPM_DEPLOYMENT_GUIDE.md +203 -0
- package/internal-docs/OBSIDIAN_PROJECT_PROMPT.md +302 -0
- package/lib/index.d.ts +88 -0
- package/lib/index.js +275 -0
- package/package.json +11 -3
- /package/{DEPLOYMENT.md → internal-docs/DEPLOYMENT.md} +0 -0
- /package/{TEST_RESULTS.md → internal-docs/TEST_RESULTS.md} +0 -0
- /package/{TEST_SIMULATION.md → internal-docs/TEST_SIMULATION.md} +0 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
Update Tasks From ID
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
Update multiple tasks starting from a specific ID.
|
|
5
|
+
|
|
6
|
+
Arguments: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Parse starting task ID and update context.
|
|
9
|
+
|
|
10
|
+
## Bulk Task Updates
|
|
11
|
+
|
|
12
|
+
Update multiple related tasks based on new requirements or context changes.
|
|
13
|
+
|
|
14
|
+
## Argument Parsing
|
|
15
|
+
|
|
16
|
+
- "from 5: add security requirements"
|
|
17
|
+
- "5 onwards: update API endpoints"
|
|
18
|
+
- "starting at 5: change to use new framework"
|
|
19
|
+
|
|
20
|
+
## Execution
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
task-master update --from=<id> --prompt="<context>"
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Update Process
|
|
27
|
+
|
|
28
|
+
### 1. **Task Selection**
|
|
29
|
+
Starting from specified ID:
|
|
30
|
+
- Include the task itself
|
|
31
|
+
- Include all dependent tasks
|
|
32
|
+
- Include related subtasks
|
|
33
|
+
- Smart boundary detection
|
|
34
|
+
|
|
35
|
+
### 2. **Context Application**
|
|
36
|
+
AI analyzes the update context and:
|
|
37
|
+
- Identifies what needs changing
|
|
38
|
+
- Maintains consistency
|
|
39
|
+
- Preserves completed work
|
|
40
|
+
- Updates related information
|
|
41
|
+
|
|
42
|
+
### 3. **Intelligent Updates**
|
|
43
|
+
- Modify descriptions appropriately
|
|
44
|
+
- Update test strategies
|
|
45
|
+
- Adjust time estimates
|
|
46
|
+
- Revise dependencies if needed
|
|
47
|
+
|
|
48
|
+
## Smart Features
|
|
49
|
+
|
|
50
|
+
1. **Scope Detection**
|
|
51
|
+
- Find natural task groupings
|
|
52
|
+
- Identify related features
|
|
53
|
+
- Stop at logical boundaries
|
|
54
|
+
- Avoid over-updating
|
|
55
|
+
|
|
56
|
+
2. **Consistency Maintenance**
|
|
57
|
+
- Keep naming conventions
|
|
58
|
+
- Preserve relationships
|
|
59
|
+
- Update cross-references
|
|
60
|
+
- Maintain task flow
|
|
61
|
+
|
|
62
|
+
3. **Change Preview**
|
|
63
|
+
```
|
|
64
|
+
Bulk Update Preview
|
|
65
|
+
━━━━━━━━━━━━━━━━━━
|
|
66
|
+
Starting from: Task #5
|
|
67
|
+
Tasks to update: 8 tasks + 12 subtasks
|
|
68
|
+
|
|
69
|
+
Context: "add security requirements"
|
|
70
|
+
|
|
71
|
+
Changes will include:
|
|
72
|
+
- Add security sections to descriptions
|
|
73
|
+
- Update test strategies for security
|
|
74
|
+
- Add security-related subtasks where needed
|
|
75
|
+
- Adjust time estimates (+20% average)
|
|
76
|
+
|
|
77
|
+
Continue? (y/n)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Example Updates
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
/taskmaster:update-tasks-from-id 5: change database to PostgreSQL
|
|
84
|
+
→ Analyzing impact starting from task #5
|
|
85
|
+
→ Found 6 related tasks to update
|
|
86
|
+
→ Updates will maintain consistency
|
|
87
|
+
→ Preview changes? (y/n)
|
|
88
|
+
|
|
89
|
+
Applied updates:
|
|
90
|
+
✓ Task #5: Updated connection logic references
|
|
91
|
+
✓ Task #6: Changed migration approach
|
|
92
|
+
✓ Task #7: Updated query syntax notes
|
|
93
|
+
✓ Task #8: Revised testing strategy
|
|
94
|
+
✓ Task #9: Updated deployment steps
|
|
95
|
+
✓ Task #12: Changed backup procedures
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Safety Features
|
|
99
|
+
|
|
100
|
+
- Preview all changes
|
|
101
|
+
- Selective confirmation
|
|
102
|
+
- Rollback capability
|
|
103
|
+
- Change logging
|
|
104
|
+
- Validation checks
|
|
105
|
+
|
|
106
|
+
## Post-Update
|
|
107
|
+
|
|
108
|
+
- Summary of changes
|
|
109
|
+
- Consistency verification
|
|
110
|
+
- Suggest review tasks
|
|
111
|
+
- Update timeline if needed
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Validate Dependencies
|
|
2
|
+
Validate all task dependencies for issues.
|
|
3
|
+
|
|
4
|
+
## Dependency Validation
|
|
5
|
+
|
|
6
|
+
Comprehensive check for dependency problems across the entire project.
|
|
7
|
+
|
|
8
|
+
## Execution
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
task-master validate-dependencies
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Validation Checks
|
|
15
|
+
|
|
16
|
+
1. **Circular Dependencies**
|
|
17
|
+
- A depends on B, B depends on A
|
|
18
|
+
- Complex circular chains
|
|
19
|
+
- Self-dependencies
|
|
20
|
+
|
|
21
|
+
2. **Missing Dependencies**
|
|
22
|
+
- References to non-existent tasks
|
|
23
|
+
- Deleted task references
|
|
24
|
+
- Invalid task IDs
|
|
25
|
+
|
|
26
|
+
3. **Logical Issues**
|
|
27
|
+
- Completed tasks depending on pending
|
|
28
|
+
- Cancelled tasks in dependency chains
|
|
29
|
+
- Impossible sequences
|
|
30
|
+
|
|
31
|
+
4. **Complexity Warnings**
|
|
32
|
+
- Over-complex dependency chains
|
|
33
|
+
- Too many dependencies per task
|
|
34
|
+
- Bottleneck tasks
|
|
35
|
+
|
|
36
|
+
## Smart Analysis
|
|
37
|
+
|
|
38
|
+
The validation provides:
|
|
39
|
+
- Visual dependency graph
|
|
40
|
+
- Critical path analysis
|
|
41
|
+
- Bottleneck identification
|
|
42
|
+
- Suggested optimizations
|
|
43
|
+
|
|
44
|
+
## Report Format
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
Dependency Validation Report
|
|
48
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
49
|
+
✅ No circular dependencies found
|
|
50
|
+
⚠️ 2 warnings found:
|
|
51
|
+
- Task #23 has 7 dependencies (consider breaking down)
|
|
52
|
+
- Task #45 blocks 5 other tasks (potential bottleneck)
|
|
53
|
+
❌ 1 error found:
|
|
54
|
+
- Task #67 depends on deleted task #66
|
|
55
|
+
|
|
56
|
+
Critical Path: #1 → #5 → #23 → #45 → #50 (15 days)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Actionable Output
|
|
60
|
+
|
|
61
|
+
For each issue found:
|
|
62
|
+
- Clear description
|
|
63
|
+
- Impact assessment
|
|
64
|
+
- Suggested fix
|
|
65
|
+
- Command to resolve
|
|
66
|
+
|
|
67
|
+
## Next Steps
|
|
68
|
+
|
|
69
|
+
After validation:
|
|
70
|
+
- Run `/taskmaster:fix-dependencies` to auto-fix
|
|
71
|
+
- Manually adjust problematic dependencies
|
|
72
|
+
- Rerun to verify fixes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
View Models
|
|
2
|
+
View current AI model configuration.
|
|
3
|
+
|
|
4
|
+
## Model Configuration Display
|
|
5
|
+
|
|
6
|
+
Shows the currently configured AI providers and models for Task Master.
|
|
7
|
+
|
|
8
|
+
## Execution
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
task-master models
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Information Displayed
|
|
15
|
+
|
|
16
|
+
1. **Main Provider**
|
|
17
|
+
- Model ID and name
|
|
18
|
+
- API key status (configured/missing)
|
|
19
|
+
- Usage: Primary task generation
|
|
20
|
+
|
|
21
|
+
2. **Research Provider**
|
|
22
|
+
- Model ID and name
|
|
23
|
+
- API key status
|
|
24
|
+
- Usage: Enhanced research mode
|
|
25
|
+
|
|
26
|
+
3. **Fallback Provider**
|
|
27
|
+
- Model ID and name
|
|
28
|
+
- API key status
|
|
29
|
+
- Usage: Backup when main fails
|
|
30
|
+
|
|
31
|
+
## Visual Status
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
Task Master AI Model Configuration
|
|
35
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
36
|
+
Main: ✅ claude-3-5-sonnet (configured)
|
|
37
|
+
Research: ✅ perplexity-sonar (configured)
|
|
38
|
+
Fallback: ⚠️ Not configured (optional)
|
|
39
|
+
|
|
40
|
+
Available Models:
|
|
41
|
+
- claude-3-5-sonnet
|
|
42
|
+
- gpt-4-turbo
|
|
43
|
+
- gpt-3.5-turbo
|
|
44
|
+
- perplexity-sonar
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Next Actions
|
|
48
|
+
|
|
49
|
+
Based on configuration:
|
|
50
|
+
- If missing API keys → Suggest setup
|
|
51
|
+
- If no research model → Explain benefits
|
|
52
|
+
- If all configured → Show usage tips
|
|
@@ -9,8 +9,22 @@
|
|
|
9
9
|
"Bash(echo:*)",
|
|
10
10
|
"Bash(git push:*)",
|
|
11
11
|
"Bash(npm run build:*)",
|
|
12
|
-
"Bash(npm run lint)"
|
|
12
|
+
"Bash(npm run lint)",
|
|
13
|
+
"mcp__task-master-ai__get_tasks",
|
|
14
|
+
"Bash(cat:*)",
|
|
15
|
+
"mcp__task-master-ai__parse_prd",
|
|
16
|
+
"Bash(task-master parse-prd:*)",
|
|
17
|
+
"mcp__task-master-ai__set_task_status",
|
|
18
|
+
"Bash(npm test:*)",
|
|
19
|
+
"Bash(npm run test:*)",
|
|
20
|
+
"Bash(node -e:*)",
|
|
21
|
+
"Bash(gh run list:*)",
|
|
22
|
+
"Bash(gh run view:*)"
|
|
13
23
|
],
|
|
14
24
|
"deny": []
|
|
15
|
-
}
|
|
16
|
-
|
|
25
|
+
},
|
|
26
|
+
"enableAllProjectMcpServers": true,
|
|
27
|
+
"enabledMcpjsonServers": [
|
|
28
|
+
"task-master-ai"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Add a dependency between tasks.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Parse the task IDs to establish dependency relationship.
|
|
6
|
+
|
|
7
|
+
## Adding Dependencies
|
|
8
|
+
|
|
9
|
+
Creates a dependency where one task must be completed before another can start.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
Parse natural language or IDs:
|
|
14
|
+
- "make 5 depend on 3" → task 5 depends on task 3
|
|
15
|
+
- "5 needs 3" → task 5 depends on task 3
|
|
16
|
+
- "5 3" → task 5 depends on task 3
|
|
17
|
+
- "5 after 3" → task 5 depends on task 3
|
|
18
|
+
|
|
19
|
+
## Execution
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
task-master add-dependency --id=<task-id> --depends-on=<dependency-id>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Validation
|
|
26
|
+
|
|
27
|
+
Before adding:
|
|
28
|
+
1. **Verify both tasks exist**
|
|
29
|
+
2. **Check for circular dependencies**
|
|
30
|
+
3. **Ensure dependency makes logical sense**
|
|
31
|
+
4. **Warn if creating complex chains**
|
|
32
|
+
|
|
33
|
+
## Smart Features
|
|
34
|
+
|
|
35
|
+
- Detect if dependency already exists
|
|
36
|
+
- Suggest related dependencies
|
|
37
|
+
- Show impact on task flow
|
|
38
|
+
- Update task priorities if needed
|
|
39
|
+
|
|
40
|
+
## Post-Addition
|
|
41
|
+
|
|
42
|
+
After adding dependency:
|
|
43
|
+
1. Show updated dependency graph
|
|
44
|
+
2. Identify any newly blocked tasks
|
|
45
|
+
3. Suggest task order changes
|
|
46
|
+
4. Update project timeline
|
|
47
|
+
|
|
48
|
+
## Example Flows
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
/taskmaster:add-dependency 5 needs 3
|
|
52
|
+
→ Task #5 now depends on Task #3
|
|
53
|
+
→ Task #5 is now blocked until #3 completes
|
|
54
|
+
→ Suggested: Also consider if #5 needs #4
|
|
55
|
+
```
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Add a subtask to a parent task.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Parse arguments to create a new subtask or convert existing task.
|
|
6
|
+
|
|
7
|
+
## Adding Subtasks
|
|
8
|
+
|
|
9
|
+
Creates subtasks to break down complex parent tasks into manageable pieces.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
Flexible natural language:
|
|
14
|
+
- "add subtask to 5: implement login form"
|
|
15
|
+
- "break down 5 with: setup, implement, test"
|
|
16
|
+
- "subtask for 5: handle edge cases"
|
|
17
|
+
- "5: validate user input" → adds subtask to task 5
|
|
18
|
+
|
|
19
|
+
## Execution Modes
|
|
20
|
+
|
|
21
|
+
### 1. Create New Subtask
|
|
22
|
+
```bash
|
|
23
|
+
task-master add-subtask --parent=<id> --title="<title>" --description="<desc>"
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### 2. Convert Existing Task
|
|
27
|
+
```bash
|
|
28
|
+
task-master add-subtask --parent=<id> --task-id=<existing-id>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Smart Features
|
|
32
|
+
|
|
33
|
+
1. **Automatic Subtask Generation**
|
|
34
|
+
- If title contains "and" or commas, create multiple
|
|
35
|
+
- Suggest common subtask patterns
|
|
36
|
+
- Inherit parent's context
|
|
37
|
+
|
|
38
|
+
2. **Intelligent Defaults**
|
|
39
|
+
- Priority based on parent
|
|
40
|
+
- Appropriate time estimates
|
|
41
|
+
- Logical dependencies between subtasks
|
|
42
|
+
|
|
43
|
+
3. **Validation**
|
|
44
|
+
- Check parent task complexity
|
|
45
|
+
- Warn if too many subtasks
|
|
46
|
+
- Ensure subtask makes sense
|
|
47
|
+
|
|
48
|
+
## Creation Process
|
|
49
|
+
|
|
50
|
+
1. Parse parent task context
|
|
51
|
+
2. Generate subtask with ID like "5.1"
|
|
52
|
+
3. Set appropriate defaults
|
|
53
|
+
4. Link to parent task
|
|
54
|
+
5. Update parent's time estimate
|
|
55
|
+
|
|
56
|
+
## Example Flows
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
/taskmaster:add-subtask to 5: implement user authentication
|
|
60
|
+
→ Created subtask #5.1: "implement user authentication"
|
|
61
|
+
→ Parent task #5 now has 1 subtask
|
|
62
|
+
→ Suggested next subtasks: tests, documentation
|
|
63
|
+
|
|
64
|
+
/taskmaster:add-subtask 5: setup, implement, test
|
|
65
|
+
→ Created 3 subtasks:
|
|
66
|
+
#5.1: setup
|
|
67
|
+
#5.2: implement
|
|
68
|
+
#5.3: test
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Post-Creation
|
|
72
|
+
|
|
73
|
+
- Show updated task hierarchy
|
|
74
|
+
- Suggest logical next subtasks
|
|
75
|
+
- Update complexity estimates
|
|
76
|
+
- Recommend subtask order
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Add new tasks with intelligent parsing and context awareness.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
## Smart Task Addition
|
|
6
|
+
|
|
7
|
+
Parse natural language to create well-structured tasks.
|
|
8
|
+
|
|
9
|
+
### 1. **Input Understanding**
|
|
10
|
+
|
|
11
|
+
I'll intelligently parse your request:
|
|
12
|
+
- Natural language → Structured task
|
|
13
|
+
- Detect priority from keywords (urgent, ASAP, important)
|
|
14
|
+
- Infer dependencies from context
|
|
15
|
+
- Suggest complexity based on description
|
|
16
|
+
- Determine task type (feature, bug, refactor, test, docs)
|
|
17
|
+
|
|
18
|
+
### 2. **Smart Parsing Examples**
|
|
19
|
+
|
|
20
|
+
**"Add urgent task to fix login bug"**
|
|
21
|
+
→ Title: Fix login bug
|
|
22
|
+
→ Priority: high
|
|
23
|
+
→ Type: bug
|
|
24
|
+
→ Suggested complexity: medium
|
|
25
|
+
|
|
26
|
+
**"Create task for API documentation after task 23 is done"**
|
|
27
|
+
→ Title: API documentation
|
|
28
|
+
→ Dependencies: [23]
|
|
29
|
+
→ Type: documentation
|
|
30
|
+
→ Priority: medium
|
|
31
|
+
|
|
32
|
+
**"Need to refactor auth module - depends on 12 and 15, high complexity"**
|
|
33
|
+
→ Title: Refactor auth module
|
|
34
|
+
→ Dependencies: [12, 15]
|
|
35
|
+
→ Complexity: high
|
|
36
|
+
→ Type: refactor
|
|
37
|
+
|
|
38
|
+
### 3. **Context Enhancement**
|
|
39
|
+
|
|
40
|
+
Based on current project state:
|
|
41
|
+
- Suggest related existing tasks
|
|
42
|
+
- Warn about potential conflicts
|
|
43
|
+
- Recommend dependencies
|
|
44
|
+
- Propose subtasks if complex
|
|
45
|
+
|
|
46
|
+
### 4. **Interactive Refinement**
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
Task Preview:
|
|
50
|
+
─────────────
|
|
51
|
+
Title: [Extracted title]
|
|
52
|
+
Priority: [Inferred priority]
|
|
53
|
+
Dependencies: [Detected dependencies]
|
|
54
|
+
Complexity: [Estimated complexity]
|
|
55
|
+
|
|
56
|
+
Suggestions:
|
|
57
|
+
- Similar task #34 exists, consider as dependency?
|
|
58
|
+
- This seems complex, break into subtasks?
|
|
59
|
+
- Tasks #45-47 work on same module
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 5. **Validation & Creation**
|
|
63
|
+
|
|
64
|
+
Before creating:
|
|
65
|
+
- Validate dependencies exist
|
|
66
|
+
- Check for duplicates
|
|
67
|
+
- Ensure logical ordering
|
|
68
|
+
- Verify task completeness
|
|
69
|
+
|
|
70
|
+
### 6. **Smart Defaults**
|
|
71
|
+
|
|
72
|
+
Intelligent defaults based on:
|
|
73
|
+
- Task type patterns
|
|
74
|
+
- Team conventions
|
|
75
|
+
- Historical data
|
|
76
|
+
- Current sprint/phase
|
|
77
|
+
|
|
78
|
+
Result: High-quality tasks from minimal input.
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
Analyze task complexity and generate expansion recommendations.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Perform deep analysis of task complexity across the project.
|
|
6
|
+
|
|
7
|
+
## Complexity Analysis
|
|
8
|
+
|
|
9
|
+
Uses AI to analyze tasks and recommend which ones need breakdown.
|
|
10
|
+
|
|
11
|
+
## Execution Options
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
task-master analyze-complexity [--research] [--threshold=5]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Analysis Parameters
|
|
18
|
+
|
|
19
|
+
- `--research` → Use research AI for deeper analysis
|
|
20
|
+
- `--threshold=5` → Only flag tasks above complexity 5
|
|
21
|
+
- Default: Analyze all pending tasks
|
|
22
|
+
|
|
23
|
+
## Analysis Process
|
|
24
|
+
|
|
25
|
+
### 1. **Task Evaluation**
|
|
26
|
+
For each task, AI evaluates:
|
|
27
|
+
- Technical complexity
|
|
28
|
+
- Time requirements
|
|
29
|
+
- Dependency complexity
|
|
30
|
+
- Risk factors
|
|
31
|
+
- Knowledge requirements
|
|
32
|
+
|
|
33
|
+
### 2. **Complexity Scoring**
|
|
34
|
+
Assigns score 1-10 based on:
|
|
35
|
+
- Implementation difficulty
|
|
36
|
+
- Integration challenges
|
|
37
|
+
- Testing requirements
|
|
38
|
+
- Unknown factors
|
|
39
|
+
- Technical debt risk
|
|
40
|
+
|
|
41
|
+
### 3. **Recommendations**
|
|
42
|
+
For complex tasks:
|
|
43
|
+
- Suggest expansion approach
|
|
44
|
+
- Recommend subtask breakdown
|
|
45
|
+
- Identify risk areas
|
|
46
|
+
- Propose mitigation strategies
|
|
47
|
+
|
|
48
|
+
## Smart Analysis Features
|
|
49
|
+
|
|
50
|
+
1. **Pattern Recognition**
|
|
51
|
+
- Similar task comparisons
|
|
52
|
+
- Historical complexity accuracy
|
|
53
|
+
- Team velocity consideration
|
|
54
|
+
- Technology stack factors
|
|
55
|
+
|
|
56
|
+
2. **Contextual Factors**
|
|
57
|
+
- Team expertise
|
|
58
|
+
- Available resources
|
|
59
|
+
- Timeline constraints
|
|
60
|
+
- Business criticality
|
|
61
|
+
|
|
62
|
+
3. **Risk Assessment**
|
|
63
|
+
- Technical risks
|
|
64
|
+
- Timeline risks
|
|
65
|
+
- Dependency risks
|
|
66
|
+
- Knowledge gaps
|
|
67
|
+
|
|
68
|
+
## Output Format
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
Task Complexity Analysis Report
|
|
72
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
73
|
+
|
|
74
|
+
High Complexity Tasks (>7):
|
|
75
|
+
📍 #5 "Implement real-time sync" - Score: 9/10
|
|
76
|
+
Factors: WebSocket complexity, state management, conflict resolution
|
|
77
|
+
Recommendation: Expand into 5-7 subtasks
|
|
78
|
+
Risks: Performance, data consistency
|
|
79
|
+
|
|
80
|
+
📍 #12 "Migrate database schema" - Score: 8/10
|
|
81
|
+
Factors: Data migration, zero downtime, rollback strategy
|
|
82
|
+
Recommendation: Expand into 4-5 subtasks
|
|
83
|
+
Risks: Data loss, downtime
|
|
84
|
+
|
|
85
|
+
Medium Complexity Tasks (5-7):
|
|
86
|
+
📍 #23 "Add export functionality" - Score: 6/10
|
|
87
|
+
Consider expansion if timeline tight
|
|
88
|
+
|
|
89
|
+
Low Complexity Tasks (<5):
|
|
90
|
+
✅ 15 tasks - No expansion needed
|
|
91
|
+
|
|
92
|
+
Summary:
|
|
93
|
+
- Expand immediately: 2 tasks
|
|
94
|
+
- Consider expanding: 5 tasks
|
|
95
|
+
- Keep as-is: 15 tasks
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Actionable Output
|
|
99
|
+
|
|
100
|
+
For each high-complexity task:
|
|
101
|
+
1. Complexity score with reasoning
|
|
102
|
+
2. Specific expansion suggestions
|
|
103
|
+
3. Risk mitigation approaches
|
|
104
|
+
4. Recommended subtask structure
|
|
105
|
+
|
|
106
|
+
## Integration
|
|
107
|
+
|
|
108
|
+
Results are:
|
|
109
|
+
- Saved to `.taskmaster/reports/complexity-analysis.md`
|
|
110
|
+
- Used by expand command
|
|
111
|
+
- Inform sprint planning
|
|
112
|
+
- Guide resource allocation
|
|
113
|
+
|
|
114
|
+
## Next Steps
|
|
115
|
+
|
|
116
|
+
After analysis:
|
|
117
|
+
```
|
|
118
|
+
/taskmaster:expand 5 # Expand specific task
|
|
119
|
+
/taskmaster:expand-all # Expand all recommended
|
|
120
|
+
/taskmaster:complexity-report # View detailed report
|
|
121
|
+
```
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Advanced project analysis with actionable insights and recommendations.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
## Comprehensive Project Analysis
|
|
6
|
+
|
|
7
|
+
Multi-dimensional analysis based on requested focus area.
|
|
8
|
+
|
|
9
|
+
### 1. **Analysis Modes**
|
|
10
|
+
|
|
11
|
+
Based on $ARGUMENTS:
|
|
12
|
+
- "velocity" → Sprint velocity and trends
|
|
13
|
+
- "quality" → Code quality metrics
|
|
14
|
+
- "risk" → Risk assessment and mitigation
|
|
15
|
+
- "dependencies" → Dependency graph analysis
|
|
16
|
+
- "team" → Workload and skill distribution
|
|
17
|
+
- "architecture" → System design coherence
|
|
18
|
+
- Default → Full spectrum analysis
|
|
19
|
+
|
|
20
|
+
### 2. **Velocity Analytics**
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
📊 Velocity Analysis
|
|
24
|
+
━━━━━━━━━━━━━━━━━━━
|
|
25
|
+
Current Sprint: 24 points/week ↗️ +20%
|
|
26
|
+
Rolling Average: 20 points/week
|
|
27
|
+
Efficiency: 85% (17/20 tasks on time)
|
|
28
|
+
|
|
29
|
+
Bottlenecks Detected:
|
|
30
|
+
- Code review delays (avg 4h wait)
|
|
31
|
+
- Test environment availability
|
|
32
|
+
- Dependency on external team
|
|
33
|
+
|
|
34
|
+
Recommendations:
|
|
35
|
+
1. Implement parallel review process
|
|
36
|
+
2. Add staging environment
|
|
37
|
+
3. Mock external dependencies
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### 3. **Risk Assessment**
|
|
41
|
+
|
|
42
|
+
**Technical Risks**
|
|
43
|
+
- High complexity tasks without backup assignee
|
|
44
|
+
- Single points of failure in architecture
|
|
45
|
+
- Insufficient test coverage in critical paths
|
|
46
|
+
- Technical debt accumulation rate
|
|
47
|
+
|
|
48
|
+
**Project Risks**
|
|
49
|
+
- Critical path dependencies
|
|
50
|
+
- Resource availability gaps
|
|
51
|
+
- Deadline feasibility analysis
|
|
52
|
+
- Scope creep indicators
|
|
53
|
+
|
|
54
|
+
### 4. **Dependency Intelligence**
|
|
55
|
+
|
|
56
|
+
Visual dependency analysis:
|
|
57
|
+
```
|
|
58
|
+
Critical Path:
|
|
59
|
+
#12 → #15 → #23 → #45 → #50 (20 days)
|
|
60
|
+
↘ #24 → #46 ↗
|
|
61
|
+
|
|
62
|
+
Optimization: Parallelize #15 and #24
|
|
63
|
+
Time Saved: 3 days
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 5. **Quality Metrics**
|
|
67
|
+
|
|
68
|
+
**Code Quality**
|
|
69
|
+
- Test coverage trends
|
|
70
|
+
- Complexity scores
|
|
71
|
+
- Technical debt ratio
|
|
72
|
+
- Review feedback patterns
|
|
73
|
+
|
|
74
|
+
**Process Quality**
|
|
75
|
+
- Rework frequency
|
|
76
|
+
- Bug introduction rate
|
|
77
|
+
- Time to resolution
|
|
78
|
+
- Knowledge distribution
|
|
79
|
+
|
|
80
|
+
### 6. **Predictive Insights**
|
|
81
|
+
|
|
82
|
+
Based on patterns:
|
|
83
|
+
- Completion probability by deadline
|
|
84
|
+
- Resource needs projection
|
|
85
|
+
- Risk materialization likelihood
|
|
86
|
+
- Suggested interventions
|
|
87
|
+
|
|
88
|
+
### 7. **Executive Dashboard**
|
|
89
|
+
|
|
90
|
+
High-level summary with:
|
|
91
|
+
- Health score (0-100)
|
|
92
|
+
- Top 3 risks
|
|
93
|
+
- Top 3 opportunities
|
|
94
|
+
- Recommended actions
|
|
95
|
+
- Success probability
|
|
96
|
+
|
|
97
|
+
Result: Data-driven decisions with clear action paths.
|