Skip to content

Commit 8eb2d0f

Browse files
TechNickAINick Sullivanclaude
authored
♻️ Restore .cursor/rules as canonical architecture (#12)
Reverts the v2 "cross-tool architecture" that made rules/ canonical. Returns to standard Cursor architecture where .cursor/rules is the canonical location. ## Changes **Directory Structure (THIS REPO):** - Moved rules/ → .cursor/rules/ (canonical location) - Created rules/ symlink → .cursor/rules/ (visibility only) **User Projects:** - .cursor/rules/ is canonical (no root-level symlink) - Simplified bootstrap to create .cursor/rules directly - Legacy v2 detection suggests migration **Documentation:** - Updated /ai-coding-config command with correct architecture - Removed Windsurf support (deprecated after Google acquisition) - Updated AGENTS.md, bootstrap script, and README **Rationale:** The v2 "cross-tool" architecture with rules/ at root was a mistake. Cursor rules belong in .cursor/rules/. This repo has rules/ symlink for visibility, but user projects should use .cursor/rules/ directly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Nick Sullivan <nick@technick.ai> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 9bf6cfe commit 8eb2d0f

39 files changed

+74
-72
lines changed

.cursor/rules

Lines changed: 0 additions & 1 deletion
This file was deleted.

rules/README.md renamed to .cursor/rules/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,18 @@ ln -s $AI_CONFIG/.cursor .cursor
5959

6060
```bash
6161
# From your project directory
62-
mkdir -p rules
63-
ln -s ../rules .cursor/rules # Symlink for Cursor compatibility
64-
ln -s $AI_CONFIG/rules/python rules/python
65-
ln -s $AI_CONFIG/rules/django rules/django
62+
mkdir -p .cursor/rules
63+
ln -s $AI_CONFIG/.cursor/rules/python .cursor/rules/python
64+
ln -s $AI_CONFIG/.cursor/rules/django .cursor/rules/django
6665
```
6766

6867
### Pattern 3: Copy What You Need
6968

7069
```bash
7170
# From your project directory
72-
mkdir -p rules
73-
ln -s ../rules .cursor/rules # Symlink for Cursor compatibility
74-
cp $AI_CONFIG/rules/*.mdc rules/
75-
cp -r $AI_CONFIG/rules/python rules/
71+
mkdir -p .cursor/rules
72+
cp $AI_CONFIG/.cursor/rules/*.mdc .cursor/rules/
73+
cp -r $AI_CONFIG/.cursor/rules/python .cursor/rules/
7674
```
7775

7876
## Manual Invocation
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)