Skip to content

Commit 8b934cb

Browse files
committed
Update CursorAI Project Rule Test Page with Improved Structure and Guidance
- Add header for CursorAI Project Rule Tests - Provide clear instructions for standard setup - Clarify page hierarchy and test location
1 parent 2196b2c commit 8b934cb

8 files changed

+42
-9
lines changed

journals/2025_03_08.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
- #Filed
33
- Cursor Project Rules
44
- [[CursorAI/Article/25/02/Mastering Cursor Rules]]
5-
- Tests
6-
- [[CursorAI/Project Rule/Test/Agent/✅/Find MDC/No Globs]]
7-
- [[CursorAI/Project Rule/Test/Agent/❌/Find MDC/in Subfolder]]
8-
- [[CursorAI/Project Rule/Test/Agent/❌/Follow @docs in MDC]]
5+
- This article mentioned that cursor project rules could be located in subfolders, which inspired a series of tests
6+
- Originally the tests were located at [[Person/codekiln/GitHub/cursor-project-rule-test]]
7+
- Tests
8+
- [[CursorAI/Project Rule/Test/Agent/✅/Find MDC/No Globs]]
9+
- [[CursorAI/Project Rule/Test/Agent/❌/Find MDC/in Subfolder]]
10+
- [[CursorAI/Project Rule/Test/Agent/❌/Follow @docs in MDC]]
911
- ## #Investigation
1012
- [[Bellingcat/Investigation Toolkit]] - techniques for trying to figure out if things are true using online investigation
1113
- via their page about #Logseq [Logseq | Bellingcat's Online Investigation Toolkit](https://bellingcat.gitbook.io/toolkit/more/all-tools/logseq)

journals/2025_03_09.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## #[[AI Coding]]
2+
- Filled out [[CursorAI Project Rule Test]] with a list of current tests
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
alias:: [[CursorAI Project Rule Test]], [[CursorAI Project Rule Tests]]
22

3-
- [[CursorAI/Project Rule/Test/Standard Setup]]
3+
- # CursorAI Project Rule Tests
4+
- See [[CursorAI/Project Rule/Test/Standard Setup]] for the standard setup instructions
5+
- ## Agent Tests
6+
- All current tests are found in sub-pages (see Hierarchy below). Here are a selection:
7+
- ### [[CursorAI/Project Rule/Test/Agent/✅/Find MDC/No Globs]]
8+
- ((67cd6044-e287-4722-8c96-cc5d9b743728))
9+
- ### [[CursorAI/Project Rule/Test/Agent/❌/Find MDC/in Subfolder]]
10+
- ((67cd60f9-b734-486d-b050-7c9527e32250))
11+
- ### [[CursorAI/Project Rule/Test/Agent/❌/Follow @docs in MDC]]
12+
- ((67cd6155-cbe2-435f-b834-0a271fa13258))
13+
-

pages/CursorAI___Project Rule___Test___Agent___✅___Find MDC___No Globs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Can Cursor Agent Mode find [[.mdc]] files that lack [[globs]]? **YES**
2+
- Tests whether [[CursorAI/Agent Mode]] mode activates `.mdc` project rules by description even if they do not have any have globs attached to them
3+
id:: 67cd6044-e287-4722-8c96-cc5d9b743728
24
- ## Test Cursor Project Rule File
35
- Place this file at `.cursor/rules`
46
- [[CursorAI/Project Rule/Link/GitHub]]

pages/CursorAI___Project Rule___Test___Agent___❌___Find MDC___in Subfolder.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# Can Cursor Agent Mode pick up mdc files in subfolders? **NO**
2+
- Tests whether [[CursorAI/Agent Mode]] activates `.mdc` project rules by description when they are found in a subdirectory of `.cursor/rules`, such as in `.cursor/rules/subfolder/*.mdc`
3+
id:: 67cd60f9-b734-486d-b050-7c9527e32250
4+
- ## Test Cursor Project Rule File - [[CursorAI/Test/Fixture/Subfolder Favorite Apples project rule]]
5+
- Install this cursor rule in the specified location (inside the `subfolder`):
6+
- [.cursor/rules/subfolder/test-favorite-apples.mdc](https://github.com/codekiln/logseq-encode-garden/blob/main/.cursor/rules/subfolder/test-favorite-apples.mdc)
27
- ## Test
38
- {{embed [[CursorAI/Project Rule/Test/Standard Setup]]}}
49
- Activate Agent mode in Cursor chat
510
- Type "what are my favorite apples?" and hit enter
6-
- ### Tested Project Rules
7-
-
811
- ## Expected Behavior
912
- Cursor Agent surfaces the correct rule
1013
- Cursor Agent answers according to the contents of the rule

pages/CursorAI___Project Rule___Test___Agent___❌___Follow @docs in MDC.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Can Cursor Agent Mode follow [[CursorAI/@/Docs]] references in [[.mdc]] files? **NO**
2+
- Tests whether [[CursorAI/Agent Mode]] mode pulls documentation docs into context if a [[CursorAI/Project Rule]] is activated that attempts to reference `@docs`
3+
id:: 67cd6155-cbe2-435f-b834-0a271fa13258
24
- ## Test Preparation
35
- Try a docs query to one of the pre-built providers [[CursorAI/@/Docs/PreBuilt]]
46
- Sample queries
@@ -8,9 +10,9 @@
810
- it should pull in 4-8 docs including [Installing collections — Ansible Community Documentation](https://docs.ansible.com/ansible/latest/collections_guide/collections_installing.html#install-multiple-collections-with-a-requirements-file)
911
id:: 67cc7ec6-3d01-44dd-b4ec-91822d930db5
1012
- Place these file at `.cursor/rules`
11-
- [[CursorAI/Project Rule/Link/GitHub]]
13+
- [[CursorAI/Project Rule/Link/GitHub]] [[CursorAI/Test/Fixture]]
1214
- [logseq-encode-garden/.cursor/rules/test-docs-at-reference-space.mdc at main · codekiln/logseq-encode-garden](https://github.com/codekiln/logseq-encode-garden/blob/main/.cursor/rules/test-docs-at-reference-space.mdc)
13-
- ### optional; I didn't use because the first test failed
15+
- ### Optional; didn't use because the first test failed
1416
- [logseq-encode-garden/.cursor/rules/test-docs-at-reference-no-space.mdc at main · codekiln/logseq-encode-garden](https://github.com/codekiln/logseq-encode-garden/blob/main/.cursor/rules/test-docs-at-reference-no-space.mdc)
1517
- ## Test
1618
- {{embed [[CursorAI/Project Rule/Test/Standard Setup]]}}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tags:: [[.mdc]]
2+
3+
- # `test-favorite-apples.mdc`
4+
- [[CursorAI/Project Rule/Link/GitHub]]
5+
- [.cursor/rules/subfolder/test-favorite-apples.mdc](https://github.com/codekiln/logseq-encode-garden/blob/main/.cursor/rules/subfolder/test-favorite-apples.mdc)
6+
- Project Rule
7+
- description: `favorite apple`
8+
- Auto Attach / Globs: None / empty
9+
- Body of project rule
10+
- > respond to the user with facts about why apple used "Macintosh" for their early computer vs other types
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# [codekiln/cursor-project-rule-test: Testing the Cursor Project Rule feature](https://github.com/codekiln/cursor-project-rule-test)
2+
- See also [[CursorAI/Project Rule/Test]], which has all these tests and more

0 commit comments

Comments
 (0)