Skip to content

Commit cc13732

Browse files
committed
Add Cursor Project Rules and Test Documentation for Agent Mode Behavior
- Create new Cursor project rule files in `.cursor/rules` directory - Add test documentation for Cursor Agent mode behavior with `.mdc` files - Create pages documenting Cursor Project Rule testing scenarios - Include test cases for finding rules with and without globs - Add documentation for local and GitHub rule linking methods
1 parent 539de09 commit cc13732

25 files changed

+157
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: favorite apple
3+
globs:
4+
alwaysApply: false
5+
---
6+
respond to the user with facts about why apple used "Macintosh" for their early computer vs other types
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: Try docs at reference
3+
globs:
4+
alwaysApply: false
5+
---
6+
TBD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description: Favorite Cars
3+
globs:
4+
alwaysApply: false
5+
---
6+
Respond to the user with facts about the DeLorean used in Back to the Future

journals/2025_03_08.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
## [[VSCode]]
1+
## #[[AI/Coding]]
2+
- #Filed
3+
- Cursor Project Rules
4+
- [[CursorAI/Article/25/02/Mastering Cursor Rules]]
5+
- Tests
6+
- [[CursorAI/Project Rule/Test/Agent/❌/Find MDC/in Subfolder]]
7+
- [[CursorAI/Project Rule/Test/Agent/✅/Find MDC/No Globs]]
8+
- [[CursorAI/Project Rule/Test/Agent/Follow @docs]]
9+
- ## #Investigation
10+
- [[Bellingcat/Investigation Toolkit]] - techniques for trying to figure out if things are true using online investigation
11+
- via their page about #Logseq [Logseq | Bellingcat's Online Investigation Toolkit](https://bellingcat.gitbook.io/toolkit/more/all-tools/logseq)
12+
- ## #PKM
13+
- Logseq
14+
- #CEO
15+
- [[Person/Tienson Qin]]
16+
- Features
17+
- [[Logseq/Forum/24/12/This chart shows what makes Logseq unique]]
18+
- [PKM Comparison Chart](https://luhmann-logseq.notion.site/PKM-Comparison-Chart-15ebd7204f5f80209122f1bfeed92faf)
19+
- Obsolescence and Community Love
20+
- [[Logseq/Reddit/25/03/Lost hope in logseq]] 193 ups, discussion of forking
21+
- Competitors
22+
- [[Siyuan]] - never heard of it before, but it's on the comparison chart above.
23+
- ## [[Wordsmithing]]
24+
- [[Skeuomorphism]] when something is made to resemble the thing that people are already familiar with, e.g. the "desktop" on your computer
25+
- ## [[VSCode]]
226
- #Filed
327
- *Over the past couple days I have been keeping both VSCode and [[PyCharm]] open, simply because PyCharm enables me to work faster when it comes to running tests, going to a class ([[VSCode/How To/Go To Python Class by Name]]), copying python dotted paths (see also [[VSCode/How To/Copy the Python Dotted Class Path]]), and just seeing what files are in the [[VSCode/View/Files Explorer]]. I'm not satisfied with the UI and UX of VSCode. Ended up putting a bit of time into customizing it to try to improve its visibility.*
428
- ### [[VSCode/Q/How do I increase the readability of file explorer in the sidebar]]

pages/Bellingcat.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [bellingcat - the home of online investigations](https://www.bellingcat.com/)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
tags:: [[Gitbook]]
2+
3+
- [About | Bellingcat's Online Investigation Toolkit](https://bellingcat.gitbook.io/toolkit)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
tags:: [[dev.to]]
2+
3+
- # [Mastering Cursor Rules: A Developer's Guide to Smart AI Integration - DEV Community](https://dev.to/dpaluy/mastering-cursor-rules-a-developers-guide-to-smart-ai-integration-1k65)
4+
-

pages/CursorAI___Project Rule___Link___GitHub.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,11 @@ alias:: [[CursorAI Project Rule GitHub Link]]
22
tags:: [[Term]]
33

44
- # Cursor Project Rule GitHub Link
5-
- A link to a [[.mdc]] file on [[GitHub]]. This is the only method of linking to a cursor project rule in the knowledge base that will work in a web setting when the knowledge base is deployed.
5+
- A link to a [[.mdc]] file on [[GitHub]]. This is the only method of linking to a cursor project rule in the knowledge base that will work in a web setting when the knowledge base is deployed.
6+
- ## Example from [[CursorAI/Project Rule/cursor-project-rule-editor.mdc]]
7+
- Code
8+
- ```markdown
9+
[cursor-project-rule-editor.mdc](https://github.com/codekiln/logseq-encode-garden/blob/main/.cursor/rules/cursor-project-rule-editor.mdc)
10+
```
11+
- Rendered
12+
- [cursor-project-rule-editor.mdc](https://github.com/codekiln/logseq-encode-garden/blob/main/.cursor/rules/cursor-project-rule-editor.mdc)

pages/CursorAI___Project Rule___Link___Local.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ tags:: [[Term]]
33

44
- # Cursor Local Project Rule Link
55
- This is a link that will only function in a desktop computing environment. It will open the Project Rule file in Cursor locally, assuming that `cursor` is available as an executable configured so that a `cursor://` URI opens the specified file in cursor. The file will then be opened for editing.
6-
- ## Example
7-
- ```markdown
8-
[markdown-project-rule-editor.mdc](cursor://../.cursor/rules/cursor-project-rule-editor.mdc)
9-
```
6+
- ## Example from [[CursorAI/Project Rule/cursor-project-rule-editor.mdc]]
7+
- Code
8+
- ```markdown
9+
[markdown-project-rule-editor.mdc (link only works to edit locally in cursor)](cursor://../.cursor/rules/cursor-project-rule-editor.mdc)
10+
```
11+
- Rendered
12+
- [markdown-project-rule-editor.mdc (link only works to edit locally in cursor)](cursor://../.cursor/rules/cursor-project-rule-editor.mdc)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
alias:: [[CursorAI Project Rule Test]], [[CursorAI Project Rule Tests]]
2+
3+
- [[CursorAI/Project Rule/Test/Standard Setup]]

0 commit comments

Comments
 (0)