-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cursorrules
More file actions
43 lines (31 loc) · 1.05 KB
/
.cursorrules
File metadata and controls
43 lines (31 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Cursor Rules - Cortex Memory Integration
> Generated by Cortex Memory System
## Priority 1: Memory-First Development
At the start of EVERY task:
```
cortex_context("summary of current task")
```
## Priority 2: Workflow Pattern
```
EXPLORE → PLAN → CODE → VERIFY → COMMIT
```
- **Explore**: Read relevant files before making changes
- **Plan**: Use `think hard` for complex problems
- **Code**: Incremental changes with git checkpoints
- **Verify**: Run tests after each change
- **Commit**: conventional commits with "why"
## Priority 3: Save Knowledge
Always save important decisions:
- `cortex_add(content="...", type="decision")`
- `cortex_add(content="...", type="code")`
- `cortex_add(content="...", type="fact")`
## Extended Thinking
Use these keywords for complex reasoning:
- `think` → Basic deliberation
- `think hard` → Deeper analysis
- `ultrathink` → Maximum reasoning
## Anti-Patterns
- ❌ Never skip cortex_context at session start
- ❌ Never assume context not in memory
- ❌ Never commit without tests
- ❌ Never log secrets or PII