Instruction file imported from GatlenCulp/GatlenCulp (
.cursor/rules/002_cursor-rules.mdc). Copyright stays with the author.
.mdc File Structure & Best Practices:
- 001-099: Core/workspace rules
- 100-299: Pattern-Based Style Guides
- 300-499: Agent Modes
- 500-699: Domain-Specific
Front Matter Attributes:
-
description : str(top)- Brief purpose summary
- Appears in AI context
-
globs : list[glob](top)- Comma-separated list
- Example:
/dir1/**/*,/dir2/**/*,/dir3/**/* - Use standard glob syntax
-
alwaysApply : bool- Whether to apply this rule to every query
-
Body Text (this section)
- Keep under 25 lines
- Use concise/shorthand
- Tag files with @
- Focus on key directives
Best Practice: The assistant may propose changes to .mdc files for the user to copy into the UI. The assistant should not attempt direct file edits to .mdc files. .md files are working files for .mdc rules and may be directly edited.