Skip to content

Commit c9ee5f7

Browse files
committed
Update Cursor rules to combine VAN's old rules with Ghuntley's https://ghuntley.com/stdlib/
1 parent 7aec5d7 commit c9ee5f7

28 files changed

+194
-41
lines changed

.cursor/rules/1stRule.mdc

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
description: 1stRule Cursor Rules Location
3+
globs: *.mdc
4+
---
5+
# Cursor Rules Location
6+
7+
Rules for placing and organizing Cursor rule files in the repository.
8+
9+
<rule>
10+
name: cursor_rules_location
11+
description: Standards for placing Cursor rule files in the correct directory
12+
filters:
13+
# Match any .mdc files
14+
- type: file_extension
15+
pattern: "\\.mdc$"
16+
# Match files that look like Cursor rules
17+
- type: content
18+
pattern: "(?s)<rule>.*?</rule>"
19+
# Match file creation events
20+
- type: event
21+
pattern: "file_create"
22+
23+
actions:
24+
- type: reject
25+
conditions:
26+
- pattern: "^(?!\\.\\/\\.cursor\\/rules\\/.*\\.mdc$)"
27+
message: "Cursor rule files (.mdc) must be placed in the .cursor/rules directory"
28+
29+
- type: suggest
30+
message: |
31+
When creating Cursor rules:
32+
33+
1. Always camelCased place rule files in PROJECT_ROOT/.cursor/rules/:
34+
```
35+
.cursor/rules/
36+
├── yourRuleName.mdc
37+
├── anotherRule.mdc
38+
└── ...
39+
```
40+
41+
2. Follow the naming convention:
42+
- Use kebab-case for filenames
43+
- Always use .mdc extension
44+
- Make names descriptive of the rule's purpose
45+
46+
3. Directory structure:
47+
```
48+
PROJECT_ROOT/
49+
├── .cursor/
50+
│ └── rules/
51+
│ ├── yourRuleName.mdc
52+
│ └── ...
53+
└── ...
54+
```
55+
56+
4. Never place rule files:
57+
- In the project root
58+
- In subdirectories outside .cursor/rules
59+
- In any other location
60+
61+
examples:
62+
- input: |
63+
# Bad: Rule file in wrong location
64+
rules/myRule.mdc
65+
myRule.mdc
66+
.rules/myRule.mdc
67+
68+
# Good: Rule file in correct location
69+
.cursor/rules/myRule.mdc
70+
output: "Correctly placed Cursor rule file"
71+
72+
metadata:
73+
priority: high
74+
version: 1.0
75+
</rule>

.cursor/rules/main.mdc renamed to .cursor/rules/2ndRule.mdc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ Match process complexity to task requirements:
8787

8888
| Critical Process | Reference Link | When to Consult |
8989
|------------------|----------------|-----------------|
90-
| Adaptive Workflow | [workflow.mdc](mdc:.cursor/rules/Core%20Implementation/workflow.mdc) | Start of any task |
91-
| Task Tracking | [task-tracking.mdc](mdc:.cursor/rules/Core%20Implementation/task-tracking.mdc) | When updating task status |
92-
| Memory Structure | [memory-bank.mdc](mdc:.cursor/rules/Core%20Implementation/memory-bank.mdc) | Before updating docs |
93-
| Command Safety | [command-execution.mdc](mdc:.cursor/rules/Core%20Implementation/command-execution.mdc) | Before running commands |
94-
| VAN Protocol | [van-protocol.mdc](mdc:.cursor/rules/Core%20Implementation/van-protocol.mdc) | When processing VAN command |
95-
| Complex Tasks | [verification-checklist.mdc](mdc:.cursor/rules/Core%20Implementation/verification-checklist.mdc) | For Level 3-4 tasks |
96-
| Creative Phases | [creative-phase-guidelines.mdc](mdc:.cursor/rules/Core%20Implementation/creative-phase-guidelines.mdc) | For creative work |
97-
| Creative Triggers | [creative-phase-triggers.mdc](mdc:.cursor/rules/Core%20Implementation/creative-phase-triggers.mdc) | When to enter creative phases |
90+
| Adaptive Workflow | [workflowRule.mdc](mdc:.cursor/rules/Core%20Implementation/workflowRule.mdc) | Start of any task |
91+
| Task Tracking | [taskTrackingRule.mdc](mdc:.cursor/rules/Core%20Implementation/taskTrackingRule.mdc) | When updating task status |
92+
| Memory Structure | [memoryBankRule.mdc](mdc:.cursor/rules/Core%20Implementation/memoryBankRule.mdc) | Before updating docs |
93+
| Command Safety | [commandExecutionRule.mdc](mdc:.cursor/rules/Core%20Implementation/commandExecutionRule.mdc) | Before running commands |
94+
| Vibe Protocol | [aSingleTopRule.mdc](mdc:.cursor/rules/Core%20Implementation/aSingleTopRule.mdc) | When processing Vibe command |
95+
| Complex Tasks | [verificationChecklistRule.mdc](mdc:.cursor/rules/Core%20Implementation/verificationChecklistRule.mdc) | For Level 3-4 tasks |
96+
| Creative Phases | [creativePhaseGuidelinesRule.mdc](mdc:.cursor/rules/Core%20Implementation/creativePhaseGuidelinesRule.mdc) | For creative work |
97+
| Creative Triggers | [creativePhaseTriggersRule.mdc](mdc:.cursor/rules/Core%20Implementation/creativePhaseTriggersRule.mdc) | When to enter creative phases |
9898

