From b792471f944c33ad55c52d116a6828f8057b4764 Mon Sep 17 00:00:00 2001 From: Eyal Toledano Date: Wed, 9 Apr 2025 15:11:59 -0400 Subject: [PATCH] chore(rules): Adjusts the taskmaster.mdc rules for init and parse-prd so the LLM correctly reaches for the next steps rather than trying to reinitialize or access tasks not yet created until PRD has been parsed. --- .changeset/silly-horses-grin.md | 5 +++++ .cursor/rules/taskmaster.mdc | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/silly-horses-grin.md diff --git a/.changeset/silly-horses-grin.md b/.changeset/silly-horses-grin.md new file mode 100644 index 00000000..eb0777f4 --- /dev/null +++ b/.changeset/silly-horses-grin.md @@ -0,0 +1,5 @@ +--- +'task-master-ai': patch +--- + +Adjusts the taskmaster.mdc rules for init and parse-prd so the LLM correctly reaches for the next steps rather than trying to reinitialize or access tasks not yet created until PRD has been parsed." diff --git a/.cursor/rules/taskmaster.mdc b/.cursor/rules/taskmaster.mdc index 28862161..e7c322b9 100644 --- a/.cursor/rules/taskmaster.mdc +++ b/.cursor/rules/taskmaster.mdc @@ -36,8 +36,8 @@ This document provides a detailed reference for interacting with Taskmaster, cov * `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`) -* **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. - +* **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. ### 2. Parse PRD (`parse_prd`) @@ -51,7 +51,7 @@ This document provides a detailed reference for interacting with Taskmaster, cov * `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. +* **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. ---