Cursor rule
.cursor/rules/generate-tasks.mdc[object Object]
Cursor rules
Quality
70/100
Scores the file, not the repository.Length
554 words
10 headings · 1 code blocksRepository
2
— · pushed 348 days agoLast changed
3 days ago
First indexed 3 days ago.123456---7description:8globs:9alwaysApply: false10---11# Rule: Generating a Task List from a PRD1213## Goal1415To guide an AI assistant in creating a detailed, step-by-step task list in Markdown format based on an existing Product Requirements Document (PRD). The task list should guide a developer through implementation.1617## Output1819- **Format:** Markdown (`.md`)20- **Location:** `/tasks/`21- **Filename:** `tasks-[prd-file-name].md` (e.g., `tasks-prd-user-profile-editing.md`)2223## Process24251. **Receive PRD Reference:** The user points the AI to a specific PRD file262. **Analyze PRD:** The AI reads and analyzes the functional requirements, user stories, and other sections of the specified PRD.273. **Phase 1: Generate Parent Tasks:** Based on the PRD analysis, create the file and generate the main, high-level tasks required to implement the feature. Use your judgement on how many high-level tasks to use. It's likely to be about 5. Present these tasks to the user in the specified format (without sub-tasks yet). Inform the user: "I have generated the high-level tasks based on the PRD. Ready to generate the sub-tasks? Respond with 'Go' to proceed."284. **Wait for Confirmation:** Pause and wait for the user to respond with "Go".295. **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 PRD.306. **Identify Relevant Files:** Based on the tasks and PRD, identify potential files that will need to be created or modified. List these under the `Relevant Files` section, including corresponding test files if applicable.317. **Generate Final Output:** Combine the parent tasks, sub-tasks, relevant files, and notes into the final Markdown structure.328. **Save Task List:** Save the generated document in the `/tasks/` directory with the filename `tasks-[prd-file-name].md`, where `[prd-file-name]` matches the base name of the input PRD file (e.g., if the input was `prd-user-profile-editing.md`, the output is `tasks-prd-user-profile-editing.md`).3334## Output Format3536The generated task list _must_ follow this structure:3738```markdown39## Relevant Files4041- `path/to/potential/file1.ts` - Brief description of why this file is relevant (e.g., Contains the main component for this feature).42- `path/to/file1.test.ts` - Unit tests for `file1.ts`.43- `path/to/another/file.tsx` - Brief description (e.g., API route handler for data submission).44- `path/to/another/file.test.tsx` - Unit tests for `another/file.tsx`.45- `lib/utils/helpers.ts` - Brief description (e.g., Utility functions needed for calculations).46- `lib/utils/helpers.test.ts` - Unit tests for `helpers.ts`.4748### Notes4950- Unit tests should typically be placed alongside the code files they are testing (e.g., `MyComponent.tsx` and `MyComponent.test.tsx` in the same directory).51- Use `npx jest [optional/path/to/test/file]` to run tests. Running without a path executes all tests found by the Jest configuration.5253## Tasks5455- [ ] 1.0 Parent Task Title56 - [ ] 1.1 [Sub-task description 1.1]57 - [ ] 1.2 [Sub-task description 1.2]58- [ ] 2.0 Parent Task Title59 - [ ] 2.1 [Sub-task description 2.1]60- [ ] 3.0 Parent Task Title (may not require sub-tasks if purely structural or configuration)61```6263## Interaction Model6465The process explicitly requires a pause after generating parent tasks to get user confirmation ("Go") before proceeding to generate the detailed sub-tasks. This ensures the high-level plan aligns with user expectations before diving into details.6667## Target Audience6869Assume the primary reader of the task list is a **junior developer** who will implement the feature.
Also in flipbytes-dk/zenfeed
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| flipbytes-dk/zenfeed.cursor/rules/create-prd.mdc · 2 | Cursor rules | archagent-behaviour | 52/100 | 3 days ago | |
| flipbytes-dk/zenfeed.cursor/rules/process-task-list.mdc · 2 | Cursor rules | testgitagent-behaviour | 64/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
