parse_prd
Extract and generate initial tasks from a Product Requirements Document (PRD) text file, simplifying project setup and task management in Task Master.
Instructions
Parse a Product Requirements Document (PRD) text file to automatically generate initial tasks. Reinitializing the project is not necessary to run this tool. It is recommended to run parse-prd after initializing the project and creating/importing a prd.txt file in the project root's .taskmaster/docs directory.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
append | No | Append generated tasks to existing file. | |
force | No | Overwrite existing output file without prompting. | |
input | No | Absolute path to the PRD document file (.txt, .md, etc.) | .taskmaster/docs/prd.txt |
numTasks | No | Approximate number of top-level tasks to generate (default: 10). As the agent, if you have enough information, ensure to enter a number of tasks that would logically scale with project complexity. Setting to 0 will allow Taskmaster to determine the appropriate number of tasks based on the complexity of the PRD. Avoid entering numbers above 50 due to context window limitations. | |
output | No | Output path for tasks.json file (default: .taskmaster/tasks/tasks.json) | |
projectRoot | Yes | The directory of the project. Must be an absolute path. | |
research | No | Enable Taskmaster to use the research role for potentially more informed task generation. Requires appropriate API key. | |
tag | No | Tag context to operate on |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"append": {
"description": "Append generated tasks to existing file.",
"type": "boolean"
},
"force": {
"default": false,
"description": "Overwrite existing output file without prompting.",
"type": "boolean"
},
"input": {
"default": ".taskmaster/docs/prd.txt",
"description": "Absolute path to the PRD document file (.txt, .md, etc.)",
"type": "string"
},
"numTasks": {
"description": "Approximate number of top-level tasks to generate (default: 10). As the agent, if you have enough information, ensure to enter a number of tasks that would logically scale with project complexity. Setting to 0 will allow Taskmaster to determine the appropriate number of tasks based on the complexity of the PRD. Avoid entering numbers above 50 due to context window limitations.",
"type": "string"
},
"output": {
"description": "Output path for tasks.json file (default: .taskmaster/tasks/tasks.json)",
"type": "string"
},
"projectRoot": {
"description": "The directory of the project. Must be an absolute path.",
"type": "string"
},
"research": {
"description": "Enable Taskmaster to use the research role for potentially more informed task generation. Requires appropriate API key.",
"type": "boolean"
},
"tag": {
"description": "Tag context to operate on",
"type": "string"
}
},
"required": [
"projectRoot"
],
"type": "object"
}