@hhsw2015/task-master-ai 0.43.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 (57) hide show
  1. package/CHANGELOG.md +4072 -0
  2. package/LICENSE +25 -0
  3. package/README-task-master.md +648 -0
  4. package/README.md +415 -0
  5. package/dist/ai-services-unified-BgdcS4fE.js +7 -0
  6. package/dist/ai-services-unified-DVAKOPK0.js +1 -0
  7. package/dist/assets/.windsurfrules +524 -0
  8. package/dist/assets/AGENTS.md +435 -0
  9. package/dist/assets/GEMINI.md +110 -0
  10. package/dist/assets/claude/TM_COMMANDS_GUIDE.md +147 -0
  11. package/dist/assets/config.json +34 -0
  12. package/dist/assets/env.example +12 -0
  13. package/dist/assets/example_prd.txt +47 -0
  14. package/dist/assets/example_prd_rpg.txt +511 -0
  15. package/dist/assets/gitignore +25 -0
  16. package/dist/assets/hamster-art.txt +49 -0
  17. package/dist/assets/kiro-hooks/tm-code-change-task-tracker.kiro.hook +23 -0
  18. package/dist/assets/kiro-hooks/tm-complexity-analyzer.kiro.hook +16 -0
  19. package/dist/assets/kiro-hooks/tm-daily-standup-assistant.kiro.hook +13 -0
  20. package/dist/assets/kiro-hooks/tm-git-commit-task-linker.kiro.hook +13 -0
  21. package/dist/assets/kiro-hooks/tm-pr-readiness-checker.kiro.hook +13 -0
  22. package/dist/assets/kiro-hooks/tm-task-dependency-auto-progression.kiro.hook +17 -0
  23. package/dist/assets/kiro-hooks/tm-test-success-task-completer.kiro.hook +23 -0
  24. package/dist/assets/roocode/.roo/rules-architect/architect-rules +93 -0
  25. package/dist/assets/roocode/.roo/rules-ask/ask-rules +89 -0
  26. package/dist/assets/roocode/.roo/rules-code/code-rules +61 -0
  27. package/dist/assets/roocode/.roo/rules-debug/debug-rules +68 -0
  28. package/dist/assets/roocode/.roo/rules-orchestrator/orchestrator-rules +181 -0
  29. package/dist/assets/roocode/.roo/rules-test/test-rules +61 -0
  30. package/dist/assets/roocode/.roomodes +63 -0
  31. package/dist/assets/rules/cursor_rules.mdc +53 -0
  32. package/dist/assets/rules/dev_workflow.mdc +424 -0
  33. package/dist/assets/rules/hamster.mdc +173 -0
  34. package/dist/assets/rules/self_improve.mdc +72 -0
  35. package/dist/assets/rules/taskmaster.mdc +573 -0
  36. package/dist/assets/rules/taskmaster_hooks_workflow.mdc +59 -0
  37. package/dist/assets/scripts_README.md +445 -0
  38. package/dist/commands-D7m4KWx1.js +329 -0
  39. package/dist/config-manager-CvbfYtIR.js +1 -0
  40. package/dist/config-manager-cjltSxIS.js +270 -0
  41. package/dist/dependency-manager-CyOxi5uo.js +1078 -0
  42. package/dist/git-utils-DllbRE35.js +1 -0
  43. package/dist/git-utils-PBP1PRVP.js +1 -0
  44. package/dist/mcp-server.js +44 -0
  45. package/dist/profiles-DcD-JxPM.js +3528 -0
  46. package/dist/research-DN4RyyJY.js +1 -0
  47. package/dist/response-language-C5AwQSfD.js +1 -0
  48. package/dist/response-language-LzM2RD6-.js +1 -0
  49. package/dist/sentry-CBAZ4LSk.js +1 -0
  50. package/dist/tag-management-6HOtYZMj.js +1 -0
  51. package/dist/task-manager-BtFURFe0.js +1 -0
  52. package/dist/task-master.js +2 -0
  53. package/dist/update-subtask-by-id-DiWMqGfw.js +1 -0
  54. package/dist/update-task-by-id-eyL-PNVX.js +1 -0
  55. package/dist/utils-CGk8TL6x.js +1 -0
  56. package/index.js +160 -0
  57. package/package.json +183 -0
