Skip to content

Commit b1f1c3d

Browse files
committed
Add task list .mdc
1 parent 79d99b8 commit b1f1c3d

File tree

1 file changed

+105
-0
lines changed

1 file changed

+105
-0
lines changed

.cursor/rules/task-list.mdc

+105
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: false
5+
---
6+
# Task List Management
7+
8+
Guidelines for creating and managing task lists in markdown files to track project progress
9+
10+
## Task List Creation
11+
12+
1. Create task lists in a markdown file (in the project root):
13+
- Use `TASKS.md` or a descriptive name relevant to the feature (e.g., `KNOWLEDGE.md`)
14+
- Include a clear title and description of the feature being implemented
15+
16+
2. Structure the file with these sections:
17+
```markdown
18+
# Feature Name Implementation
19+
20+
Brief description of the feature and its purpose.
21+
22+
## Completed Tasks
23+
24+
- [x] Task 1 that has been completed
25+
- [x] Task 2 that has been completed
26+
27+
## In Progress Tasks
28+
29+
- [ ] Task 3 currently being worked on
30+
- [ ] Task 4 to be completed soon
31+
32+
## Future Tasks
33+
34+
- [ ] Task 5 planned for future implementation
35+
- [ ] Task 6 planned for future implementation
36+
37+
## Implementation Plan
38+
39+
Detailed description of how the feature will be implemented.
40+
41+
### Relevant Files
42+
43+
- path/to/file1.ts - Description of purpose
44+
- path/to/file2.ts - Description of purpose
45+
```
46+
47+
## Task List Maintenance
48+
49+
1. Update the task list as you progress:
50+
- Mark tasks as completed by changing `[ ]` to `[x]`
51+
- Add new tasks as they are identified
52+
- Move tasks between sections as appropriate
53+
54+
2. Keep "Relevant Files" section updated with:
55+
- File paths that have been created or modified
56+
- Brief descriptions of each file's purpose
57+
- Status indicators (e.g., ✅) for completed components
58+
59+
3. Add implementation details:
60+
- Architecture decisions
61+
- Data flow descriptions
62+
- Technical components needed
63+
- Environment configuration
64+
65+
## AI Instructions
66+
67+
When working with task lists, the AI should:
68+
69+
1. Regularly update the task list file after implementing significant components
70+
2. Mark completed tasks with [x] when finished
71+
3. Add new tasks discovered during implementation
72+
4. Maintain the "Relevant Files" section with accurate file paths and descriptions
73+
5. Document implementation details, especially for complex features
74+
6. When implementing tasks one by one, first check which task to implement next
75+
7. After implementing a task, update the file to reflect progress
76+
77+
## Example Task Update
78+
79+
When updating a task from "In Progress" to "Completed":
80+
81+
```markdown
82+
## In Progress Tasks
83+
84+
- [ ] Implement database schema
85+
- [ ] Create API endpoints for data access
86+
87+
## Completed Tasks
88+
89+
- [x] Set up project structure
90+
- [x] Configure environment variables
91+
```
92+
93+
Should become:
94+
95+
```markdown
96+
## In Progress Tasks
97+
98+
- [ ] Create API endpoints for data access
99+
100+
## Completed Tasks
101+
102+
- [x] Set up project structure
103+
- [x] Configure environment variables
104+
- [x] Implement database schema
105+
```

0 commit comments

Comments
 (0)