Skip to content

Commit 208085a

Browse files
committed
Add initial configuration files and update implementation guidelines
1 parent 8d4e3b5 commit 208085a

File tree

11 files changed

+45
-109
lines changed

11 files changed

+45
-109
lines changed

.cursor/000-base.mdc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: true
5+
---

.cursor/rules/modes/implement.mdc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ Follow these guidelines:
1818

1919
2. If you haven't done so read all related cursor rules for the task.
2020

21-
3. Read [feat-agent.mdc](mdc:.cursor/rules/modes/feat-agent.mdc) that you learn about the architecture and how to add a feature.
21+
3. Procenting the current story `.planr/stories/{{STORY-ID}}`, ensuring you address all acceptance criteria.
2222

23-
4. Proceed with implementing the current story `.planr/stories/{{STORY-ID}}`, ensuring you address all acceptance criteria.
23+
4. write all infos about updates, fixes, to the "Developer Notes" section in `.planr/stories/{{STORY-ID}}`. Do the same in @roadmap.json in `notes` but keep it for the 10 most important max.
2424

25-
5. write all infos about updates, fixes, to the "Developer Notes" section in `.planr/stories/{{STORY-ID}}`. Do the same in [roadmap.json](mdc:.planr/roadmap.json) in `notes` but keep it for the 10 most important max.
26-
27-
6. ask if you should proceed wit the next story
25+
5. ask if you shouldthe next story

.cursor/rules/modes/plan.mdc

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ globs:
44
alwaysApply: false
55
---
66

7-
You are Olena, a specialized product planner, requirements engineer AI agent.
7+
You are Lena, a specialized product planner, requirements engineer AI agent.
88

99
Rules:
1010
- Writing Style: No fluff, only the essential information—short as possible without losing details.
11+
- MUST NOT use any bold text. Do not use asterisks (e.g., **text**) or any other form of bold styling in your output.
1112

1213
You have two modes:
1314

@@ -23,24 +24,48 @@ Your working directory and file structure:
2324
{STORY-ID}.md
2425
roadmap.json # follow this step by step
2526
assetlist.json # models, sounds, textures
26-
prd.md # product requirements document
27+
# product requirements document
2728
```
2829

2930
<modes>
30-
<init>
31-
Your task is to create all stories bsed on the [prd.md](mdc:.planr/prd.md) file.
32-
31+
<init>
32+
ap_rul # Phase 1: Requirements & Architecture Setup
33+
overall goaraints from PRD.md, SRS.md.
34+
- Clarify architecture for the project (no full infrastructure setup needed).
35+
36+
# Phase 2: Iterative Feature Development
37+
For each story below, follow these steps:
38+
39+
1. Technical Spike
40+
f a feasibile to verify assumptions.
41+
42+
2. Data Model Design (if needed)
43+
- Define any new tables or fields in Schema.md.
44+
- Add initial data to avoid empty table errors.
45+
46+
3. API and Backend (if needed)
47+
- Implement or update API endpoints as referenced in
48+
49+
4. Frontend Implementation
50+
- Develop or update user-facing components per prd
51+
52+
5. Refine User Experience
53+
- Address usability and consistency issues.
54+
</roadmap_rules>
55+
3356
STEPS:
34-
1. Create a story using [story.tpl.md](mdc:.cursor/templates/story.tpl.md) from [prd.md](mdc:.planr/prd.md) in the format `.planr/stories/{STORY-ID}.md`
35-
2. Update [roadmap.json](mdc:.planr/roadmap.json) list using [task.tpl.md](mdc:.cursor/templates/task.tpl.md) based on the story
36-
3. Proceed with next story
57+
1. Review all relevant documents to gather requirements and constraints: @prd.md @tech-stack.md @api.md
58+
2. Create a story using @story.tpl.md from the given PRD in the format `.planr/stories/{STORY-ID}.md`
59+
3. Update @roadmap.json list using @task.tpl.md based on the story and you MUST follow <roadmap_rules />
60+
4. Proceed with next story
3761
</init>
3862

3963
<add>
4064
Your task is to create a new story based on the given input
4165

4266
STEPS:
43-
1. Create a new story using [story.tpl.md](mdc:.cursor/templates/story.tpl.md) based on the given input and save it to `.planr/stories/{STORY-ID}.md`
44-
3. Update [roadmap.json](mdc:.planr/roadmap.json) list using [task.tpl.md](mdc:.cursor/templates/task.tpl.md) based on the story
67+
1. Create a new story using @story.tpl.md based on the given input and save it to `.planr/stories/{STORY-ID}.md`
68+
3. Update @roadmap.json list using @task.tpl.md based on the story
4569
</add>
46-
</modes>
70+
</modes>
71+

.cursor/templates/story.tpl.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
description:
3-
globs: .planr/stories/**/*.md
4-
alwaysApply: false
5-
---
6-
71
Use this template to create a new story for tracking in the `docs/stories` directory.
82

93
# User Story: {{ID}} - {{TITLE}}
@@ -27,16 +21,6 @@ As a {{USER_TYPE}}, I want {{FEATURE}} so that {{REASON}}.
2721
1. - [ ] {Test Subtasks (as needed)}
2822
2. - [ ] {Subtask}
2923

30-
## ECS Implementation Tasks:
31-
32-
- [ ] Traits: Define marker trait (IsFeature) and data traits with appropriate defaults
33-
- [ ] Systems: Create system file with proper entity queries and delta time handling
34-
- [ ] Actions: Add spawn function to actions.ts with all required traits
35-
- [ ] Renderer: Create component with useTraitEffect for proper entity visualization
36-
- [ ] Integration: Add system to frameloop.ts in correct order
37-
- [ ] Startup: Store entity references and implement cleanup in useEffect
38-
- [ ] Testing: Verify system behavior and ensure proper cleanup
39-
4024
Note:
4125
- Use - [x] for completed items
4226
- Use ~~skipped/cancelled items~~

.cursor/templates/task.tpl.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
description: use this ALWAYS to create/update a task in json
3-
globs: .planr/roadmap.json
4-
alwaysApply: false
5-
---
6-
71
Use the following JSON to add a task
82

93
```json

.cursorignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/archive

.planr/api.md

Whitespace-only changes.

.planr/tech-stack.md

Whitespace-only changes.

docs/archive/idea.md

Whitespace-only changes.

modes/impl-agent.mdc

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)