diff --git a/create-prd.md b/create-prd.md index c6e189e74..83e5d956e 100644 --- a/create-prd.md +++ b/create-prd.md @@ -9,7 +9,7 @@ To guide an AI assistant in creating a detailed Product Requirements Document (P 1. **Receive Initial Prompt:** The user provides a brief description or request for a new feature or functionality. 2. **Ask Clarifying Questions:** Before writing the PRD, the AI *must* ask only the most essential clarifying questions needed to write a clear PRD. Limit questions to 3-5 critical gaps in understanding. The goal is to understand the "what" and "why" of the feature, not necessarily the "how" (which the developer will figure out). Make sure to provide options in letter/number lists so I can respond easily with my selections. 3. **Generate PRD:** Based on the initial prompt and the user's answers to the clarifying questions, generate a PRD using the structure outlined below. -4. **Save PRD:** Save the generated document as `prd-[feature-name].md` inside the `/tasks` directory. +4. **Save PRD:** Save the generated document as `prd-[feature-name].md` inside the `/tasks` directory, under the `[feature-name]/` folder. ## Clarifying Questions (Guidelines) @@ -71,7 +71,7 @@ Assume the primary reader of the PRD is a **junior developer**. Therefore, requi ## Output * **Format:** Markdown (`.md`) -* **Location:** `/tasks/` +* **Location:** `/tasks/[feature-name]/` * **Filename:** `prd-[feature-name].md` ## Final instructions diff --git a/generate-tasks.md b/generate-tasks.md index 643ca4502..bb557b10b 100644 --- a/generate-tasks.md +++ b/generate-tasks.md @@ -7,7 +7,7 @@ To guide an AI assistant in creating a detailed, step-by-step task list in Markd ## Output - **Format:** Markdown (`.md`) -- **Location:** `/tasks/` +- **Location:** `/tasks/[feature-name]/` - **Filename:** `tasks-[feature-name].md` (e.g., `tasks-user-profile-editing.md`) ## Process @@ -19,7 +19,7 @@ To guide an AI assistant in creating a detailed, step-by-step task list in Markd 5. **Phase 2: Generate Sub-Tasks:** Once the user confirms, break down each parent task into smaller, actionable sub-tasks necessary to complete the parent task. Ensure sub-tasks logically follow from the parent task and cover the implementation details implied by the requirements. 6. **Identify Relevant Files:** Based on the tasks and requirements, identify potential files that will need to be created or modified. List these under the `Relevant Files` section, including corresponding test files if applicable. 7. **Generate Final Output:** Combine the parent tasks, sub-tasks, relevant files, and notes into the final Markdown structure. -8. **Save Task List:** Save the generated document in the `/tasks/` directory with the filename `tasks-[feature-name].md`, where `[feature-name]` describes the main feature or task being implemented (e.g., if the request was about user profile editing, the output is `tasks-user-profile-editing.md`). +8. **Save Task List:** Save the generated document in the `/tasks/` directory, under the `[feature-name]/` folder with the filename `tasks-[feature-name].md`, where `[feature-name]` describes the main feature or task being implemented (e.g., if the request was about user profile editing, the output is `tasks-user-profile-editing.md`). ## Output Format