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.
Files changed (178) hide show
  1. package/.claude/commands/tm/add-dependency.md +58 -0
  2. package/.claude/commands/tm/add-subtask.md +79 -0
  3. package/.claude/commands/tm/add-task.md +81 -0
  4. package/.claude/commands/tm/analyze-complexity.md +124 -0
  5. package/.claude/commands/tm/analyze-project.md +100 -0
  6. package/.claude/commands/tm/auto-implement-tasks.md +100 -0
  7. package/.claude/commands/tm/command-pipeline.md +80 -0
  8. package/.claude/commands/tm/complexity-report.md +120 -0
  9. package/.claude/commands/tm/convert-task-to-subtask.md +74 -0
  10. package/.claude/commands/tm/expand-all-tasks.md +52 -0
  11. package/.claude/commands/tm/expand-task.md +52 -0
  12. package/.claude/commands/tm/fix-dependencies.md +82 -0
  13. package/.claude/commands/tm/help.md +101 -0
  14. package/.claude/commands/tm/init-project-quick.md +49 -0
  15. package/.claude/commands/tm/init-project.md +53 -0
  16. package/.claude/commands/tm/install-taskmaster.md +118 -0
  17. package/.claude/commands/tm/learn.md +106 -0
  18. package/.claude/commands/tm/list-tasks-by-status.md +42 -0
  19. package/.claude/commands/tm/list-tasks-with-subtasks.md +30 -0
  20. package/.claude/commands/tm/list-tasks.md +46 -0
  21. package/.claude/commands/tm/next-task.md +69 -0
  22. package/.claude/commands/tm/parse-prd-with-research.md +51 -0
  23. package/.claude/commands/tm/parse-prd.md +52 -0
  24. package/.claude/commands/tm/project-status.md +67 -0
  25. package/.claude/commands/tm/quick-install-taskmaster.md +23 -0
  26. package/.claude/commands/tm/remove-all-subtasks.md +94 -0
  27. package/.claude/commands/tm/remove-dependency.md +65 -0
  28. package/.claude/commands/tm/remove-subtask.md +87 -0
  29. package/.claude/commands/tm/remove-subtasks.md +89 -0
  30. package/.claude/commands/tm/remove-task.md +110 -0
  31. package/.claude/commands/tm/setup-models.md +52 -0
  32. package/.claude/commands/tm/show-task.md +85 -0
  33. package/.claude/commands/tm/smart-workflow.md +58 -0
  34. package/.claude/commands/tm/sync-readme.md +120 -0
  35. package/.claude/commands/tm/tm-main.md +147 -0
  36. package/.claude/commands/tm/to-cancelled.md +58 -0
  37. package/.claude/commands/tm/to-deferred.md +50 -0
  38. package/.claude/commands/tm/to-done.md +47 -0
  39. package/.claude/commands/tm/to-in-progress.md +39 -0
  40. package/.claude/commands/tm/to-pending.md +35 -0
  41. package/.claude/commands/tm/to-review.md +43 -0
  42. package/.claude/commands/tm/update-single-task.md +122 -0
  43. package/.claude/commands/tm/update-task.md +75 -0
  44. package/.claude/commands/tm/update-tasks-from-id.md +111 -0
  45. package/.claude/commands/tm/validate-dependencies.md +72 -0
  46. package/.claude/commands/tm/view-models.md +52 -0
  47. package/.claude/settings.local.json +30 -0
  48. package/.cursor/commands/tm/add-dependency.md +55 -0
  49. package/.cursor/commands/tm/add-subtask.md +76 -0
  50. package/.cursor/commands/tm/add-task.md +78 -0
  51. package/.cursor/commands/tm/analyze-complexity.md +121 -0
  52. package/.cursor/commands/tm/analyze-project.md +97 -0
  53. package/.cursor/commands/tm/auto-implement-tasks.md +97 -0
  54. package/.cursor/commands/tm/command-pipeline.md +77 -0
  55. package/.cursor/commands/tm/complexity-report.md +117 -0
  56. package/.cursor/commands/tm/convert-task-to-subtask.md +71 -0
  57. package/.cursor/commands/tm/expand-all-tasks.md +51 -0
  58. package/.cursor/commands/tm/expand-task.md +49 -0
  59. package/.cursor/commands/tm/fix-dependencies.md +81 -0
  60. package/.cursor/commands/tm/help.md +98 -0
  61. package/.cursor/commands/tm/init-project-quick.md +46 -0
  62. package/.cursor/commands/tm/init-project.md +50 -0
  63. package/.cursor/commands/tm/install-taskmaster.md +117 -0
  64. package/.cursor/commands/tm/learn.md +103 -0
  65. package/.cursor/commands/tm/list-tasks-by-status.md +39 -0
  66. package/.cursor/commands/tm/list-tasks-with-subtasks.md +29 -0
  67. package/.cursor/commands/tm/list-tasks.md +43 -0
  68. package/.cursor/commands/tm/next-task.md +66 -0
  69. package/.cursor/commands/tm/parse-prd-with-research.md +48 -0
  70. package/.cursor/commands/tm/parse-prd.md +49 -0
  71. package/.cursor/commands/tm/project-status.md +64 -0
  72. package/.cursor/commands/tm/quick-install-taskmaster.md +22 -0
  73. package/.cursor/commands/tm/remove-all-subtasks.md +93 -0
  74. package/.cursor/commands/tm/remove-dependency.md +62 -0
  75. package/.cursor/commands/tm/remove-subtask.md +84 -0
  76. package/.cursor/commands/tm/remove-subtasks.md +86 -0
  77. package/.cursor/commands/tm/remove-task.md +107 -0
  78. package/.cursor/commands/tm/setup-models.md +51 -0
  79. package/.cursor/commands/tm/show-task.md +82 -0
  80. package/.cursor/commands/tm/smart-workflow.md +55 -0
  81. package/.cursor/commands/tm/sync-readme.md +117 -0
  82. package/.cursor/commands/tm/tm-main.md +146 -0
  83. package/.cursor/commands/tm/to-cancelled.md +55 -0
  84. package/.cursor/commands/tm/to-deferred.md +47 -0
  85. package/.cursor/commands/tm/to-done.md +44 -0
  86. package/.cursor/commands/tm/to-in-progress.md +36 -0
  87. package/.cursor/commands/tm/to-pending.md +32 -0
  88. package/.cursor/commands/tm/to-review.md +40 -0
  89. package/.cursor/commands/tm/update-single-task.md +119 -0
  90. package/.cursor/commands/tm/update-task.md +72 -0
  91. package/.cursor/commands/tm/update-tasks-from-id.md +108 -0
  92. package/.cursor/commands/tm/validate-dependencies.md +71 -0
  93. package/.cursor/commands/tm/view-models.md +51 -0
  94. package/.cursor/mcp.json +20 -0
  95. package/.cursor/rules/cursor_rules.mdc +53 -0
  96. package/.cursor/rules/self_improve.mdc +72 -0
  97. package/.cursor/rules/taskmaster/dev_workflow.mdc +424 -0
  98. package/.cursor/rules/taskmaster/taskmaster.mdc +573 -0
  99. package/.env.example +12 -0
  100. package/.gemini/commands/tm/add-dependency.toml +58 -0
  101. package/.gemini/commands/tm/add-subtask.toml +79 -0
  102. package/.gemini/commands/tm/add-task.toml +81 -0
  103. package/.gemini/commands/tm/analyze-complexity.toml +124 -0
  104. package/.gemini/commands/tm/analyze-project.toml +100 -0
  105. package/.gemini/commands/tm/auto-implement-tasks.toml +100 -0
  106. package/.gemini/commands/tm/command-pipeline.toml +80 -0
  107. package/.gemini/commands/tm/complexity-report.toml +120 -0
  108. package/.gemini/commands/tm/convert-task-to-subtask.toml +74 -0
  109. package/.gemini/commands/tm/expand-all-tasks.toml +54 -0
  110. package/.gemini/commands/tm/expand-task.toml +52 -0
  111. package/.gemini/commands/tm/fix-dependencies.toml +84 -0
  112. package/.gemini/commands/tm/help.toml +101 -0
  113. package/.gemini/commands/tm/init-project-quick.toml +49 -0
  114. package/.gemini/commands/tm/init-project.toml +53 -0
  115. package/.gemini/commands/tm/install-taskmaster.toml +120 -0
  116. package/.gemini/commands/tm/learn.toml +106 -0
  117. package/.gemini/commands/tm/list-tasks-by-status.toml +42 -0
  118. package/.gemini/commands/tm/list-tasks-with-subtasks.toml +32 -0
  119. package/.gemini/commands/tm/list-tasks.toml +46 -0
  120. package/.gemini/commands/tm/next-task.toml +69 -0
  121. package/.gemini/commands/tm/parse-prd-with-research.toml +51 -0
  122. package/.gemini/commands/tm/parse-prd.toml +52 -0
  123. package/.gemini/commands/tm/project-status.toml +67 -0
  124. package/.gemini/commands/tm/quick-install-taskmaster.toml +25 -0
  125. package/.gemini/commands/tm/remove-all-subtasks.toml +96 -0
  126. package/.gemini/commands/tm/remove-dependency.toml +65 -0
  127. package/.gemini/commands/tm/remove-subtask.toml +87 -0
  128. package/.gemini/commands/tm/remove-subtasks.toml +89 -0
  129. package/.gemini/commands/tm/remove-task.toml +110 -0
  130. package/.gemini/commands/tm/setup-models.toml +54 -0
  131. package/.gemini/commands/tm/show-task.toml +85 -0
  132. package/.gemini/commands/tm/smart-workflow.toml +58 -0
  133. package/.gemini/commands/tm/sync-readme.toml +120 -0
  134. package/.gemini/commands/tm/tm-main.toml +149 -0
  135. package/.gemini/commands/tm/to-cancelled.toml +58 -0
  136. package/.gemini/commands/tm/to-deferred.toml +50 -0
  137. package/.gemini/commands/tm/to-done.toml +47 -0
  138. package/.gemini/commands/tm/to-in-progress.toml +39 -0
  139. package/.gemini/commands/tm/to-pending.toml +35 -0
  140. package/.gemini/commands/tm/to-review.toml +43 -0
  141. package/.gemini/commands/tm/update-single-task.toml +122 -0
  142. package/.gemini/commands/tm/update-task.toml +75 -0
  143. package/.gemini/commands/tm/update-tasks-from-id.toml +111 -0
  144. package/.gemini/commands/tm/validate-dependencies.toml +74 -0
  145. package/.gemini/commands/tm/view-models.toml +54 -0
  146. package/.gemini/settings.json +20 -0
  147. package/.mcp.json +15 -0
  148. package/.releaserc.json +115 -0
  149. package/.taskmaster/CLAUDE.md +435 -0
  150. package/.taskmaster/config.json +44 -0
  151. package/.taskmaster/docs/prd.txt +584 -0
  152. package/.taskmaster/state.json +6 -0
  153. package/.taskmaster/tasks/tasks.json +304 -0
  154. package/.taskmaster/templates/example_prd.txt +47 -0
  155. package/.taskmaster/templates/example_prd_rpg.txt +511 -0
  156. package/CLAUDE.md +5 -0
  157. package/README.md +551 -0
  158. package/coverage/clover.xml +412 -0
  159. package/coverage/coverage-final.json +2 -0
  160. package/coverage/lcov-report/base.css +224 -0
  161. package/coverage/lcov-report/block-navigation.js +87 -0
  162. package/coverage/lcov-report/favicon.png +0 -0
  163. package/coverage/lcov-report/index.html +116 -0
  164. package/coverage/lcov-report/index.js.html +2884 -0
  165. package/coverage/lcov-report/prettify.css +1 -0
  166. package/coverage/lcov-report/prettify.js +2 -0
  167. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  168. package/coverage/lcov-report/sorter.js +196 -0
  169. package/coverage/lcov.info +896 -0
  170. package/internal-docs/CLAUDE.md +139 -0
  171. package/internal-docs/DEPLOYMENT.md +351 -0
  172. package/internal-docs/NPM_DEPLOYMENT_GUIDE.md +203 -0
  173. package/internal-docs/OBSIDIAN_PROJECT_PROMPT.md +302 -0
  174. package/internal-docs/TEST_RESULTS.md +153 -0
  175. package/internal-docs/TEST_SIMULATION.md +27 -0
  176. package/lib/index.d.ts +226 -39
  177. package/lib/index.js +767 -121
  178. package/package.json +54 -17