9999
## 📝 LEVEL 1: QUICK BUG FIX WORKFLOW
100100

.cursor/rules/Extended Details/workflow-examples.mdc renamed to .cursor/rules/Extended Details/workflowExamples.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Objective: Create secure login functionality with JWT token support
2424

2525
## Section Header Tracking
2626
[ ] INITIALIZATION
27-
[ ] DOCUMENTATION SETUP
27+
[ ] DOCUMENTATION SETUP
2828
[ ] TASK PLANNING
2929
[ ] IMPLEMENTATION
3030
[ ] REFLECTION
@@ -194,7 +194,7 @@ Now I'll implement the User model with validation and password hashing.
194194

195195
## Section Header Tracking
196196
[X] INITIALIZATION
197-
[X] DOCUMENTATION SETUP
197+
[X] DOCUMENTATION SETUP
198198
[X] TASK PLANNING
199199
[X] IMPLEMENTATION
200200
[ ] REFLECTION

.cursor/rules/Templates/templates-core.mdc renamed to .cursor/rules/Templates/templatesCore.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ alwaysApply: false
99

1010
When creating any Memory Bank file, use these templates as the starting point. These are the ESSENTIAL templates that must be used for core files.
1111

12-
⚠️ REFERENCE REQUIRED: For extended and specialized templates, I MUST read templates-extended.mdc.
12+
⚠️ REFERENCE REQUIRED: For extended and specialized templates, I MUST read templatesExtended.mdc.
1313

1414
## projectbrief.md Template
1515
```markdown

.cursor/rules/Core Implementation/van-protocol.mdc renamed to .cursor/rules/aSingleTopRule.mdc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
description: Adaptive VAN protocol implementation
2+
description: Adaptive Vibe Coding protocol implementation
33
globs:
44
alwaysApply: true
55
---
6-
# ADAPTIVE VAN PROTOCOL
6+
# ADAPTIVE VIBE PROTOCOL
77

8-
> **TL;DR:** When user types "VAN", respond with "OK VAN", determine task complexity level, and adapt the workflow process accordingly. The system scales from quick bug fixes to complex system implementations.
8+
> **TL;DR:** When user types "Vibe", respond with "OK VAN", determine task complexity level, and adapt the workflow process accordingly. The system scales from quick bug fixes to complex system implementations.
99

1010
## 🚀 QUICK START RESPONSE
1111

12-
When the user types ONLY "VAN", immediately respond:
12+
When the user types ONLY "Vibe", immediately respond:
1313

1414
```
15-
OK VAN
15+
OK Lets Vibe...
1616

1717
I'll determine the appropriate process level based on the task complexity:
1818

@@ -61,7 +61,7 @@ Analyze the task to determine the appropriate complexity level:
6161

6262
Check for critical files and create them if missing:
6363

64-
1. Ensure `.cursorrules` exists (as a file, not directory)
64+
1. Ensure `.cursor` directory exists
6565
2. Ensure `memory-bank` directory exists
6666
3. Ensure `docs/archive` directory exists
6767
4. Ensure all core Memory Bank files exist, including tasks.md
@@ -178,7 +178,7 @@ I'll begin with a comprehensive review of all Memory Bank files...
178178

179179
## 🔄 WITH TASK INCLUDED
180180

181-
When user includes a task with VAN:
181+
When user includes a task with VIBE:
182182
```
183183
VAN
184184
I need to implement a login system
@@ -193,7 +193,7 @@ I need to implement a login system
193193
## 📝 MEMORY BANK FILES
194194

195195
The core Memory Bank files (ALL REQUIRED):
196-
- projectbrief.md
196+
- projectBrief.md
197197
- productContext.md
198198
- systemPatterns.md
199199
- techContext.md
@@ -203,7 +203,7 @@ The core Memory Bank files (ALL REQUIRED):
203203

204204
## ✓ VAN CHECKPOINT
205205

206-
Before proceeding after VAN:
206+
Before proceeding after VIBE:
207207
- Have I verified all critical files exist?
208208
- Have I determined the appropriate complexity level?
209209
- Have I created tasks.md if it doesn't exist?
@@ -275,7 +275,7 @@ The complexity of creative phase documentation should match the task complexity
275275
- **Level 2 (Enhancement)**: Basic creative phase markers with summary
276276
- **Level 3-4 (Feature/System)**: Full creative phase structure with checkpoints
277277

278-
See [creative-phase-examples.mdc](mdc:.cursor/rules/Extended%20Details/creative-phase-examples.mdc) for detailed examples.
278+
See [creativePhaseExamples.mdc](mdc:.cursor/rules/Extended%20Details/creativePhaseExamples.mdc) for detailed examples.
279279

280280
## 📋 LEVEL ESCALATION
281281

0 commit comments

Comments
 (0)