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,93 @@
|
|
|
1
|
+
Clear all subtasks from all tasks globally.
|
|
2
|
+
|
|
3
|
+
## Global Subtask Clearing
|
|
4
|
+
|
|
5
|
+
Remove all subtasks across the entire project. Use with extreme caution.
|
|
6
|
+
|
|
7
|
+
## Execution
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master clear-subtasks --all
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Pre-Clear Analysis
|
|
14
|
+
|
|
15
|
+
1. **Project-Wide Summary**
|
|
16
|
+
```
|
|
17
|
+
Global Subtask Summary
|
|
18
|
+
━━━━━━━━━━━━━━━━━━━━
|
|
19
|
+
Total parent tasks: 12
|
|
20
|
+
Total subtasks: 47
|
|
21
|
+
- Completed: 15
|
|
22
|
+
- In-progress: 8
|
|
23
|
+
- Pending: 24
|
|
24
|
+
|
|
25
|
+
Work at risk: ~120 hours
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
2. **Critical Warnings**
|
|
29
|
+
- In-progress subtasks that will lose work
|
|
30
|
+
- Completed subtasks with valuable history
|
|
31
|
+
- Complex dependency chains
|
|
32
|
+
- Integration test results
|
|
33
|
+
|
|
34
|
+
## Double Confirmation
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
⚠️ DESTRUCTIVE OPERATION WARNING ⚠️
|
|
38
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
39
|
+
This will remove ALL 47 subtasks from your project
|
|
40
|
+
Including 8 in-progress and 15 completed subtasks
|
|
41
|
+
|
|
42
|
+
This action CANNOT be undone
|
|
43
|
+
|
|
44
|
+
Type 'CLEAR ALL SUBTASKS' to confirm:
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Smart Safeguards
|
|
48
|
+
|
|
49
|
+
- Require explicit confirmation phrase
|
|
50
|
+
- Create automatic backup
|
|
51
|
+
- Log all removed data
|
|
52
|
+
- Option to export first
|
|
53
|
+
|
|
54
|
+
## Use Cases
|
|
55
|
+
|
|
56
|
+
Valid reasons for global clear:
|
|
57
|
+
- Project restructuring
|
|
58
|
+
- Major pivot in approach
|
|
59
|
+
- Starting fresh breakdown
|
|
60
|
+
- Switching to different task organization
|
|
61
|
+
|
|
62
|
+
## Process
|
|
63
|
+
|
|
64
|
+
1. Full project analysis
|
|
65
|
+
2. Create backup file
|
|
66
|
+
3. Show detailed impact
|
|
67
|
+
4. Require confirmation
|
|
68
|
+
5. Execute removal
|
|
69
|
+
6. Generate summary report
|
|
70
|
+
|
|
71
|
+
## Alternative Suggestions
|
|
72
|
+
|
|
73
|
+
Before clearing all:
|
|
74
|
+
- Export subtasks to file
|
|
75
|
+
- Clear only pending subtasks
|
|
76
|
+
- Clear by task category
|
|
77
|
+
- Archive instead of delete
|
|
78
|
+
|
|
79
|
+
## Post-Clear Report
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
Global Subtask Clear Complete
|
|
83
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
84
|
+
Removed: 47 subtasks from 12 tasks
|
|
85
|
+
Backup saved: .taskmaster/backup/subtasks-20240115.json
|
|
86
|
+
Parent tasks updated: 12
|
|
87
|
+
Time estimates adjusted: Yes
|
|
88
|
+
|
|
89
|
+
Next steps:
|
|
90
|
+
- Review updated task list
|
|
91
|
+
- Re-expand complex tasks as needed
|
|
92
|
+
- Check project timeline
|
|
93
|
+
```
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
Remove a dependency between tasks.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Parse the task IDs to remove dependency relationship.
|
|
6
|
+
|
|
7
|
+
## Removing Dependencies
|
|
8
|
+
|
|
9
|
+
Removes a dependency relationship, potentially unblocking tasks.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
Parse natural language or IDs:
|
|
14
|
+
- "remove dependency between 5 and 3"
|
|
15
|
+
- "5 no longer needs 3"
|
|
16
|
+
- "unblock 5 from 3"
|
|
17
|
+
- "5 3" → remove dependency of 5 on 3
|
|
18
|
+
|
|
19
|
+
## Execution
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
task-master remove-dependency --id=<task-id> --depends-on=<dependency-id>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Pre-Removal Checks
|
|
26
|
+
|
|
27
|
+
1. **Verify dependency exists**
|
|
28
|
+
2. **Check impact on task flow**
|
|
29
|
+
3. **Warn if it breaks logical sequence**
|
|
30
|
+
4. **Show what will be unblocked**
|
|
31
|
+
|
|
32
|
+
## Smart Analysis
|
|
33
|
+
|
|
34
|
+
Before removing:
|
|
35
|
+
- Show why dependency might have existed
|
|
36
|
+
- Check if removal makes tasks executable
|
|
37
|
+
- Verify no critical path disruption
|
|
38
|
+
- Suggest alternative dependencies
|
|
39
|
+
|
|
40
|
+
## Post-Removal
|
|
41
|
+
|
|
42
|
+
After removing:
|
|
43
|
+
1. Show updated task status
|
|
44
|
+
2. List newly unblocked tasks
|
|
45
|
+
3. Update project timeline
|
|
46
|
+
4. Suggest next actions
|
|
47
|
+
|
|
48
|
+
## Safety Features
|
|
49
|
+
|
|
50
|
+
- Confirm if removing critical dependency
|
|
51
|
+
- Show tasks that become immediately actionable
|
|
52
|
+
- Warn about potential issues
|
|
53
|
+
- Keep removal history
|
|
54
|
+
|
|
55
|
+
## Example
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
/taskmaster:remove-dependency 5 from 3
|
|
59
|
+
→ Removed: Task #5 no longer depends on #3
|
|
60
|
+
→ Task #5 is now UNBLOCKED and ready to start
|
|
61
|
+
→ Warning: Consider if #5 still needs #2 completed first
|
|
62
|
+
```
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
Remove a subtask from its parent task.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Parse subtask ID to remove, with option to convert to standalone task.
|
|
6
|
+
|
|
7
|
+
## Removing Subtasks
|
|
8
|
+
|
|
9
|
+
Remove a subtask and optionally convert it back to a standalone task.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
- "remove subtask 5.1"
|
|
14
|
+
- "delete 5.1"
|
|
15
|
+
- "convert 5.1 to task" → remove and convert
|
|
16
|
+
- "5.1 standalone" → convert to standalone
|
|
17
|
+
|
|
18
|
+
## Execution Options
|
|
19
|
+
|
|
20
|
+
### 1. Delete Subtask
|
|
21
|
+
```bash
|
|
22
|
+
task-master remove-subtask --id=<parentId.subtaskId>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### 2. Convert to Standalone
|
|
26
|
+
```bash
|
|
27
|
+
task-master remove-subtask --id=<parentId.subtaskId> --convert
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Pre-Removal Checks
|
|
31
|
+
|
|
32
|
+
1. **Validate Subtask**
|
|
33
|
+
- Verify subtask exists
|
|
34
|
+
- Check completion status
|
|
35
|
+
- Review dependencies
|
|
36
|
+
|
|
37
|
+
2. **Impact Analysis**
|
|
38
|
+
- Other subtasks that depend on it
|
|
39
|
+
- Parent task implications
|
|
40
|
+
- Data that will be lost
|
|
41
|
+
|
|
42
|
+
## Removal Process
|
|
43
|
+
|
|
44
|
+
### For Deletion:
|
|
45
|
+
1. Confirm if subtask has work done
|
|
46
|
+
2. Update parent task estimates
|
|
47
|
+
3. Remove subtask and its data
|
|
48
|
+
4. Clean up dependencies
|
|
49
|
+
|
|
50
|
+
### For Conversion:
|
|
51
|
+
1. Assign new standalone task ID
|
|
52
|
+
2. Preserve all task data
|
|
53
|
+
3. Update dependency references
|
|
54
|
+
4. Maintain task history
|
|
55
|
+
|
|
56
|
+
## Smart Features
|
|
57
|
+
|
|
58
|
+
- Warn if subtask is in-progress
|
|
59
|
+
- Show impact on parent task
|
|
60
|
+
- Preserve important data
|
|
61
|
+
- Update related estimates
|
|
62
|
+
|
|
63
|
+
## Example Flows
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
/taskmaster:remove-subtask 5.1
|
|
67
|
+
→ Warning: Subtask #5.1 is in-progress
|
|
68
|
+
→ This will delete all subtask data
|
|
69
|
+
→ Parent task #5 will be updated
|
|
70
|
+
Confirm deletion? (y/n)
|
|
71
|
+
|
|
72
|
+
/taskmaster:remove-subtask 5.1 convert
|
|
73
|
+
→ Converting subtask #5.1 to standalone task #89
|
|
74
|
+
→ Preserved: All task data and history
|
|
75
|
+
→ Updated: 2 dependency references
|
|
76
|
+
→ New task #89 is now independent
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Post-Removal
|
|
80
|
+
|
|
81
|
+
- Update parent task status
|
|
82
|
+
- Recalculate estimates
|
|
83
|
+
- Show updated hierarchy
|
|
84
|
+
- Suggest next actions
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Clear all subtasks from a specific task.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS (task ID)
|
|
4
|
+
|
|
5
|
+
Remove all subtasks from a parent task at once.
|
|
6
|
+
|
|
7
|
+
## Clearing Subtasks
|
|
8
|
+
|
|
9
|
+
Bulk removal of all subtasks from a parent task.
|
|
10
|
+
|
|
11
|
+
## Execution
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
task-master remove-subtasks --id=$ARGUMENTS
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Pre-Clear Analysis
|
|
18
|
+
|
|
19
|
+
1. **Subtask Summary**
|
|
20
|
+
- Number of subtasks
|
|
21
|
+
- Completion status of each
|
|
22
|
+
- Work already done
|
|
23
|
+
- Dependencies affected
|
|
24
|
+
|
|
25
|
+
2. **Impact Assessment**
|
|
26
|
+
- Data that will be lost
|
|
27
|
+
- Dependencies to be removed
|
|
28
|
+
- Effect on project timeline
|
|
29
|
+
- Parent task implications
|
|
30
|
+
|
|
31
|
+
## Confirmation Required
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
Remove Subtasks Confirmation
|
|
35
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
36
|
+
Parent Task: #5 "Implement user authentication"
|
|
37
|
+
Subtasks to remove: 4
|
|
38
|
+
- #5.1 "Setup auth framework" (done)
|
|
39
|
+
- #5.2 "Create login form" (in-progress)
|
|
40
|
+
- #5.3 "Add validation" (pending)
|
|
41
|
+
- #5.4 "Write tests" (pending)
|
|
42
|
+
|
|
43
|
+
⚠️ This will permanently delete all subtask data
|
|
44
|
+
Continue? (y/n)
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Smart Features
|
|
48
|
+
|
|
49
|
+
- Option to convert to standalone tasks
|
|
50
|
+
- Backup task data before clearing
|
|
51
|
+
- Preserve completed work history
|
|
52
|
+
- Update parent task appropriately
|
|
53
|
+
|
|
54
|
+
## Process
|
|
55
|
+
|
|
56
|
+
1. List all subtasks for confirmation
|
|
57
|
+
2. Check for in-progress work
|
|
58
|
+
3. Remove all subtasks
|
|
59
|
+
4. Update parent task
|
|
60
|
+
5. Clean up dependencies
|
|
61
|
+
|
|
62
|
+
## Alternative Options
|
|
63
|
+
|
|
64
|
+
Suggest alternatives:
|
|
65
|
+
- Convert important subtasks to tasks
|
|
66
|
+
- Keep completed subtasks
|
|
67
|
+
- Archive instead of delete
|
|
68
|
+
- Export subtask data first
|
|
69
|
+
|
|
70
|
+
## Post-Clear
|
|
71
|
+
|
|
72
|
+
- Show updated parent task
|
|
73
|
+
- Recalculate time estimates
|
|
74
|
+
- Update task complexity
|
|
75
|
+
- Suggest next steps
|
|
76
|
+
|
|
77
|
+
## Example
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
/taskmaster:remove-subtasks 5
|
|
81
|
+
→ Found 4 subtasks to remove
|
|
82
|
+
→ Warning: Subtask #5.2 is in-progress
|
|
83
|
+
→ Cleared all subtasks from task #5
|
|
84
|
+
→ Updated parent task estimates
|
|
85
|
+
→ Suggestion: Consider re-expanding with better breakdown
|
|
86
|
+
```
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
Remove a task permanently from the project.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS (task ID)
|
|
4
|
+
|
|
5
|
+
Delete a task and handle all its relationships properly.
|
|
6
|
+
|
|
7
|
+
## Task Removal
|
|
8
|
+
|
|
9
|
+
Permanently removes a task while maintaining project integrity.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
- "remove task 5"
|
|
14
|
+
- "delete 5"
|
|
15
|
+
- "5" → remove task 5
|
|
16
|
+
- Can include "-y" for auto-confirm
|
|
17
|
+
|
|
18
|
+
## Execution
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
task-master remove-task --id=<id> [-y]
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Pre-Removal Analysis
|
|
25
|
+
|
|
26
|
+
1. **Task Details**
|
|
27
|
+
- Current status
|
|
28
|
+
- Work completed
|
|
29
|
+
- Time invested
|
|
30
|
+
- Associated data
|
|
31
|
+
|
|
32
|
+
2. **Relationship Check**
|
|
33
|
+
- Tasks that depend on this
|
|
34
|
+
- Dependencies this task has
|
|
35
|
+
- Subtasks that will be removed
|
|
36
|
+
- Blocking implications
|
|
37
|
+
|
|
38
|
+
3. **Impact Assessment**
|
|
39
|
+
```
|
|
40
|
+
Task Removal Impact
|
|
41
|
+
━━━━━━━━━━━━━━━━━━
|
|
42
|
+
Task: #5 "Implement authentication" (in-progress)
|
|
43
|
+
Status: 60% complete (~8 hours work)
|
|
44
|
+
|
|
45
|
+
Will affect:
|
|
46
|
+
- 3 tasks depend on this (will be blocked)
|
|
47
|
+
- Has 4 subtasks (will be deleted)
|
|
48
|
+
- Part of critical path
|
|
49
|
+
|
|
50
|
+
⚠️ This action cannot be undone
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Smart Warnings
|
|
54
|
+
|
|
55
|
+
- Warn if task is in-progress
|
|
56
|
+
- Show dependent tasks that will be blocked
|
|
57
|
+
- Highlight if part of critical path
|
|
58
|
+
- Note any completed work being lost
|
|
59
|
+
|
|
60
|
+
## Removal Process
|
|
61
|
+
|
|
62
|
+
1. Show comprehensive impact
|
|
63
|
+
2. Require confirmation (unless -y)
|
|
64
|
+
3. Update dependent task references
|
|
65
|
+
4. Remove task and subtasks
|
|
66
|
+
5. Clean up orphaned dependencies
|
|
67
|
+
6. Log removal with timestamp
|
|
68
|
+
|
|
69
|
+
## Alternative Actions
|
|
70
|
+
|
|
71
|
+
Suggest before deletion:
|
|
72
|
+
- Mark as cancelled instead
|
|
73
|
+
- Convert to documentation
|
|
74
|
+
- Archive task data
|
|
75
|
+
- Transfer work to another task
|
|
76
|
+
|
|
77
|
+
## Post-Removal
|
|
78
|
+
|
|
79
|
+
- List affected tasks
|
|
80
|
+
- Show broken dependencies
|
|
81
|
+
- Update project statistics
|
|
82
|
+
- Suggest dependency fixes
|
|
83
|
+
- Recalculate timeline
|
|
84
|
+
|
|
85
|
+
## Example Flows
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
/taskmaster:remove-task 5
|
|
89
|
+
→ Task #5 is in-progress with 8 hours logged
|
|
90
|
+
→ 3 other tasks depend on this
|
|
91
|
+
→ Suggestion: Mark as cancelled instead?
|
|
92
|
+
Remove anyway? (y/n)
|
|
93
|
+
|
|
94
|
+
/taskmaster:remove-task 5 -y
|
|
95
|
+
→ Removed: Task #5 and 4 subtasks
|
|
96
|
+
→ Updated: 3 task dependencies
|
|
97
|
+
→ Warning: Tasks #7, #8, #9 now have missing dependency
|
|
98
|
+
→ Run /taskmaster:fix-dependencies to resolve
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Safety Features
|
|
102
|
+
|
|
103
|
+
- Confirmation required
|
|
104
|
+
- Impact preview
|
|
105
|
+
- Removal logging
|
|
106
|
+
- Suggest alternatives
|
|
107
|
+
- No cascade delete of dependents
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Run interactive setup to configure AI models.
|
|
2
|
+
|
|
3
|
+
## Interactive Model Configuration
|
|
4
|
+
|
|
5
|
+
Guides you through setting up AI providers for Task Master.
|
|
6
|
+
|
|
7
|
+
## Execution
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master models --setup
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Setup Process
|
|
14
|
+
|
|
15
|
+
1. **Environment Check**
|
|
16
|
+
- Detect existing API keys
|
|
17
|
+
- Show current configuration
|
|
18
|
+
- Identify missing providers
|
|
19
|
+
|
|
20
|
+
2. **Provider Selection**
|
|
21
|
+
- Choose main provider (required)
|
|
22
|
+
- Select research provider (recommended)
|
|
23
|
+
- Configure fallback (optional)
|
|
24
|
+
|
|
25
|
+
3. **API Key Configuration**
|
|
26
|
+
- Prompt for missing keys
|
|
27
|
+
- Validate key format
|
|
28
|
+
- Test connectivity
|
|
29
|
+
- Save configuration
|
|
30
|
+
|
|
31
|
+
## Smart Recommendations
|
|
32
|
+
|
|
33
|
+
Based on your needs:
|
|
34
|
+
- **For best results**: Claude + Perplexity
|
|
35
|
+
- **Budget conscious**: GPT-3.5 + Perplexity
|
|
36
|
+
- **Maximum capability**: GPT-4 + Perplexity + Claude fallback
|
|
37
|
+
|
|
38
|
+
## Configuration Storage
|
|
39
|
+
|
|
40
|
+
Keys can be stored in:
|
|
41
|
+
1. Environment variables (recommended)
|
|
42
|
+
2. `.env` file in project
|
|
43
|
+
3. Global `.taskmaster/config`
|
|
44
|
+
|
|
45
|
+
## Post-Setup
|
|
46
|
+
|
|
47
|
+
After configuration:
|
|
48
|
+
- Test each provider
|
|
49
|
+
- Show usage examples
|
|
50
|
+
- Suggest next steps
|
|
51
|
+
- Verify parse-prd works
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Show detailed task information with rich context and insights.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
## Enhanced Task Display
|
|
6
|
+
|
|
7
|
+
Parse arguments to determine what to show and how.
|
|
8
|
+
|
|
9
|
+
### 1. **Smart Task Selection**
|
|
10
|
+
|
|
11
|
+
Based on $ARGUMENTS:
|
|
12
|
+
- Number → Show specific task with full context
|
|
13
|
+
- "current" → Show active in-progress task(s)
|
|
14
|
+
- "next" → Show recommended next task
|
|
15
|
+
- "blocked" → Show all blocked tasks with reasons
|
|
16
|
+
- "critical" → Show critical path tasks
|
|
17
|
+
- Multiple IDs → Comparative view
|
|
18
|
+
|
|
19
|
+
### 2. **Contextual Information**
|
|
20
|
+
|
|
21
|
+
For each task, intelligently include:
|
|
22
|
+
|
|
23
|
+
**Core Details**
|
|
24
|
+
- Full task information (id, title, description, details)
|
|
25
|
+
- Current status with history
|
|
26
|
+
- Test strategy and acceptance criteria
|
|
27
|
+
- Priority and complexity analysis
|
|
28
|
+
|
|
29
|
+
**Relationships**
|
|
30
|
+
- Dependencies (what it needs)
|
|
31
|
+
- Dependents (what needs it)
|
|
32
|
+
- Parent/subtask hierarchy
|
|
33
|
+
- Related tasks (similar work)
|
|
34
|
+
|
|
35
|
+
**Time Intelligence**
|
|
36
|
+
- Created/updated timestamps
|
|
37
|
+
- Time in current status
|
|
38
|
+
- Estimated vs actual time
|
|
39
|
+
- Historical completion patterns
|
|
40
|
+
|
|
41
|
+
### 3. **Visual Enhancements**
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
📋 Task #45: Implement User Authentication
|
|
45
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
46
|
+
Status: 🟡 in-progress (2 hours)
|
|
47
|
+
Priority: 🔴 High | Complexity: 73/100
|
|
48
|
+
|
|
49
|
+
Dependencies: ✅ #41, ✅ #42, ⏳ #43 (blocked)
|
|
50
|
+
Blocks: #46, #47, #52
|
|
51
|
+
|
|
52
|
+
Progress: ████████░░ 80% complete
|
|
53
|
+
|
|
54
|
+
Recent Activity:
|
|
55
|
+
- 2h ago: Status changed to in-progress
|
|
56
|
+
- 4h ago: Dependency #42 completed
|
|
57
|
+
- Yesterday: Task expanded with 3 subtasks
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 4. **Intelligent Insights**
|
|
61
|
+
|
|
62
|
+
Based on task analysis:
|
|
63
|
+
- **Risk Assessment**: Complexity vs time remaining
|
|
64
|
+
- **Bottleneck Analysis**: Is this blocking critical work?
|
|
65
|
+
- **Recommendation**: Suggested approach or concerns
|
|
66
|
+
- **Similar Tasks**: How others completed similar work
|
|
67
|
+
|
|
68
|
+
### 5. **Action Suggestions**
|
|
69
|
+
|
|
70
|
+
Context-aware next steps:
|
|
71
|
+
- If blocked → Show how to unblock
|
|
72
|
+
- If complex → Suggest expansion
|
|
73
|
+
- If in-progress → Show completion checklist
|
|
74
|
+
- If done → Show dependent tasks ready to start
|
|
75
|
+
|
|
76
|
+
### 6. **Multi-Task View**
|
|
77
|
+
|
|
78
|
+
When showing multiple tasks:
|
|
79
|
+
- Common dependencies
|
|
80
|
+
- Optimal completion order
|
|
81
|
+
- Parallel work opportunities
|
|
82
|
+
- Combined complexity analysis
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Execute an intelligent workflow based on current project state and recent commands.
|
|
2
|
+
|
|
3
|
+
This command analyzes:
|
|
4
|
+
1. Recent commands you've run
|
|
5
|
+
2. Current project state
|
|
6
|
+
3. Time of day / day of week
|
|
7
|
+
4. Your working patterns
|
|
8
|
+
|
|
9
|
+
Arguments: $ARGUMENTS
|
|
10
|
+
|
|
11
|
+
## Intelligent Workflow Selection
|
|
12
|
+
|
|
13
|
+
Based on context, I'll determine the best workflow:
|
|
14
|
+
|
|
15
|
+
### Context Analysis
|
|
16
|
+
- Previous command executed
|
|
17
|
+
- Current task states
|
|
18
|
+
- Unfinished work from last session
|
|
19
|
+
- Your typical patterns
|
|
20
|
+
|
|
21
|
+
### Smart Execution
|
|
22
|
+
|
|
23
|
+
If last command was:
|
|
24
|
+
- `status` → Likely starting work → Run daily standup
|
|
25
|
+
- `complete` → Task finished → Find next task
|
|
26
|
+
- `list pending` → Planning → Suggest sprint planning
|
|
27
|
+
- `expand` → Breaking down work → Show complexity analysis
|
|
28
|
+
- `init` → New project → Show onboarding workflow
|
|
29
|
+
|
|
30
|
+
If no recent commands:
|
|
31
|
+
- Morning? → Daily standup workflow
|
|
32
|
+
- Many pending tasks? → Sprint planning
|
|
33
|
+
- Tasks blocked? → Dependency resolution
|
|
34
|
+
- Friday? → Weekly review
|
|
35
|
+
|
|
36
|
+
### Workflow Composition
|
|
37
|
+
|
|
38
|
+
I'll chain appropriate commands:
|
|
39
|
+
1. Analyze current state
|
|
40
|
+
2. Execute primary workflow
|
|
41
|
+
3. Suggest follow-up actions
|
|
42
|
+
4. Prepare environment for coding
|
|
43
|
+
|
|
44
|
+
### Learning Mode
|
|
45
|
+
|
|
46
|
+
This command learns from your patterns:
|
|
47
|
+
- Track command sequences
|
|
48
|
+
- Note time preferences
|
|
49
|
+
- Remember common workflows
|
|
50
|
+
- Adapt to your style
|
|
51
|
+
|
|
52
|
+
Example flows detected:
|
|
53
|
+
- Morning: standup → next → start
|
|
54
|
+
- After lunch: status → continue task
|
|
55
|
+
- End of day: complete → commit → status
|