@@ -0,0 +1,79 @@
1
+ description="Add Subtask"
2
+ prompt = """
3
+ Add a subtask to a parent task.
4
+
5
+ Arguments: $ARGUMENTS
6
+
7
+ Parse arguments to create a new subtask or convert existing task.
8
+
9
+ ## Adding Subtasks
10
+
11
+ Creates subtasks to break down complex parent tasks into manageable pieces.
12
+
13
+ ## Argument Parsing
14
+
15
+ Flexible natural language:
16
+ - "add subtask to 5: implement login form"
17
+ - "break down 5 with: setup, implement, test"
18
+ - "subtask for 5: handle edge cases"
19
+ - "5: validate user input" → adds subtask to task 5
20
+
21
+ ## Execution Modes
22
+
23
+ ### 1. Create New Subtask
24
+ ```bash
25
+ task-master add-subtask --parent=<id> --title="<title>" --description="<desc>"
26
+ ```
27
+
28
+ ### 2. Convert Existing Task
29
+ ```bash
30
+ task-master add-subtask --parent=<id> --task-id=<existing-id>
31
+ ```
32
+
33
+ ## Smart Features
34
+
35
+ 1. **Automatic Subtask Generation**
36
+ - If title contains "and" or commas, create multiple
37
+ - Suggest common subtask patterns
38
+ - Inherit parent's context
39
+
40
+ 2. **Intelligent Defaults**
41
+ - Priority based on parent
42
+ - Appropriate time estimates
43
+ - Logical dependencies between subtasks
44
+
45
+ 3. **Validation**
46
+ - Check parent task complexity
47
+ - Warn if too many subtasks
48
+ - Ensure subtask makes sense
49
+
50
+ ## Creation Process
51
+
52
+ 1. Parse parent task context
53
+ 2. Generate subtask with ID like "5.1"
54
+ 3. Set appropriate defaults
55
+ 4. Link to parent task
56
+ 5. Update parent's time estimate
57
+
58
+ ## Example Flows
59
+
60
+ ```
61
+ /taskmaster:add-subtask to 5: implement user authentication
62
+ → Created subtask #5.1: "implement user authentication"
63
+ → Parent task #5 now has 1 subtask
64
+ → Suggested next subtasks: tests, documentation
65
+
66
+ /taskmaster:add-subtask 5: setup, implement, test
67
+ → Created 3 subtasks:
68
+ #5.1: setup
69
+ #5.2: implement
70
+ #5.3: test
71
+ ```
72
+
73
+ ## Post-Creation
74
+
75
+ - Show updated task hierarchy
76
+ - Suggest logical next subtasks
77
+ - Update complexity estimates
78
+ - Recommend subtask order
79
+ """
@@ -0,0 +1,81 @@
1
+ description="Add Task"
2
+ prompt = """
3
+ Add new tasks with intelligent parsing and context awareness.
4
+
5
+ Arguments: $ARGUMENTS
6
+
7
+ ## Smart Task Addition
8
+
9
+ Parse natural language to create well-structured tasks.
10
+
11
+ ### 1. **Input Understanding**
12
+
13
+ I'll intelligently parse your request:
14
+ - Natural language → Structured task
15
+ - Detect priority from keywords (urgent, ASAP, important)
16
+ - Infer dependencies from context
17
+ - Suggest complexity based on description
18
+ - Determine task type (feature, bug, refactor, test, docs)
19
+
20
+ ### 2. **Smart Parsing Examples**
21
+
22
+ **"Add urgent task to fix login bug"**
23
+ → Title: Fix login bug
24
+ → Priority: high
25
+ → Type: bug
26
+ → Suggested complexity: medium
27
+
28
+ **"Create task for API documentation after task 23 is done"**
29
+ → Title: API documentation
30
+ → Dependencies: [23]
31
+ → Type: documentation
32
+ → Priority: medium
33
+
34
+ **"Need to refactor auth module - depends on 12 and 15, high complexity"**
35
+ → Title: Refactor auth module
36
+ → Dependencies: [12, 15]
37
+ → Complexity: high
38
+ → Type: refactor
39
+
40
+ ### 3. **Context Enhancement**
41
+
42
+ Based on current project state:
43
+ - Suggest related existing tasks
44
+ - Warn about potential conflicts
45
+ - Recommend dependencies
46
+ - Propose subtasks if complex
47
+
48
+ ### 4. **Interactive Refinement**
49
+
50
+ ```yaml
51
+ Task Preview:
52
+ ─────────────
53
+ Title: [Extracted title]
54
+ Priority: [Inferred priority]
55
+ Dependencies: [Detected dependencies]
56
+ Complexity: [Estimated complexity]
57
+
58
+ Suggestions:
59
+ - Similar task #34 exists, consider as dependency?
60
+ - This seems complex, break into subtasks?
61
+ - Tasks #45-47 work on same module
62
+ ```
63
+
64
+ ### 5. **Validation & Creation**
65
+
66
+ Before creating:
67
+ - Validate dependencies exist
68
+ - Check for duplicates
69
+ - Ensure logical ordering
70
+ - Verify task completeness
71
+
72
+ ### 6. **Smart Defaults**
73
+
74
+ Intelligent defaults based on:
75
+ - Task type patterns
76
+ - Team conventions
77
+ - Historical data
78
+ - Current sprint/phase
79
+
80
+ Result: High-quality tasks from minimal input.
81
+ """
@@ -0,0 +1,124 @@
1
+ description="Analyze Complexity"
2
+ prompt = """
3
+ Analyze task complexity and generate expansion recommendations.
4
+
5
+ Arguments: $ARGUMENTS
6
+
7
+ Perform deep analysis of task complexity across the project.
8
+
9
+ ## Complexity Analysis
10
+
11
+ Uses AI to analyze tasks and recommend which ones need breakdown.
12
+
13
+ ## Execution Options
14
+
15
+ ```bash
16
+ task-master analyze-complexity [--research] [--threshold=5]
17
+ ```
18
+
19
+ ## Analysis Parameters
20
+
21
+ - `--research` → Use research AI for deeper analysis
22
+ - `--threshold=5` → Only flag tasks above complexity 5
23
+ - Default: Analyze all pending tasks
24
+
25
+ ## Analysis Process
26
+
27
+ ### 1. **Task Evaluation**
28
+ For each task, AI evaluates:
29
+ - Technical complexity
30
+ - Time requirements
31
+ - Dependency complexity
32
+ - Risk factors
33
+ - Knowledge requirements
34
+
35
+ ### 2. **Complexity Scoring**
36
+ Assigns score 1-10 based on:
37
+ - Implementation difficulty
38
+ - Integration challenges
39
+ - Testing requirements
40
+ - Unknown factors
41
+ - Technical debt risk
42
+
43
+ ### 3. **Recommendations**
44
+ For complex tasks:
45
+ - Suggest expansion approach
46
+ - Recommend subtask breakdown
47
+ - Identify risk areas
48
+ - Propose mitigation strategies
49
+
50
+ ## Smart Analysis Features
51
+
52
+ 1. **Pattern Recognition**
53
+ - Similar task comparisons
54
+ - Historical complexity accuracy
55
+ - Team velocity consideration
56
+ - Technology stack factors
57
+
58
+ 2. **Contextual Factors**
59
+ - Team expertise
60
+ - Available resources
61
+ - Timeline constraints
62
+ - Business criticality
63
+
64
+ 3. **Risk Assessment**
65
+ - Technical risks
66
+ - Timeline risks
67
+ - Dependency risks
68
+ - Knowledge gaps
69
+
70
+ ## Output Format
71
+
72
+ ```
73
+ Task Complexity Analysis Report
74
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
75
+
76
+ High Complexity Tasks (>7):
77
+ 📍 #5 "Implement real-time sync" - Score: 9/10
78
+ Factors: WebSocket complexity, state management, conflict resolution
79
+ Recommendation: Expand into 5-7 subtasks
80
+ Risks: Performance, data consistency
81
+
82
+ 📍 #12 "Migrate database schema" - Score: 8/10
83
+ Factors: Data migration, zero downtime, rollback strategy
84
+ Recommendation: Expand into 4-5 subtasks
85
+ Risks: Data loss, downtime
86
+
87
+ Medium Complexity Tasks (5-7):
88
+ 📍 #23 "Add export functionality" - Score: 6/10
89
+ Consider expansion if timeline tight
90
+
91
+ Low Complexity Tasks (<5):
92
+ ✅ 15 tasks - No expansion needed
93
+
94
+ Summary:
95
+ - Expand immediately: 2 tasks
96
+ - Consider expanding: 5 tasks
97
+ - Keep as-is: 15 tasks
98
+ ```
99
+
100
+ ## Actionable Output
101
+
102
+ For each high-complexity task:
103
+ 1. Complexity score with reasoning
104
+ 2. Specific expansion suggestions
105
+ 3. Risk mitigation approaches
106
+ 4. Recommended subtask structure
107
+
108
+ ## Integration
109
+
110
+ Results are:
111
+ - Saved to `.taskmaster/reports/complexity-analysis.md`
112
+ - Used by expand command
113
+ - Inform sprint planning
114
+ - Guide resource allocation
115
+
116
+ ## Next Steps
117
+
118
+ After analysis:
119
+ ```
120
+ /taskmaster:expand 5 # Expand specific task
121
+ /taskmaster:expand-all # Expand all recommended
122
+ /taskmaster:complexity-report # View detailed report
123
+ ```
124
+ """
@@ -0,0 +1,100 @@
1
+ description="Analyze Project"
2
+ prompt = """
3
+ Advanced project analysis with actionable insights and recommendations.
4
+
5
+ Arguments: $ARGUMENTS
6
+
7
+ ## Comprehensive Project Analysis
8
+
9
+ Multi-dimensional analysis based on requested focus area.
10
+
11
+ ### 1. **Analysis Modes**
12
+
13
+ Based on $ARGUMENTS:
14
+ - "velocity" → Sprint velocity and trends
15
+ - "quality" → Code quality metrics
16
+ - "risk" → Risk assessment and mitigation
17
+ - "dependencies" → Dependency graph analysis
18
+ - "team" → Workload and skill distribution
19
+ - "architecture" → System design coherence
20
+ - Default → Full spectrum analysis
21
+
22
+ ### 2. **Velocity Analytics**
23
+
24
+ ```
25
+ 📊 Velocity Analysis
26
+ ━━━━━━━━━━━━━━━━━━━
27
+ Current Sprint: 24 points/week ↗️ +20%
28
+ Rolling Average: 20 points/week
29
+ Efficiency: 85% (17/20 tasks on time)
30
+
31
+ Bottlenecks Detected:
32
+ - Code review delays (avg 4h wait)
33
+ - Test environment availability
34
+ - Dependency on external team
35
+
36
+ Recommendations:
37
+ 1. Implement parallel review process
38
+ 2. Add staging environment
39
+ 3. Mock external dependencies
40
+ ```
41
+
42
+ ### 3. **Risk Assessment**
43
+
44
+ **Technical Risks**
45
+ - High complexity tasks without backup assignee
46
+ - Single points of failure in architecture
47
+ - Insufficient test coverage in critical paths
48
+ - Technical debt accumulation rate
49
+
50
+ **Project Risks**
51
+ - Critical path dependencies
52
+ - Resource availability gaps
53
+ - Deadline feasibility analysis
54
+ - Scope creep indicators
55
+
56
+ ### 4. **Dependency Intelligence**
57
+
58
+ Visual dependency analysis:
59
+ ```
60
+ Critical Path:
61
+ #12 → #15 → #23 → #45 → #50 (20 days)
62
+ ↘ #24 → #46 ↗
63
+
64
+ Optimization: Parallelize #15 and #24
65
+ Time Saved: 3 days
66
+ ```
67
+
68
+ ### 5. **Quality Metrics**
69
+
70
+ **Code Quality**
71
+ - Test coverage trends
72
+ - Complexity scores
73
+ - Technical debt ratio
74
+ - Review feedback patterns
75
+
76
+ **Process Quality**
77
+ - Rework frequency
78
+ - Bug introduction rate
79
+ - Time to resolution
80
+ - Knowledge distribution
81
+
82
+ ### 6. **Predictive Insights**
83
+
84
+ Based on patterns:
85
+ - Completion probability by deadline
86
+ - Resource needs projection
87
+ - Risk materialization likelihood
88
+ - Suggested interventions
89
+
90
+ ### 7. **Executive Dashboard**
91
+
92
+ High-level summary with:
93
+ - Health score (0-100)
94
+ - Top 3 risks
95
+ - Top 3 opportunities
96
+ - Recommended actions
97
+ - Success probability
98
+
99
+ Result: Data-driven decisions with clear action paths.
100
+ """
@@ -0,0 +1,100 @@
1
+ description="Auto Implement Tasks"
2
+ prompt = """
3
+ Enhanced auto-implementation with intelligent code generation and testing.
4
+
5
+ Arguments: $ARGUMENTS
6
+
7
+ ## Intelligent Auto-Implementation
8
+
9
+ Advanced implementation with context awareness and quality checks.
10
+
11
+ ### 1. **Pre-Implementation Analysis**
12
+
13
+ Before starting:
14
+ - Analyze task complexity and requirements
15
+ - Check codebase patterns and conventions
16
+ - Identify similar completed tasks
17
+ - Assess test coverage needs
18
+ - Detect potential risks
19
+
20
+ ### 2. **Smart Implementation Strategy**
21
+
22
+ Based on task type and context:
23
+
24
+ **Feature Tasks**
25
+ 1. Research existing patterns
26
+ 2. Design component architecture
27
+ 3. Implement with tests
28
+ 4. Integrate with system
29
+ 5. Update documentation
30
+
31
+ **Bug Fix Tasks**
32
+ 1. Reproduce issue
33
+ 2. Identify root cause
34
+ 3. Implement minimal fix
35
+ 4. Add regression tests
36
+ 5. Verify side effects
37
+
38
+ **Refactoring Tasks**
39
+ 1. Analyze current structure
40
+ 2. Plan incremental changes
41
+ 3. Maintain test coverage
42
+ 4. Refactor step-by-step
43
+ 5. Verify behavior unchanged
44
+
45
+ ### 3. **Code Intelligence**
46
+
47
+ **Pattern Recognition**
48
+ - Learn from existing code
49
+ - Follow team conventions
50
+ - Use preferred libraries
51
+ - Match style guidelines
52
+
53
+ **Test-Driven Approach**
54
+ - Write tests first when possible
55
+ - Ensure comprehensive coverage
56
+ - Include edge cases
57
+ - Performance considerations
58
+
59
+ ### 4. **Progressive Implementation**
60
+
61
+ Step-by-step with validation:
62
+ ```
63
+ Step 1/5: Setting up component structure ✓
64
+ Step 2/5: Implementing core logic ✓
65
+ Step 3/5: Adding error handling ⚡ (in progress)
66
+ Step 4/5: Writing tests ⏳
67
+ Step 5/5: Integration testing ⏳
68
+
69
+ Current: Adding try-catch blocks and validation...
70
+ ```
71
+
72
+ ### 5. **Quality Assurance**
73
+
74
+ Automated checks:
75
+ - Linting and formatting
76
+ - Test execution
77
+ - Type checking
78
+ - Dependency validation
79
+ - Performance analysis
80
+
81
+ ### 6. **Smart Recovery**
82
+
83
+ If issues arise:
84
+ - Diagnostic analysis
85
+ - Suggestion generation
86
+ - Fallback strategies
87
+ - Manual intervention points
88
+ - Learning from failures
89
+
90
+ ### 7. **Post-Implementation**
91
+
92
+ After completion:
93
+ - Generate PR description
94
+ - Update documentation
95
+ - Log lessons learned
96
+ - Suggest follow-up tasks
97
+ - Update task relationships
98
+
99
+ Result: High-quality, production-ready implementations.
100
+ """
@@ -0,0 +1,80 @@
1
+ description="Command Pipeline"
2
+ prompt = """
3
+ Execute a pipeline of commands based on a specification.
4
+
5
+ Arguments: $ARGUMENTS
6
+
7
+ ## Command Pipeline Execution
8
+
9
+ Parse pipeline specification from arguments. Supported formats:
10
+
11
+ ### Simple Pipeline
12
+ `init → expand-all → sprint-plan`
13
+
14
+ ### Conditional Pipeline
15
+ `status → if:pending>10 → sprint-plan → else → next`
16
+
17
+ ### Iterative Pipeline
18
+ `for:pending-tasks → expand → complexity-check`
19
+
20
+ ### Smart Pipeline Patterns
21
+
22
+ **1. Project Setup Pipeline**
23
+ ```
24
+ init [prd] →
25
+ expand-all →
26
+ complexity-report →
27
+ sprint-plan →
28
+ show first-sprint
29
+ ```
30
+
31
+ **2. Daily Work Pipeline**
32
+ ```
33
+ standup →
34
+ if:in-progress → continue →
35
+ else → next → start
36
+ ```
37
+
38
+ **3. Task Completion Pipeline**
39
+ ```
40
+ complete [id] →
41
+ git-commit →
42
+ if:blocked-tasks-freed → show-freed →
43
+ next
44
+ ```
45
+
46
+ **4. Quality Check Pipeline**
47
+ ```
48
+ list in-progress →
49
+ for:each → check-idle-time →
50
+ if:idle>1day → prompt-update
51
+ ```
52
+
53
+ ### Pipeline Features
54
+
55
+ **Variables**
56
+ - Store results: `status → $count=pending-count`
57
+ - Use in conditions: `if:$count>10`
58
+ - Pass between commands: `expand $high-priority-tasks`
59
+
60
+ **Error Handling**
61
+ - On failure: `try:complete → catch:show-blockers`
62
+ - Skip on error: `optional:test-run`
63
+ - Retry logic: `retry:3:commit`
64
+
65
+ **Parallel Execution**
66
+ - Parallel branches: `[analyze | test | lint]`
67
+ - Join results: `parallel → join:report`
68
+
69
+ ### Execution Flow
70
+
71
+ 1. Parse pipeline specification
72
+ 2. Validate command sequence
73
+ 3. Execute with state passing
74
+ 4. Handle conditions and loops
75
+ 5. Aggregate results
76
+ 6. Show summary
77
+
78
+ This enables complex workflows like:
79
+ `parse-prd → expand-all → filter:complex>70 → assign:senior → sprint-plan:weighted`
80
+ """
@@ -0,0 +1,120 @@
1
+ description="Complexity Report"
2
+ prompt = """
3
+ Display the task complexity analysis report.
4
+
5
+ Arguments: $ARGUMENTS
6
+
7
+ View the detailed complexity analysis generated by analyze-complexity command.
8
+
9
+ ## Viewing Complexity Report
10
+
11
+ Shows comprehensive task complexity analysis with actionable insights.
12
+
13
+ ## Execution
14
+
15
+ ```bash
16
+ task-master complexity-report [--file=<path>]
17
+ ```
18
+
19
+ ## Report Location
20
+
21
+ Default: `.taskmaster/reports/complexity-analysis.md`
22
+ Custom: Specify with --file parameter
23
+
24
+ ## Report Contents
25
+
26
+ ### 1. **Executive Summary**
27
+ ```
28
+ Complexity Analysis Summary
29
+ ━━━━━━━━━━━━━━━━━━━━━━━━
30
+ Analysis Date: 2024-01-15
31
+ Tasks Analyzed: 32
32
+ High Complexity: 5 (16%)
33
+ Medium Complexity: 12 (37%)
34
+ Low Complexity: 15 (47%)
35
+
36
+ Critical Findings:
37
+ - 5 tasks need immediate expansion
38
+ - 3 tasks have high technical risk
39
+ - 2 tasks block critical path
40
+ ```
41
+
42
+ ### 2. **Detailed Task Analysis**
43
+ For each complex task:
44
+ - Complexity score breakdown
45
+ - Contributing factors
46
+ - Specific risks identified
47
+ - Expansion recommendations
48
+ - Similar completed tasks
49
+
50
+ ### 3. **Risk Matrix**
51
+ Visual representation:
52
+ ```
53
+ Risk vs Complexity Matrix
54
+ ━━━━━━━━━━━━━━━━━━━━━━━
55
+ High Risk | #5(9) #12(8) | #23(6)
56
+ Med Risk | #34(7) | #45(5) #67(5)
57
+ Low Risk | #78(8) | [15 tasks]
58
+ | High Complex | Med Complex
59
+ ```
60
+
61
+ ### 4. **Recommendations**
62
+
63
+ **Immediate Actions:**
64
+ 1. Expand task #5 - Critical path + high complexity
65
+ 2. Expand task #12 - High risk + dependencies
66
+ 3. Review task #34 - Consider splitting
67
+
68
+ **Sprint Planning:**
69
+ - Don't schedule multiple high-complexity tasks together
70
+ - Ensure expertise available for complex tasks
71
+ - Build in buffer time for unknowns
72
+
73
+ ## Interactive Features
74
+
75
+ When viewing report:
76
+ 1. **Quick Actions**
77
+ - Press 'e' to expand a task
78
+ - Press 'd' for task details
79
+ - Press 'r' to refresh analysis
80
+
81
+ 2. **Filtering**
82
+ - View by complexity level
83
+ - Filter by risk factors
84
+ - Show only actionable items
85
+
86
+ 3. **Export Options**
87
+ - Markdown format
88
+ - CSV for spreadsheets
89
+ - JSON for tools
90
+
91
+ ## Report Intelligence
92
+
93
+ - Compares with historical data
94
+ - Shows complexity trends
95
+ - Identifies patterns
96
+ - Suggests process improvements
97
+
98
+ ## Integration
99
+
100
+ Use report for:
101
+ - Sprint planning sessions
102
+ - Resource allocation
103
+ - Risk assessment
104
+ - Team discussions
105
+ - Client updates
106
+
107
+ ## Example Usage
108
+
109
+ ```
110
+ /taskmaster:complexity-report
111
+ → Opens latest analysis
112
+
113
+ /taskmaster:complexity-report --file=archived/2024-01-01.md
114
+ → View historical analysis
115
+
116
+ After viewing:
117
+ /taskmaster:expand 5
118
+ → Expand high-complexity task
119
+ ```
120
+ """