Use this file to discover all available pages before exploring further.
Parse PRD
# Parse a PRD file and generate taskstask-master parse-prd <prd-file.txt># Limit the number of tasks generatedtask-master parse-prd <prd-file.txt> --num-tasks=10
List Tasks
# List all taskstask-master list# List tasks with a specific statustask-master list --status=<status># List tasks with subtaskstask-master list --with-subtasks# List tasks with a specific status and include subtaskstask-master list --status=<status> --with-subtasks# Watch for changes and auto-refreshtask-master list --watchtask-master list -w# Compact output formattask-master list --compacttask-master list -c# Watch mode with compact outputtask-master list -w -c# Hide the headertask-master list --no-header
Show Next Task
# Show the next task to work on based on dependencies and statustask-master next
Show Specific Task
# Show details of a specific tasktask-master show <id># ortask-master show --id=<id># View a specific subtask (e.g., subtask 2 of task 1)task-master show 1.2
Update Tasks
# Update tasks from a specific ID and provide contexttask-master update --from=<id> --prompt="<prompt>"
Update a Specific Task
# Update a single task by ID with new informationtask-master update-task --id=<id> --prompt="<prompt>"# Use research-backed updates with Perplexity AItask-master update-task --id=<id> --prompt="<prompt>" --research
Update a Subtask
# Append additional information to a specific subtasktask-master update-subtask --id=<parentId.subtaskId> --prompt="<prompt>"# Example: Add details about API rate limiting to subtask 2 of task 5task-master update-subtask --id=5.2 --prompt="Add rate limiting of 100 requests per minute"# Use research-backed updates with Perplexity AItask-master update-subtask --id=<parentId.subtaskId> --prompt="<prompt>" --research
Unlike the update-task command which replaces task information, the update-subtask command appends new information to the existing subtask details, marking it with a timestamp. This is useful for iteratively enhancing subtasks while preserving the original content.
Generate Task Files
# Generate individual task files from tasks.jsontask-master generate
Set Task Status
# Set status of a single tasktask-master set-status --id=<id> --status=<status># Set status for multiple taskstask-master set-status --id=1,2,3 --status=<status># Set status for subtaskstask-master set-status --id=1.1,1.2 --status=<status>
When marking a task as “done”, all of its subtasks will automatically be marked as “done” as well.
Expand Tasks
# Expand a specific task with subtaskstask-master expand --id=<id> --num=<number># Expand with additional contexttask-master expand --id=<id> --prompt="<context>"# Expand all pending taskstask-master expand --all# Force regeneration of subtasks for tasks that already have themtask-master expand --all --force# Research-backed subtask generation for a specific tasktask-master expand --id=<id> --research# Research-backed generation for all taskstask-master expand --all --research
Clear Subtasks
# Clear subtasks from a specific tasktask-master clear-subtasks --id=<id># Clear subtasks from multiple taskstask-master clear-subtasks --id=1,2,3# Clear subtasks from all taskstask-master clear-subtasks --all
Analyze Task Complexity
# Analyze complexity of all taskstask-master analyze-complexity# Save report to a custom locationtask-master analyze-complexity --output=my-report.json# Use a specific LLM modeltask-master analyze-complexity --model=claude-3-opus-20240229# Set a custom complexity threshold (1-10)task-master analyze-complexity --threshold=6# Use an alternative tasks filetask-master analyze-complexity --file=custom-tasks.json# Use Perplexity AI for research-backed complexity analysistask-master analyze-complexity --research
View Complexity Report
# Display the task complexity analysis reporttask-master complexity-report# View a report at a custom locationtask-master complexity-report --file=my-report.json
Managing Task Dependencies
# Add a dependency to a tasktask-master add-dependency --id=<id> --depends-on=<id># Remove a dependency from a tasktask-master remove-dependency --id=<id> --depends-on=<id># Validate dependencies without fixing themtask-master validate-dependencies# Find and fix invalid dependencies automaticallytask-master fix-dependencies
Add a New Task
# Add a new task using AItask-master add-task --prompt="Description of the new task"# Add a task with dependenciestask-master add-task --prompt="Description" --dependencies=1,2,3# Add a task with prioritytask-master add-task --prompt="Description" --priority=high
Initialize a Project
# Initialize a new project with Task Master structuretask-master init
TDD Workflow (Autopilot)
# Start autonomous TDD workflow for a tasktask-master autopilot start <taskId># Get next action with contexttask-master autopilot next# Complete phase with test resultstask-master autopilot complete --results '{"total":N,"passed":N,"failed":N}'# Commit changestask-master autopilot commit# Check workflow statustask-master autopilot status# Resume interrupted workflowtask-master autopilot resume# Abort workflowtask-master autopilot abort
The TDD workflow enforces RED → GREEN → COMMIT cycles for each subtask. See AI Agent Integration for details.
Was this page helpful?
⌘I
Assistant
Responses are generated using AI and may contain mistakes.