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