@@ -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,110 @@
1
+ # Gemini CLI-Specific Instructions
2
+
3
+ > **Note:** This file works alongside `AGENTS.md` (generic AI agent instructions). AGENTS.md contains the core Task Master commands and workflows for all AI agents. This file contains only Gemini CLI-specific features and integrations.
4
+
5
+ ## MCP Configuration for Gemini CLI
6
+
7
+ Configure Task Master MCP server in `~/.gemini/settings.json`:
8
+
9
+ ```json
10
+ {
11
+ "mcpServers": {
12
+ "task-master-ai": {
13
+ "command": "npx",
14
+ "args": ["-y", "task-master-ai"]
15
+ }
16
+ }
17
+ }
18
+ ```
19
+
20
+ **Note:** API keys are configured via `task-master models --setup`, not in MCP configuration.
21
+
22
+ ## Gemini CLI-Specific Features
23
+
24
+ ### Session Management
25
+
26
+ Built-in session commands:
27
+
28
+ - `/chat` - Start new conversation while keeping context
29
+ - `/checkpoint save <name>` - Save session state
30
+ - `/checkpoint load <name>` - Resume saved session
31
+ - `/memory show` - View loaded context
32
+
33
+ Both `AGENTS.md` and `GEMINI.md` are auto-loaded on every Gemini CLI session.
34
+
35
+ ### Headless Mode for Automation
36
+
37
+ Non-interactive mode for scripts:
38
+
39
+ ```bash
40
+ # Simple text response
41
+ gemini -p "What's the next task?"
42
+
43
+ # JSON output for parsing
44
+ gemini -p "List all pending tasks" --output-format json
45
+
46
+ # Stream events for long operations
47
+ gemini -p "Expand all tasks" --output-format stream-json
48
+ ```
49
+
50
+ ### Token Usage Monitoring
51
+
52
+ ```bash
53
+ # In Gemini CLI session
54
+ /stats
55
+
56
+ # Shows: token usage, API costs, request counts
57
+ ```
58
+
59
+ ### Google Search Grounding
60
+
61
+ Leverage built-in Google Search as an alternative to Perplexity research mode:
62
+ - Best practices research
63
+ - Library documentation
64
+ - Security vulnerability checks
65
+ - Implementation patterns
66
+
67
+ ## Important Differences from Other Agents
68
+
69
+ ### No Slash Commands
70
+ Gemini CLI does not support custom slash commands (unlike Claude Code). Use natural language instead.
71
+
72
+ ### No Tool Allowlist
73
+ Security is managed at the MCP level, not via agent configuration.
74
+
75
+ ### Session Persistence
76
+ Use `/checkpoint` instead of git worktrees for managing multiple work contexts.
77
+
78
+ ### Configuration Files
79
+ - Global: `~/.gemini/settings.json`
80
+ - Project: `.gemini/settings.json`
81
+ - **Not**: `.mcp.json` (that's for Claude Code)
82
+
83
+ ## Recommended Model Configuration
84
+
85
+ For Gemini CLI users:
86
+
87
+ ```bash
88
+ # Set Gemini as primary model
89
+ task-master models --set-main gemini-2.0-flash-exp
90
+ task-master models --set-fallback gemini-1.5-flash
91
+
92
+ # Optional: Use Perplexity for research (or rely on Google Search)
93
+ task-master models --set-research perplexity-llama-3.1-sonar-large-128k-online
94
+ ```
95
+
96
+ ## Your Role with Gemini CLI
97
+
98
+ As a Gemini CLI assistant with Task Master:
99
+
100
+ 1. **Use MCP tools naturally** - They integrate transparently in conversation
101
+ 2. **Reference files with @** - Leverage Gemini's file inclusion
102
+ 3. **Save checkpoints** - Offer to save state after significant progress
103
+ 4. **Monitor usage** - Remind users about `/stats` for long sessions
104
+ 5. **Use Google Search** - Leverage search grounding for research
105
+
106
+ **Key Principle:** Focus on natural conversation. Task Master MCP tools work seamlessly with Gemini CLI's interface.
107
+
108
+ ---
109
+
110
+ *See AGENTS.md for complete Task Master commands, workflows, and best practices.*
@@ -0,0 +1,147 @@
1
+ # Task Master Commands for Claude Code
2
+
3
+ Complete guide to using Task Master through Claude Code's slash commands.
4
+
5
+ ## Overview
6
+
7
+ All Task Master functionality is available through the `/project:tm/` namespace with natural language support and intelligent features.
8
+
9
+ ## Quick Start
10
+
11
+ ```bash
12
+ # Install Task Master
13
+ /project:tm/setup/quick-install
14
+
15
+ # Initialize project
16
+ /project:tm/init/quick
17
+
18
+ # Parse requirements
19
+ /project:tm/parse-prd requirements.md
20
+
21
+ # Start working
22
+ /project:tm/next
23
+ ```
24
+
25
+ ## Command Structure
26
+
27
+ Commands are organized hierarchically to match Task Master's CLI:
28
+ - Main commands at `/project:tm/[command]`
29
+ - Subcommands for specific operations `/project:tm/[command]/[subcommand]`
30
+ - Natural language arguments accepted throughout
31
+
32
+ ## Complete Command Reference
33
+
34
+ ### Setup & Configuration
35
+ - `/project:tm/setup/install` - Full installation guide
36
+ - `/project:tm/setup/quick-install` - One-line install
37
+ - `/project:tm/init` - Initialize project
38
+ - `/project:tm/init/quick` - Quick init with -y
39
+ - `/project:tm/models` - View AI config
40
+ - `/project:tm/models/setup` - Configure AI
41
+
42
+ ### Task Generation
43
+ - `/project:tm/parse-prd` - Generate from PRD
44
+ - `/project:tm/parse-prd/with-research` - Enhanced parsing
45
+ - `/project:tm/generate` - Create task files
46
+
47
+ ### Task Management
48
+ - `/project:tm/list` - List with natural language filters
49
+ - `/project:tm/list/with-subtasks` - Hierarchical view
50
+ - `/project:tm/list/by-status <status>` - Filter by status
51
+ - `/project:tm/show <id>` - Task details
52
+ - `/project:tm/add-task` - Create task
53
+ - `/project:tm/update` - Update tasks
54
+ - `/project:tm/remove-task` - Delete task
55
+
56
+ ### Status Management
57
+ - `/project:tm/set-status/to-pending <id>`
58
+ - `/project:tm/set-status/to-in-progress <id>`
59
+ - `/project:tm/set-status/to-done <id>`
60
+ - `/project:tm/set-status/to-review <id>`
61
+ - `/project:tm/set-status/to-deferred <id>`
62
+ - `/project:tm/set-status/to-cancelled <id>`
63
+
64
+ ### Task Analysis
65
+ - `/project:tm/analyze-complexity` - AI analysis
66
+ - `/project:tm/complexity-report` - View report
67
+ - `/project:tm/expand <id>` - Break down task
68
+ - `/project:tm/expand/all` - Expand all complex
69
+
70
+ ### Dependencies
71
+ - `/project:tm/add-dependency` - Add dependency
72
+ - `/project:tm/remove-dependency` - Remove dependency
73
+ - `/project:tm/validate-dependencies` - Check issues
74
+ - `/project:tm/fix-dependencies` - Auto-fix
75
+
76
+ ### Workflows
77
+ - `/project:tm/workflows/smart-flow` - Adaptive workflows
78
+ - `/project:tm/workflows/pipeline` - Chain commands
79
+ - `/project:tm/workflows/auto-implement` - AI implementation
80
+
81
+ ### Utilities
82
+ - `/project:tm/status` - Project dashboard
83
+ - `/project:tm/next` - Next task recommendation
84
+ - `/project:tm/utils/analyze` - Project analysis
85
+ - `/project:tm/learn` - Interactive help
86
+
87
+ ## Key Features
88
+
89
+ ### Natural Language Support
90
+ All commands understand natural language:
91
+ ```
92
+ /project:tm/list pending high priority
93
+ /project:tm/update mark 23 as done
94
+ /project:tm/add-task implement OAuth login
95
+ ```
96
+
97
+ ### Smart Context
98
+ Commands analyze project state and provide intelligent suggestions based on:
99
+ - Current task status
100
+ - Dependencies
101
+ - Team patterns
102
+ - Project phase
103
+
104
+ ### Visual Enhancements
105
+ - Progress bars and indicators
106
+ - Status badges
107
+ - Organized displays
108
+ - Clear hierarchies
109
+
110
+ ## Common Workflows
111
+
112
+ ### Daily Development
113
+ ```
114
+ /project:tm/workflows/smart-flow morning
115
+ /project:tm/next
116
+ /project:tm/set-status/to-in-progress <id>
117
+ /project:tm/set-status/to-done <id>
118
+ ```
119
+
120
+ ### Task Breakdown
121
+ ```
122
+ /project:tm/show <id>
123
+ /project:tm/expand <id>
124
+ /project:tm/list/with-subtasks
125
+ ```
126
+
127
+ ### Sprint Planning
128
+ ```
129
+ /project:tm/analyze-complexity
130
+ /project:tm/workflows/pipeline init → expand/all → status
131
+ ```
132
+
133
+ ## Migration from Old Commands
134
+
135
+ | Old | New |
136
+ |-----|-----|
137
+ | `/project:task-master:list` | `/project:tm/list` |
138
+ | `/project:task-master:complete` | `/project:tm/set-status/to-done` |
139
+ | `/project:workflows:auto-implement` | `/project:tm/workflows/auto-implement` |
140
+
141
+ ## Tips
142
+
143
+ 1. Use `/project:tm/` + Tab for command discovery
144
+ 2. Natural language is supported everywhere
145
+ 3. Commands provide smart defaults
146
+ 4. Chain commands for automation
147
+ 5. Check `/project:tm/learn` for interactive help