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,20 @@
1
+ {
2
+ "mcpServers": {
3
+ "task-master-ai": {
4
+ "command": "npx",
5
+ "args": ["-y", "task-master-ai"],
6
+ "env": {
7
+ "TASK_MASTER_TOOLS": "core",
8
+ "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
9
+ "PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
10
+ "OPENAI_API_KEY": "YOUR_OPENAI_KEY_HERE",
11
+ "GOOGLE_API_KEY": "YOUR_GOOGLE_KEY_HERE",
12
+ "XAI_API_KEY": "YOUR_XAI_KEY_HERE",
13
+ "OPENROUTER_API_KEY": "YOUR_OPENROUTER_KEY_HERE",
14
+ "MISTRAL_API_KEY": "YOUR_MISTRAL_KEY_HERE",
15
+ "AZURE_OPENAI_API_KEY": "YOUR_AZURE_KEY_HERE",
16
+ "OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY_HERE"
17
+ }
18
+ }
19
+ }
20
+ }
package/.mcp.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "mcpServers": {
3
+ "task-master-ai": {
4
+ "type": "stdio",
5
+ "command": "npx",
6
+ "args": [
7
+ "-y",
8
+ "task-master-ai"
9
+ ],
10
+ "env": {
11
+ "TASK_MASTER_TOOLS": "core"
12
+ }
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "branches": [
3
+ "main",
4
+ "master",
5
+ {
6
+ "name": "beta",
7
+ "prerelease": true
8
+ },
9
+ {
10
+ "name": "alpha",
11
+ "prerelease": true
12
+ }
13
+ ],
14
+ "plugins": [
15
+ [
16
+ "@semantic-release/commit-analyzer",
17
+ {
18
+ "preset": "conventionalcommits",
19
+ "releaseRules": [
20
+ { "type": "feat", "release": "minor" },
21
+ { "type": "fix", "release": "patch" },
22
+ { "type": "perf", "release": "patch" },
23
+ { "type": "revert", "release": "patch" },
24
+ { "type": "docs", "release": "patch" },
25
+ { "type": "style", "release": false },
26
+ { "type": "refactor", "release": "patch" },
27
+ { "type": "test", "release": false },
28
+ { "type": "build", "release": false },
29
+ { "type": "ci", "release": false },
30
+ { "scope": "no-release", "release": false },
31
+ { "breaking": true, "release": "major" }
32
+ ],
33
+ "parserOpts": {
34
+ "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
35
+ }
36
+ }
37
+ ],
38
+ [
39
+ "@semantic-release/release-notes-generator",
40
+ {
41
+ "preset": "conventionalcommits",
42
+ "presetConfig": {
43
+ "types": [
44
+ { "type": "feat", "section": "✨ Features", "hidden": false },
45
+ { "type": "fix", "section": "🐛 Bug Fixes", "hidden": false },
46
+ { "type": "perf", "section": "⚡ Performance", "hidden": false },
47
+ { "type": "revert", "section": "⏪ Reverts", "hidden": false },
48
+ { "type": "docs", "section": "📝 Documentation", "hidden": false },
49
+ { "type": "style", "section": "💄 Styles", "hidden": false },
50
+ {
51
+ "type": "refactor",
52
+ "section": "♻️ Refactoring",
53
+ "hidden": false
54
+ },
55
+ { "type": "test", "section": "🧪 Tests", "hidden": false },
56
+ { "type": "build", "section": "📦 Build", "hidden": false },
57
+ { "type": "ci", "section": "👷 CI/CD", "hidden": false }
58
+ ]
59
+ },
60
+ "writerOpts": {
61
+ "commitsSort": ["subject", "scope"]
62
+ }
63
+ }
64
+ ],
65
+ [
66
+ "@semantic-release/changelog",
67
+ {
68
+ "changelogFile": "CHANGELOG.md",
69
+ "changelogTitle": "# 📋 Changelog\n\nAll notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines."
70
+ }
71
+ ],
72
+ [
73
+ "@semantic-release/npm",
74
+ {
75
+ "npmPublish": true,
76
+ "tarballDir": "dist"
77
+ }
78
+ ],
79
+ [
80
+ "@semantic-release/github",
81
+ {
82
+ "successComment": "🎉 This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version [${nextRelease.version}](${releases.filter(release => !!release.name)[0].url}) which has been released! 🚀\n\n📦 Install the latest version:\n```bash\nnpm install jell-utils@${nextRelease.version}\n```",
83
+ "failTitle": "❌ The automated release is failing 🚨",
84
+ "failComment": "The automated release from the `${branch.name}` branch failed. 😞\n\n📝 Full changelog: ${nextRelease.notes}\n🔍 [Workflow run](${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID})",
85
+ "labels": ["released"],
86
+ "releasedLabels": [
87
+ "released<%= nextRelease.type === 'prerelease' ? `-${nextRelease.prerelease}` : '' %>"
88
+ ],
89
+ "addReleases": "bottom",
90
+ "assets": [
91
+ {
92
+ "path": "lib/**/*",
93
+ "label": "Compiled JavaScript (${nextRelease.version})"
94
+ },
95
+ {
96
+ "path": "dist/*.tgz",
97
+ "label": "NPM Package (${nextRelease.version})"
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ [
103
+ "@semantic-release/git",
104
+ {
105
+ "assets": [
106
+ "package.json",
107
+ "package-lock.json",
108
+ "CHANGELOG.md",
109
+ "lib/**/*"
110
+ ],
111
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
112
+ }
113
+ ]
114
+ ]
115
+ }
@@ -0,0 +1,435 @@
1
+ # Task Master AI - Agent Integration Guide
2
+
3
+ ## Essential Commands
4
+
5
+ ### Core Workflow Commands
6
+
7
+ ```bash
8
+ # Project Setup
9
+ task-master init # Initialize Task Master in current project
10
+ task-master parse-prd .taskmaster/docs/prd.md # Generate tasks from PRD document
11
+ task-master models --setup # Configure AI models interactively
12
+
13
+ # Daily Development Workflow
14
+ task-master list # Show all tasks with status
15
+ task-master next # Get next available task to work on
16
+ task-master show <id> # View detailed task information (e.g., task-master show 1.2)
17
+ task-master set-status --id=<id> --status=done # Mark task complete
18
+
19
+ # Task Management
20
+ task-master add-task --prompt="description" --research # Add new task with AI assistance
21
+ task-master expand --id=<id> --research --force # Break task into subtasks
22
+ task-master update-task --id=<id> --prompt="changes" # Update specific task
23
+ task-master update --from=<id> --prompt="changes" # Update multiple tasks from ID onwards
24
+ task-master update-subtask --id=<id> --prompt="notes" # Add implementation notes to subtask
25
+
26
+ # Analysis & Planning
27
+ task-master analyze-complexity --research # Analyze task complexity
28
+ task-master complexity-report # View complexity analysis
29
+ task-master expand --all --research # Expand all eligible tasks
30
+
31
+ # Dependencies & Organization
32
+ task-master add-dependency --id=<id> --depends-on=<id> # Add task dependency
33
+ task-master move --from=<id> --to=<id> # Reorganize task hierarchy
34
+ task-master validate-dependencies # Check for dependency issues
35
+ task-master generate # Update task markdown files (usually auto-called)
36
+ ```
37
+
38
+ ## Key Files & Project Structure
39
+
40
+ ### Core Files
41
+
42
+ - `.taskmaster/tasks/tasks.json` - Main task data file (auto-managed)
43
+ - `.taskmaster/config.json` - AI model configuration (use `task-master models` to modify)
44
+ - `.taskmaster/docs/prd.md` - Product Requirements Document for parsing (`.md` extension recommended for better editor support)
45
+ - `.taskmaster/tasks/*.txt` - Individual task files (auto-generated from tasks.json)
46
+ - `.env` - API keys for CLI usage
47
+
48
+ **PRD File Format:** While both `.txt` and `.md` extensions work, **`.md` is recommended** because:
49
+ - Markdown syntax highlighting in editors improves readability
50
+ - Proper rendering when previewing in VS Code, GitHub, or other tools
51
+ - Better collaboration through formatted documentation
52
+
53
+ ### Claude Code Integration Files
54
+
55
+ - `CLAUDE.md` - Auto-loaded context for Claude Code (this file)
56
+ - `.claude/settings.json` - Claude Code tool allowlist and preferences
57
+ - `.claude/commands/` - Custom slash commands for repeated workflows
58
+ - `.mcp.json` - MCP server configuration (project-specific)
59
+
60
+ ### Directory Structure
61
+
62
+ ```
63
+ project/
64
+ ├── .taskmaster/
65
+ │ ├── tasks/ # Task files directory
66
+ │ │ ├── tasks.json # Main task database
67
+ │ │ ├── task-1.md # Individual task files
68
+ │ │ └── task-2.md
69
+ │ ├── docs/ # Documentation directory
70
+ │ │ ├── prd.md # Product requirements (.md recommended)
71
+ │ ├── reports/ # Analysis reports directory
72
+ │ │ └── task-complexity-report.json
73
+ │ ├── templates/ # Template files
74
+ │ │ └── example_prd.md # Example PRD template (.md recommended)
75
+ │ └── config.json # AI models & settings
76
+ ├── .claude/
77
+ │ ├── settings.json # Claude Code configuration
78
+ │ └── commands/ # Custom slash commands
79
+ ├── .env # API keys
80
+ ├── .mcp.json # MCP configuration
81
+ └── CLAUDE.md # This file - auto-loaded by Claude Code
82
+ ```
83
+
84
+ ## MCP Integration
85
+
86
+ Task Master provides an MCP server that Claude Code can connect to. Configure in `.mcp.json`:
87
+
88
+ ```json
89
+ {
90
+ "mcpServers": {
91
+ "task-master-ai": {
92
+ "command": "npx",
93
+ "args": ["-y", "task-master-ai"],
94
+ "env": {
95
+ "TASK_MASTER_TOOLS": "core",
96
+ "ANTHROPIC_API_KEY": "your_key_here",
97
+ "PERPLEXITY_API_KEY": "your_key_here",
98
+ "OPENAI_API_KEY": "OPENAI_API_KEY_HERE",
99
+ "GOOGLE_API_KEY": "GOOGLE_API_KEY_HERE",
100
+ "XAI_API_KEY": "XAI_API_KEY_HERE",
101
+ "OPENROUTER_API_KEY": "OPENROUTER_API_KEY_HERE",
102
+ "MISTRAL_API_KEY": "MISTRAL_API_KEY_HERE",
103
+ "AZURE_OPENAI_API_KEY": "AZURE_OPENAI_API_KEY_HERE",
104
+ "OLLAMA_API_KEY": "OLLAMA_API_KEY_HERE"
105
+ }
106
+ }
107
+ }
108
+ }
109
+ ```
110
+
111
+ ### MCP Tool Tiers
112
+
113
+ Default: `core` (7 tools). Set via `TASK_MASTER_TOOLS` env var.
114
+
115
+ | Tier | Count | Tools |
116
+ |------|-------|-------|
117
+ | `core` | 7 | `get_tasks`, `next_task`, `get_task`, `set_task_status`, `update_subtask`, `parse_prd`, `expand_task` |
118
+ | `standard` | 14 | core + `initialize_project`, `analyze_project_complexity`, `expand_all`, `add_subtask`, `remove_task`, `add_task`, `complexity_report` |
119
+ | `all` | 44+ | standard + dependencies, tags, research, autopilot, scoping, models, rules |
120
+
121
+ **Upgrade when tool unavailable:** Edit MCP config, change `TASK_MASTER_TOOLS` from `"core"` to `"standard"` or `"all"`, restart MCP.
122
+
123
+ ### Essential MCP Tools
124
+
125
+ ```javascript
126
+ help; // = shows available taskmaster commands
127
+ // Project setup
128
+ initialize_project; // = task-master init
129
+ parse_prd; // = task-master parse-prd
130
+
131
+ // Daily workflow
132
+ get_tasks; // = task-master list
133
+ next_task; // = task-master next
134
+ get_task; // = task-master show <id>
135
+ set_task_status; // = task-master set-status
136
+
137
+ // Task management
138
+ add_task; // = task-master add-task
139
+ expand_task; // = task-master expand
140
+ update_task; // = task-master update-task
141
+ update_subtask; // = task-master update-subtask
142
+ update; // = task-master update
143
+
144
+ // Analysis
145
+ analyze_project_complexity; // = task-master analyze-complexity
146
+ complexity_report; // = task-master complexity-report
147
+ ```
148
+
149
+ ## Claude Code Workflow Integration
150
+
151
+ ### Standard Development Workflow
152
+
153
+ #### 1. Project Initialization
154
+
155
+ ```bash
156
+ # Initialize Task Master
157
+ task-master init
158
+
159
+ # Create or obtain PRD, then parse it (use .md extension for better editor support)
160
+ task-master parse-prd .taskmaster/docs/prd.md
161
+
162
+ # Analyze complexity and expand tasks
163
+ task-master analyze-complexity --research
164
+ task-master expand --all --research
165
+ ```
166
+
167
+ If tasks already exist, another PRD can be parsed (with new information only!) using parse-prd with --append flag. This will add the generated tasks to the existing list of tasks..
168
+
169
+ #### 2. Daily Development Loop
170
+
171
+ ```bash
172
+ # Start each session
173
+ task-master next # Find next available task
174
+ task-master show <id> # Review task details
175
+
176
+ # During implementation, check in code context into the tasks and subtasks
177
+ task-master update-subtask --id=<id> --prompt="implementation notes..."
178
+
179
+ # Complete tasks
180
+ task-master set-status --id=<id> --status=done
181
+ ```
182
+
183
+ #### 3. Multi-Claude Workflows
184
+
185
+ For complex projects, use multiple Claude Code sessions:
186
+
187
+ ```bash
188
+ # Terminal 1: Main implementation
189
+ cd project && claude
190
+
191
+ # Terminal 2: Testing and validation
192
+ cd project-test-worktree && claude
193
+
194
+ # Terminal 3: Documentation updates
195
+ cd project-docs-worktree && claude
196
+ ```
197
+
198
+ ### Custom Slash Commands
199
+
200
+ Create `.claude/commands/taskmaster-next.md`:
201
+
202
+ ```markdown
203
+ Find the next available Task Master task and show its details.
204
+
205
+ Steps:
206
+
207
+ 1. Run `task-master next` to get the next task
208
+ 2. If a task is available, run `task-master show <id>` for full details
209
+ 3. Provide a summary of what needs to be implemented
210
+ 4. Suggest the first implementation step
211
+ ```
212
+
213
+ Create `.claude/commands/taskmaster-complete.md`:
214
+
215
+ ```markdown
216
+ Complete a Task Master task: $ARGUMENTS
217
+
218
+ Steps:
219
+
220
+ 1. Review the current task with `task-master show $ARGUMENTS`
221
+ 2. Verify all implementation is complete
222
+ 3. Run any tests related to this task
223
+ 4. Mark as complete: `task-master set-status --id=$ARGUMENTS --status=done`
224
+ 5. Show the next available task with `task-master next`
225
+ ```
226
+
227
+ ## Tool Allowlist Recommendations
228
+
229
+ Add to `.claude/settings.json`:
230
+
231
+ ```json
232
+ {
233
+ "allowedTools": [
234
+ "Edit",
235
+ "Bash(task-master *)",
236
+ "Bash(git commit:*)",
237
+ "Bash(git add:*)",
238
+ "Bash(npm run *)",
239
+ "mcp__task_master_ai__*"
240
+ ]
241
+ }
242
+ ```
243
+
244
+ ## Configuration & Setup
245
+
246
+ ### API Keys Required
247
+
248
+ At least **one** of these API keys must be configured:
249
+
250
+ - `ANTHROPIC_API_KEY` (Claude models) - **Recommended**
251
+ - `PERPLEXITY_API_KEY` (Research features) - **Highly recommended**
252
+ - `OPENAI_API_KEY` (GPT models)
253
+ - `GOOGLE_API_KEY` (Gemini models)
254
+ - `MISTRAL_API_KEY` (Mistral models)
255
+ - `OPENROUTER_API_KEY` (Multiple models)
256
+ - `XAI_API_KEY` (Grok models)
257
+
258
+ An API key is required for any provider used across any of the 3 roles defined in the `models` command.
259
+
260
+ ### Model Configuration
261
+
262
+ ```bash
263
+ # Interactive setup (recommended)
264
+ task-master models --setup
265
+
266
+ # Set specific models
267
+ task-master models --set-main claude-3-5-sonnet-20241022
268
+ task-master models --set-research perplexity-llama-3.1-sonar-large-128k-online
269
+ task-master models --set-fallback gpt-4o-mini
270
+ ```
271
+
272
+ ## Task Structure & IDs
273
+
274
+ ### Task ID Format
275
+
276
+ - Main tasks: `1`, `2`, `3`, etc.
277
+ - Subtasks: `1.1`, `1.2`, `2.1`, etc.
278
+ - Sub-subtasks: `1.1.1`, `1.1.2`, etc.
279
+
280
+ ### Task Status Values
281
+
282
+ - `pending` - Ready to work on
283
+ - `in-progress` - Currently being worked on
284
+ - `done` - Completed and verified
285
+ - `deferred` - Postponed
286
+ - `cancelled` - No longer needed
287
+ - `blocked` - Waiting on external factors
288
+
289
+ ### Task Fields
290
+
291
+ ```json
292
+ {
293
+ "id": "1.2",
294
+ "title": "Implement user authentication",
295
+ "description": "Set up JWT-based auth system",
296
+ "status": "pending",
297
+ "priority": "high",
298
+ "dependencies": ["1.1"],
299
+ "details": "Use bcrypt for hashing, JWT for tokens...",
300
+ "testStrategy": "Unit tests for auth functions, integration tests for login flow",
301
+ "subtasks": []
302
+ }
303
+ ```
304
+
305
+ ## Claude Code Best Practices with Task Master
306
+
307
+ ### Context Management
308
+
309
+ - Use `/clear` between different tasks to maintain focus
310
+ - This CLAUDE.md file is automatically loaded for context
311
+ - Use `task-master show <id>` to pull specific task context when needed
312
+
313
+ ### Iterative Implementation
314
+
315
+ 1. `task-master show <subtask-id>` - Understand requirements
316
+ 2. Explore codebase and plan implementation
317
+ 3. `task-master update-subtask --id=<id> --prompt="detailed plan"` - Log plan
318
+ 4. `task-master set-status --id=<id> --status=in-progress` - Start work
319
+ 5. Implement code following logged plan
320
+ 6. `task-master update-subtask --id=<id> --prompt="what worked/didn't work"` - Log progress
321
+ 7. `task-master set-status --id=<id> --status=done` - Complete task
322
+
323
+ ### Complex Workflows with Checklists
324
+
325
+ For large migrations or multi-step processes:
326
+
327
+ 1. Create a markdown PRD file describing the new changes: `touch task-migration-checklist.md` (prds can be .txt or .md)
328
+ 2. Use Taskmaster to parse the new prd with `task-master parse-prd --append` (also available in MCP)
329
+ 3. Use Taskmaster to expand the newly generated tasks into subtasks. Consdier using `analyze-complexity` with the correct --to and --from IDs (the new ids) to identify the ideal subtask amounts for each task. Then expand them.
330
+ 4. Work through items systematically, checking them off as completed
331
+ 5. Use `task-master update-subtask` to log progress on each task/subtask and/or updating/researching them before/during implementation if getting stuck
332
+
333
+ ### Git Integration
334
+
335
+ Task Master works well with `gh` CLI:
336
+
337
+ ```bash
338
+ # Create PR for completed task
339
+ gh pr create --title "Complete task 1.2: User authentication" --body "Implements JWT auth system as specified in task 1.2"
340
+
341
+ # Reference task in commits
342
+ git commit -m "feat: implement JWT auth (task 1.2)"
343
+ ```
344
+
345
+ ### Parallel Development with Git Worktrees
346
+
347
+ ```bash
348
+ # Create worktrees for parallel task development
349
+ git worktree add ../project-auth feature/auth-system
350
+ git worktree add ../project-api feature/api-refactor
351
+
352
+ # Run Claude Code in each worktree
353
+ cd ../project-auth && claude # Terminal 1: Auth work
354
+ cd ../project-api && claude # Terminal 2: API work
355
+ ```
356
+
357
+ ## Troubleshooting
358
+
359
+ ### AI Commands Failing
360
+
361
+ ```bash
362
+ # Check API keys are configured
363
+ cat .env # For CLI usage
364
+
365
+ # Verify model configuration
366
+ task-master models
367
+
368
+ # Test with different model
369
+ task-master models --set-fallback gpt-4o-mini
370
+ ```
371
+
372
+ ### MCP Connection Issues
373
+
374
+ - Check `.mcp.json` configuration
375
+ - Verify Node.js installation
376
+ - Use `--mcp-debug` flag when starting Claude Code
377
+ - Use CLI as fallback if MCP unavailable
378
+
379
+ ### Task File Sync Issues
380
+
381
+ ```bash
382
+ # Regenerate task files from tasks.json
383
+ task-master generate
384
+
385
+ # Fix dependency issues
386
+ task-master fix-dependencies
387
+ ```
388
+
389
+ DO NOT RE-INITIALIZE. That will not do anything beyond re-adding the same Taskmaster core files.
390
+
391
+ ## Important Notes
392
+
393
+ ### AI-Powered Operations
394
+
395
+ These commands make AI calls and may take up to a minute:
396
+
397
+ - `parse_prd` / `task-master parse-prd`
398
+ - `analyze_project_complexity` / `task-master analyze-complexity`
399
+ - `expand_task` / `task-master expand`
400
+ - `expand_all` / `task-master expand --all`
401
+ - `add_task` / `task-master add-task`
402
+ - `update` / `task-master update`
403
+ - `update_task` / `task-master update-task`
404
+ - `update_subtask` / `task-master update-subtask`
405
+
406
+ ### File Management
407
+
408
+ - Never manually edit `tasks.json` - use commands instead
409
+ - Never manually edit `.taskmaster/config.json` - use `task-master models`
410
+ - Task markdown files in `tasks/` are auto-generated
411
+ - Run `task-master generate` after manual changes to tasks.json
412
+
413
+ ### Claude Code Session Management
414
+
415
+ - Use `/clear` frequently to maintain focused context
416
+ - Create custom slash commands for repeated Task Master workflows
417
+ - Configure tool allowlist to streamline permissions
418
+ - Use headless mode for automation: `claude -p "task-master next"`
419
+
420
+ ### Multi-Task Updates
421
+
422
+ - Use `update --from=<id>` to update multiple future tasks
423
+ - Use `update-task --id=<id>` for single task updates
424
+ - Use `update-subtask --id=<id>` for implementation logging
425
+
426
+ ### Research Mode
427
+
428
+ - Add `--research` flag for research-based AI enhancement
429
+ - Requires a research model API key like Perplexity (`PERPLEXITY_API_KEY`) in environment
430
+ - Provides more informed task creation and updates
431
+ - Recommended for complex technical tasks
432
+
433
+ ---
434
+
435
+ _This guide ensures Claude Code has immediate access to Task Master's essential functionality for agentic development workflows._
@@ -0,0 +1,44 @@
1
+ {
2
+ "models": {
3
+ "main": {
4
+ "provider": "claude-code",
5
+ "modelId": "sonnet",
6
+ "maxTokens": 64000,
7
+ "temperature": 0.2
8
+ },
9
+ "research": {
10
+ "provider": "claude-code",
11
+ "modelId": "opus",
12
+ "maxTokens": 32000,
13
+ "temperature": 0.1
14
+ },
15
+ "fallback": {
16
+ "provider": "claude-code",
17
+ "modelId": "sonnet",
18
+ "maxTokens": 64000,
19
+ "temperature": 0.2
20
+ }
21
+ },
22
+ "global": {
23
+ "logLevel": "info",
24
+ "debug": false,
25
+ "defaultNumTasks": 10,
26
+ "defaultSubtasks": 5,
27
+ "defaultPriority": "medium",
28
+ "projectName": "Task Master",
29
+ "ollamaBaseURL": "http://localhost:11434/api",
30
+ "bedrockBaseURL": "https://bedrock.us-east-1.amazonaws.com",
31
+ "responseLanguage": "English",
32
+ "enableCodebaseAnalysis": true,
33
+ "enableProxy": false,
34
+ "anonymousTelemetry": true,
35
+ "userId": "1234567890"
36
+ },
37
+ "claudeCode": {},
38
+ "codexCli": {},
39
+ "grokCli": {
40
+ "timeout": 120000,
41
+ "workingDirectory": null,
42
+ "defaultModel": "grok-4-latest"
43
+ }
44
+ }