|
|
|
|
@@ -6,11 +6,11 @@ alwaysApply: true
|
|
|
|
|
|
|
|
|
|
# Taskmaster Tool & Command Reference
|
|
|
|
|
|
|
|
|
|
This document provides a detailed reference for interacting with Taskmaster, covering both the recommended MCP tools (for integrations like Cursor) and the corresponding `task-master` CLI commands (for direct user interaction or fallback).
|
|
|
|
|
This document provides a detailed reference for interacting with Taskmaster, covering both the recommended MCP tools, suitable for integrations like Cursor, and the corresponding `task-master` CLI commands, designed for direct user interaction or fallback.
|
|
|
|
|
|
|
|
|
|
**Note:** For interacting with Taskmaster programmatically or via integrated tools, using the **MCP tools is strongly recommended** due to better performance, structured data, and error handling. The CLI commands serve as a user-friendly alternative and fallback. See [`mcp.mdc`](mdc:.cursor/rules/mcp.mdc) for MCP implementation details and [`commands.mdc`](mdc:.cursor/rules/commands.mdc) for CLI implementation guidelines.
|
|
|
|
|
|
|
|
|
|
**Important:** Several MCP tools involve AI processing and are long-running operations that may take up to a minute to complete. When using these tools, always inform users that the operation is in progress and to wait patiently for results. The AI-powered tools include: `parse_prd`, `analyze_project_complexity`, `update_subtask`, `update_task`, `update`, `expand_all`, `expand_task`, and `add_task`.
|
|
|
|
|
**Important:** Several MCP tools involve AI processing and are long-running operations that may take up to a minute to complete. When using these tools, always inform users that the operation is in progress and to wait patiently for results. The AI-powered tools include `parse_prd`, `analyze_project_complexity`, `update_subtask`, `update_task`, `update`, `expand_all`, `expand_task`, and `add_task`.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
@@ -24,18 +24,18 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **Key CLI Options:**
|
|
|
|
|
* `--name <name>`: `Set the name for your project in Taskmaster's configuration.`
|
|
|
|
|
* `--description <text>`: `Provide a brief description for your project.`
|
|
|
|
|
* `--version <version>`: `Set the initial version for your project (e.g., '0.1.0').`
|
|
|
|
|
* `--version <version>`: `Set the initial version for your project, e.g., '0.1.0'.`
|
|
|
|
|
* `-y, --yes`: `Initialize Taskmaster quickly using default settings without interactive prompts.`
|
|
|
|
|
* **Usage:** Run this once at the beginning of a new project.
|
|
|
|
|
* **MCP Variant Description:** `Set up the basic Taskmaster file structure and configuration in the current directory for a new project by running the 'task-master init' command.`
|
|
|
|
|
* **Key MCP Parameters/Options:**
|
|
|
|
|
* `projectName`: `Set the name for your project.` (CLI: `--name <name>`)
|
|
|
|
|
* `projectDescription`: `Provide a brief description for your project.` (CLI: `--description <text>`)
|
|
|
|
|
* `projectVersion`: `Set the initial version for your project (e.g., '0.1.0').` (CLI: `--version <version>`)
|
|
|
|
|
* `projectVersion`: `Set the initial version for your project, e.g., '0.1.0'.` (CLI: `--version <version>`)
|
|
|
|
|
* `authorName`: `Author name.` (CLI: `--author <author>`)
|
|
|
|
|
* `skipInstall`: `Skip installing dependencies (default: false).` (CLI: `--skip-install`)
|
|
|
|
|
* `addAliases`: `Add shell aliases (tm, taskmaster) (default: false).` (CLI: `--aliases`)
|
|
|
|
|
* `yes`: `Skip prompts and use defaults/provided arguments (default: false).` (CLI: `-y, --yes`)
|
|
|
|
|
* `skipInstall`: `Skip installing dependencies. Default is false.` (CLI: `--skip-install`)
|
|
|
|
|
* `addAliases`: `Add shell aliases tm and taskmaster. Default is false.` (CLI: `--aliases`)
|
|
|
|
|
* `yes`: `Skip prompts and use defaults/provided arguments. Default is false.` (CLI: `-y, --yes`)
|
|
|
|
|
* **Usage:** Run this once at the beginning of a new project, typically via an integrated tool like Cursor. Operates on the current working directory of the MCP server.
|
|
|
|
|
* **Important:** Once complete, you *MUST* parse a prd in order to generate tasks. There will be no tasks files until then. The next step after initializing should be to create a PRD using the example PRD in scripts/example_prd.txt.
|
|
|
|
|
|
|
|
|
|
@@ -43,15 +43,15 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
|
|
|
|
|
* **MCP Tool:** `parse_prd`
|
|
|
|
|
* **CLI Command:** `task-master parse-prd [file] [options]`
|
|
|
|
|
* **Description:** `Parse a Product Requirements Document (PRD) or text file with Taskmaster to automatically generate an initial set of tasks in tasks.json.`
|
|
|
|
|
* **Description:** `Parse a Product Requirements Document, PRD, or text file with Taskmaster to automatically generate an initial set of tasks in tasks.json.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `input`: `Path to your PRD or requirements text file that Taskmaster should parse for tasks.` (CLI: `[file]` positional or `-i, --input <file>`)
|
|
|
|
|
* `output`: `Specify where Taskmaster should save the generated 'tasks.json' file (default: 'tasks/tasks.json').` (CLI: `-o, --output <file>`)
|
|
|
|
|
* `output`: `Specify where Taskmaster should save the generated 'tasks.json' file. Defaults to 'tasks/tasks.json'.` (CLI: `-o, --output <file>`)
|
|
|
|
|
* `numTasks`: `Approximate number of top-level tasks Taskmaster should aim to generate from the document.` (CLI: `-n, --num-tasks <number>`)
|
|
|
|
|
* `force`: `Use this to allow Taskmaster to overwrite an existing 'tasks.json' without asking for confirmation.` (CLI: `-f, --force`)
|
|
|
|
|
* **Usage:** Useful for bootstrapping a project from an existing requirements document.
|
|
|
|
|
* **Notes:** Task Master will strictly adhere to any specific requirements mentioned in the PRD (libraries, database schemas, frameworks, tech stacks, etc.) while filling in any gaps where the PRD isn't fully specified. Tasks are designed to provide the most direct implementation path while avoiding over-engineering.
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress. If the user does not have a PRD, suggest discussing their idea and then use the example PRD in scripts/example_prd.txt as a template for creating the PRD based on their idea, for use with parse-prd.
|
|
|
|
|
* **Notes:** Task Master will strictly adhere to any specific requirements mentioned in the PRD, such as libraries, database schemas, frameworks, tech stacks, etc., while filling in any gaps where the PRD isn't fully specified. Tasks are designed to provide the most direct implementation path while avoiding over-engineering.
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress. If the user does not have a PRD, suggest discussing their idea and then use the example PRD in `scripts/example_prd.txt` as a template for creating the PRD based on their idea, for use with `parse-prd`.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
@@ -63,9 +63,9 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master list [options]`
|
|
|
|
|
* **Description:** `List your Taskmaster tasks, optionally filtering by status and showing subtasks.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `status`: `Show only Taskmaster tasks matching this status (e.g., 'pending', 'done').` (CLI: `-s, --status <status>`)
|
|
|
|
|
* `status`: `Show only Taskmaster tasks matching this status, e.g., 'pending' or 'done'.` (CLI: `-s, --status <status>`)
|
|
|
|
|
* `withSubtasks`: `Include subtasks indented under their parent tasks in the list.` (CLI: `--with-subtasks`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Get an overview of the project status, often used at the start of a work session.
|
|
|
|
|
|
|
|
|
|
### 4. Get Next Task (`next_task`)
|
|
|
|
|
@@ -74,7 +74,7 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master next [options]`
|
|
|
|
|
* **Description:** `Ask Taskmaster to show the next available task you can work on, based on status and completed dependencies.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Identify what to work on next according to the plan.
|
|
|
|
|
|
|
|
|
|
### 5. Get Task Details (`get_task`)
|
|
|
|
|
@@ -83,8 +83,8 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master show [id] [options]`
|
|
|
|
|
* **Description:** `Display detailed information for a specific Taskmaster task or subtask by its ID.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `Required. The ID of the Taskmaster task (e.g., '15') or subtask (e.g., '15.2') you want to view.` (CLI: `[id]` positional or `-i, --id <id>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `id`: `Required. The ID of the Taskmaster task, e.g., '15', or subtask, e.g., '15.2', you want to view.` (CLI: `[id]` positional or `-i, --id <id>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Understand the full details, implementation notes, and test strategy for a specific task before starting work.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
@@ -97,10 +97,10 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master add-task [options]`
|
|
|
|
|
* **Description:** `Add a new task to Taskmaster by describing it; AI will structure it.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `prompt`: `Required. Describe the new task you want Taskmaster to create (e.g., "Implement user authentication using JWT").` (CLI: `-p, --prompt <text>`)
|
|
|
|
|
* `dependencies`: `Specify the IDs of any Taskmaster tasks that must be completed before this new one can start (e.g., '12,14').` (CLI: `-d, --dependencies <ids>`)
|
|
|
|
|
* `priority`: `Set the priority for the new task ('high', 'medium', 'low'; default: 'medium').` (CLI: `--priority <priority>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `prompt`: `Required. Describe the new task you want Taskmaster to create, e.g., "Implement user authentication using JWT".` (CLI: `-p, --prompt <text>`)
|
|
|
|
|
* `dependencies`: `Specify the IDs of any Taskmaster tasks that must be completed before this new one can start, e.g., '12,14'.` (CLI: `-d, --dependencies <ids>`)
|
|
|
|
|
* `priority`: `Set the priority for the new task: 'high', 'medium', or 'low'. Default is 'medium'.` (CLI: `--priority <priority>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Quickly add newly identified tasks during development.
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
|
|
|
|
|
|
|
|
|
|
@@ -112,13 +112,13 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id` / `parent`: `Required. The ID of the Taskmaster task that will be the parent.` (MCP: `id`, CLI: `-p, --parent <id>`)
|
|
|
|
|
* `taskId`: `Use this if you want to convert an existing top-level Taskmaster task into a subtask of the specified parent.` (CLI: `-i, --task-id <id>`)
|
|
|
|
|
* `title`: `Required (if not using taskId). The title for the new subtask Taskmaster should create.` (CLI: `-t, --title <title>`)
|
|
|
|
|
* `title`: `Required if not using taskId. The title for the new subtask Taskmaster should create.` (CLI: `-t, --title <title>`)
|
|
|
|
|
* `description`: `A brief description for the new subtask.` (CLI: `-d, --description <text>`)
|
|
|
|
|
* `details`: `Provide implementation notes or details for the new subtask.` (CLI: `--details <text>`)
|
|
|
|
|
* `dependencies`: `Specify IDs of other tasks or subtasks (e.g., '15', '16.1') that must be done before this new subtask.` (CLI: `--dependencies <ids>`)
|
|
|
|
|
* `status`: `Set the initial status for the new subtask (default: 'pending').` (CLI: `-s, --status <status>`)
|
|
|
|
|
* `dependencies`: `Specify IDs of other tasks or subtasks, e.g., '15' or '16.1', that must be done before this new subtask.` (CLI: `--dependencies <ids>`)
|
|
|
|
|
* `status`: `Set the initial status for the new subtask. Default is 'pending'.` (CLI: `-s, --status <status>`)
|
|
|
|
|
* `skipGenerate`: `Prevent Taskmaster from automatically regenerating markdown task files after adding the subtask.` (CLI: `--skip-generate`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Break down tasks manually or reorganize existing tasks.
|
|
|
|
|
|
|
|
|
|
### 8. Update Tasks (`update`)
|
|
|
|
|
@@ -127,24 +127,24 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master update [options]`
|
|
|
|
|
* **Description:** `Update multiple upcoming tasks in Taskmaster based on new context or changes, starting from a specific task ID.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `from`: `Required. The ID of the first task Taskmaster should update. All tasks with this ID or higher (and not 'done') will be considered.` (CLI: `--from <id>`)
|
|
|
|
|
* `prompt`: `Required. Explain the change or new context for Taskmaster to apply to the tasks (e.g., "We are now using React Query instead of Redux Toolkit for data fetching").` (CLI: `-p, --prompt <text>`)
|
|
|
|
|
* `research`: `Enable Taskmaster to use Perplexity AI for more informed updates based on external knowledge (requires PERPLEXITY_API_KEY).` (CLI: `-r, --research`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Handle significant implementation changes or pivots that affect multiple future tasks. Example CLI: `task-master update --from='18' --prompt=$'Switching to React Query.\nNeed to refactor data fetching...'`
|
|
|
|
|
* `from`: `Required. The ID of the first task Taskmaster should update. All tasks with this ID or higher that are not 'done' will be considered.` (CLI: `--from <id>`)
|
|
|
|
|
* `prompt`: `Required. Explain the change or new context for Taskmaster to apply to the tasks, e.g., "We are now using React Query instead of Redux Toolkit for data fetching".` (CLI: `-p, --prompt <text>`)
|
|
|
|
|
* `research`: `Enable Taskmaster to use Perplexity AI for more informed updates based on external knowledge. Requires PERPLEXITY_API_KEY.` (CLI: `-r, --research`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Handle significant implementation changes or pivots that affect multiple future tasks. Example CLI: `task-master update --from='18' --prompt='Switching to React Query.\nNeed to refactor data fetching...'`
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
|
|
|
|
|
|
|
|
|
|
### 9. Update Task (`update_task`)
|
|
|
|
|
|
|
|
|
|
* **MCP Tool:** `update_task`
|
|
|
|
|
* **CLI Command:** `task-master update-task [options]`
|
|
|
|
|
* **Description:** `Modify a specific Taskmaster task (or subtask) by its ID, incorporating new information or changes.`
|
|
|
|
|
* **Description:** `Modify a specific Taskmaster task or subtask by its ID, incorporating new information or changes.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `Required. The specific ID of the Taskmaster task (e.g., '15') or subtask (e.g., '15.2') you want to update.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `id`: `Required. The specific ID of the Taskmaster task, e.g., '15', or subtask, e.g., '15.2', you want to update.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `prompt`: `Required. Explain the specific changes or provide the new information Taskmaster should incorporate into this task.` (CLI: `-p, --prompt <text>`)
|
|
|
|
|
* `research`: `Enable Taskmaster to use Perplexity AI for more informed updates (requires PERPLEXITY_API_KEY).` (CLI: `-r, --research`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Refine a specific task based on new understanding or feedback. Example CLI: `task-master update-task --id='15' --prompt=$'Clarification: Use PostgreSQL instead of MySQL.\nUpdate schema details...'`
|
|
|
|
|
* `research`: `Enable Taskmaster to use Perplexity AI for more informed updates. Requires PERPLEXITY_API_KEY.` (CLI: `-r, --research`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Refine a specific task based on new understanding or feedback. Example CLI: `task-master update-task --id='15' --prompt='Clarification: Use PostgreSQL instead of MySQL.\nUpdate schema details...'`
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
|
|
|
|
|
|
|
|
|
|
### 10. Update Subtask (`update_subtask`)
|
|
|
|
|
@@ -153,22 +153,22 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master update-subtask [options]`
|
|
|
|
|
* **Description:** `Append timestamped notes or details to a specific Taskmaster subtask without overwriting existing content. Intended for iterative implementation logging.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `Required. The specific ID of the Taskmaster subtask (e.g., '15.2') you want to add information to.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `id`: `Required. The specific ID of the Taskmaster subtask, e.g., '15.2', you want to add information to.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `prompt`: `Required. Provide the information or notes Taskmaster should append to the subtask's details. Ensure this adds *new* information not already present.` (CLI: `-p, --prompt <text>`)
|
|
|
|
|
* `research`: `Enable Taskmaster to use Perplexity AI for more informed updates (requires PERPLEXITY_API_KEY).` (CLI: `-r, --research`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Add implementation notes, code snippets, or clarifications to a subtask during development. Before calling, review the subtask's current details to append only fresh insights, helping to build a detailed log of the implementation journey and avoid redundancy. Example CLI: `task-master update-subtask --id='15.2' --prompt=$'Discovered that the API requires header X.\nImplementation needs adjustment...'`
|
|
|
|
|
* `research`: `Enable Taskmaster to use Perplexity AI for more informed updates. Requires PERPLEXITY_API_KEY.` (CLI: `-r, --research`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Add implementation notes, code snippets, or clarifications to a subtask during development. Before calling, review the subtask's current details to append only fresh insights, helping to build a detailed log of the implementation journey and avoid redundancy. Example CLI: `task-master update-subtask --id='15.2' --prompt='Discovered that the API requires header X.\nImplementation needs adjustment...'`
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
|
|
|
|
|
|
|
|
|
|
### 11. Set Task Status (`set_task_status`)
|
|
|
|
|
|
|
|
|
|
* **MCP Tool:** `set_task_status`
|
|
|
|
|
* **CLI Command:** `task-master set-status [options]`
|
|
|
|
|
* **Description:** `Update the status of one or more Taskmaster tasks or subtasks (e.g., 'pending', 'in-progress', 'done').`
|
|
|
|
|
* **Description:** `Update the status of one or more Taskmaster tasks or subtasks, e.g., 'pending', 'in-progress', 'done'.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `Required. The ID(s) of the Taskmaster task(s) or subtask(s) (e.g., '15', '15.2', '16,17.1') to update.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `status`: `Required. The new status to set (e.g., 'done', 'pending', 'in-progress', 'review', 'cancelled').` (CLI: `-s, --status <status>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `id`: `Required. The ID(s) of the Taskmaster task(s) or subtask(s), e.g., '15', '15.2', or '16,17.1', to update.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `status`: `Required. The new status to set, e.g., 'done', 'pending', 'in-progress', 'review', 'cancelled'.` (CLI: `-s, --status <status>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Mark progress as tasks move through the development cycle.
|
|
|
|
|
|
|
|
|
|
### 12. Remove Task (`remove_task`)
|
|
|
|
|
@@ -177,9 +177,9 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master remove-task [options]`
|
|
|
|
|
* **Description:** `Permanently remove a task or subtask from the Taskmaster tasks list.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `Required. The ID of the Taskmaster task (e.g., '5') or subtask (e.g., '5.2') to permanently remove.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `id`: `Required. The ID of the Taskmaster task, e.g., '5', or subtask, e.g., '5.2', to permanently remove.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `yes`: `Skip the confirmation prompt and immediately delete the task.` (CLI: `-y, --yes`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Permanently delete tasks or subtasks that are no longer needed in the project.
|
|
|
|
|
* **Notes:** Use with caution as this operation cannot be undone. Consider using 'blocked', 'cancelled', or 'deferred' status instead if you just want to exclude a task from active planning but keep it for reference. The command automatically cleans up dependency references in other tasks.
|
|
|
|
|
|
|
|
|
|
@@ -191,14 +191,14 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
|
|
|
|
|
* **MCP Tool:** `expand_task`
|
|
|
|
|
* **CLI Command:** `task-master expand [options]`
|
|
|
|
|
* **Description:** `Use Taskmaster's AI to break down a complex task (or all tasks) into smaller, manageable subtasks.`
|
|
|
|
|
* **Description:** `Use Taskmaster's AI to break down a complex task or all tasks into smaller, manageable subtasks.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `The ID of the specific Taskmaster task you want to break down into subtasks.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `num`: `Suggests how many subtasks Taskmaster should aim to create (uses complexity analysis by default).` (CLI: `-n, --num <number>`)
|
|
|
|
|
* `research`: `Enable Taskmaster to use Perplexity AI for more informed subtask generation (requires PERPLEXITY_API_KEY).` (CLI: `-r, --research`)
|
|
|
|
|
* `num`: `Suggests how many subtasks Taskmaster should aim to create. Uses complexity analysis by default.` (CLI: `-n, --num <number>`)
|
|
|
|
|
* `research`: `Enable Taskmaster to use Perplexity AI for more informed subtask generation. Requires PERPLEXITY_API_KEY.` (CLI: `-r, --research`)
|
|
|
|
|
* `prompt`: `Provide extra context or specific instructions to Taskmaster for generating the subtasks.` (CLI: `-p, --prompt <text>`)
|
|
|
|
|
* `force`: `Use this to make Taskmaster replace existing subtasks with newly generated ones.` (CLI: `--force`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Generate a detailed implementation plan for a complex task before starting coding.
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
|
|
|
|
|
|
|
|
|
|
@@ -209,10 +209,10 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **Description:** `Tell Taskmaster to automatically expand all 'pending' tasks based on complexity analysis.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `num`: `Suggests how many subtasks Taskmaster should aim to create per task.` (CLI: `-n, --num <number>`)
|
|
|
|
|
* `research`: `Enable Perplexity AI for more informed subtask generation (requires PERPLEXITY_API_KEY).` (CLI: `-r, --research`)
|
|
|
|
|
* `research`: `Enable Perplexity AI for more informed subtask generation. Requires PERPLEXITY_API_KEY.` (CLI: `-r, --research`)
|
|
|
|
|
* `prompt`: `Provide extra context for Taskmaster to apply generally during expansion.` (CLI: `-p, --prompt <text>`)
|
|
|
|
|
* `force`: `Make Taskmaster replace existing subtasks.` (CLI: `--force`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Useful after initial task generation or complexity analysis to break down multiple tasks at once.
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
|
|
|
|
|
|
|
|
|
|
@@ -222,9 +222,9 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master clear-subtasks [options]`
|
|
|
|
|
* **Description:** `Remove all subtasks from one or more specified Taskmaster parent tasks.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `The ID(s) of the Taskmaster parent task(s) whose subtasks you want to remove (e.g., '15', '16,18').` (Required unless using `all`) (CLI: `-i, --id <ids>`)
|
|
|
|
|
* `id`: `The ID(s) of the Taskmaster parent task(s) whose subtasks you want to remove, e.g., '15' or '16,18'. Required unless using `all`.) (CLI: `-i, --id <ids>`)
|
|
|
|
|
* `all`: `Tell Taskmaster to remove subtasks from all parent tasks.` (CLI: `--all`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Used before regenerating subtasks with `expand_task` if the previous breakdown needs replacement.
|
|
|
|
|
|
|
|
|
|
### 16. Remove Subtask (`remove_subtask`)
|
|
|
|
|
@@ -233,10 +233,10 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master remove-subtask [options]`
|
|
|
|
|
* **Description:** `Remove a subtask from its Taskmaster parent, optionally converting it into a standalone task.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `Required. The ID(s) of the Taskmaster subtask(s) to remove (e.g., '15.2', '16.1,16.3').` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `id`: `Required. The ID(s) of the Taskmaster subtask(s) to remove, e.g., '15.2' or '16.1,16.3'.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `convert`: `If used, Taskmaster will turn the subtask into a regular top-level task instead of deleting it.` (CLI: `-c, --convert`)
|
|
|
|
|
* `skipGenerate`: `Prevent Taskmaster from automatically regenerating markdown task files after removing the subtask.` (CLI: `--skip-generate`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Delete unnecessary subtasks or promote a subtask to a top-level task.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
@@ -250,8 +250,8 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **Description:** `Define a dependency in Taskmaster, making one task a prerequisite for another.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `Required. The ID of the Taskmaster task that will depend on another.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `dependsOn`: `Required. The ID of the Taskmaster task that must be completed first (the prerequisite).` (CLI: `-d, --depends-on <id>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `dependsOn`: `Required. The ID of the Taskmaster task that must be completed first, the prerequisite.` (CLI: `-d, --depends-on <id>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <path>`)
|
|
|
|
|
* **Usage:** Establish the correct order of execution between tasks.
|
|
|
|
|
|
|
|
|
|
### 18. Remove Dependency (`remove_dependency`)
|
|
|
|
|
@@ -262,7 +262,7 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `id`: `Required. The ID of the Taskmaster task you want to remove a prerequisite from.` (CLI: `-i, --id <id>`)
|
|
|
|
|
* `dependsOn`: `Required. The ID of the Taskmaster task that should no longer be a prerequisite.` (CLI: `-d, --depends-on <id>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Update task relationships when the order of execution changes.
|
|
|
|
|
|
|
|
|
|
### 19. Validate Dependencies (`validate_dependencies`)
|
|
|
|
|
@@ -271,7 +271,7 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master validate-dependencies [options]`
|
|
|
|
|
* **Description:** `Check your Taskmaster tasks for dependency issues (like circular references or links to non-existent tasks) without making changes.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Audit the integrity of your task dependencies.
|
|
|
|
|
|
|
|
|
|
### 20. Fix Dependencies (`fix_dependencies`)
|
|
|
|
|
@@ -280,7 +280,7 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **CLI Command:** `task-master fix-dependencies [options]`
|
|
|
|
|
* **Description:** `Automatically fix dependency issues (like circular references or links to non-existent tasks) in your Taskmaster tasks.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Clean up dependency errors automatically.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
@@ -295,8 +295,8 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `output`: `Where to save the complexity analysis report (default: 'scripts/task-complexity-report.json').` (CLI: `-o, --output <file>`)
|
|
|
|
|
* `threshold`: `The minimum complexity score (1-10) that should trigger a recommendation to expand a task.` (CLI: `-t, --threshold <number>`)
|
|
|
|
|
* `research`: `Enable Perplexity AI for more accurate complexity analysis (requires PERPLEXITY_API_KEY).` (CLI: `-r, --research`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `research`: `Enable Perplexity AI for more accurate complexity analysis. Requires PERPLEXITY_API_KEY.` (CLI: `-r, --research`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Used before breaking down tasks to identify which ones need the most attention.
|
|
|
|
|
* **Important:** This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
|
|
|
|
|
|
|
|
|
|
@@ -320,7 +320,7 @@ This document provides a detailed reference for interacting with Taskmaster, cov
|
|
|
|
|
* **Description:** `Create or update individual Markdown files for each task based on your tasks.json.`
|
|
|
|
|
* **Key Parameters/Options:**
|
|
|
|
|
* `output`: `The directory where Taskmaster should save the task files (default: in a 'tasks' directory).` (CLI: `-o, --output <directory>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file (default relies on auto-detection).` (CLI: `-f, --file <file>`)
|
|
|
|
|
* `file`: `Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection.` (CLI: `-f, --file <file>`)
|
|
|
|
|
* **Usage:** Run this after making changes to tasks.json to keep individual task files up to date.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|