trident / rules
Cursor rule405 starsChanged 12 months agoMITView on GitHub
markdown Parameters: markdown Parameters: - program - Description - accounts - Account information markdown Available options: Required fields: The following steps:
We split this docs.mdc into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When user shares content for review:
- Distinctive: line 19
When user requests updates based on examples:
- Very specific: line 28
Use clear, descriptive titles with # (H1)
- Very specific: line 29
Use hierarchical headings (##, ###) to organize content
- Very specific: line 31
Use triple backticks with language specification: `
rust,bash, ``toml - Very specific: line 32
Use admonitions for important information: !!!
- Distinctive: line 45
Test examples before including them
- Very specific: line 48
Use lowercase with hyphens: getting-started.md
- Very specific: line 49
Use index.md for section landing pages
- Very specific: line 54
MANDATORY: Every list preceded by a colon (:) MUST have an empty line between the colon and the first list item.
- Distinctive: line 95
List Formatting: Ensure empty lines after colons before lists
≈ “Common” is an estimate: at least 1 in 5 of the 6,350 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- globs: documentation/docs/** alwaysApply: false --- # Documentation Rules ## Workflow Types ### Review Workflow When user shares content for review: 1. **Analyze** the provided content thoroughly 2. **Make changes directly** in the target files with clear explanations 3. **User can apply or revert** changes using Cursor's diff interface 4. **Explain the changes made** and reasoning behind each modification 5. **Allow selective approval** - user can accept some changes and reject others ### Update Workflow When user requests updates based on examples: 1. **Study the provided example** to understand patterns and structure 2. **Identify target pages** that need updates or creation 3. **Ensure consistency** across all related documentation 4. **Update existing pages** or create new ones as specified 5. **Maintain uniform formatting** and style throughout ## Essential Formatting - Use clear, descriptive titles with `#` (H1) - Use hierarchical headings (`##`, `###`) to organize content - **Always include an empty line after a colon (`:`) when followed by a list** - Required for proper MkDocs rendering - Use triple backticks with language specification: ```rust, ```bash, ```toml - Use admonitions for important information: `!!! warning "Title"`, `!!! note "Title"` ## Writing Style - Professional, technical tone without condescension - Clear, concise explanations - Concrete examples with expected output - Minimal, focused examples - no bloat - Fewer emojis for professional tone ## Code Examples - Complete and runnable - Include comments for key concepts - Show both input and expected output when relevant - Test examples before including them ## File Organization - Use lowercase with hyphens: `getting-started.md` - Use `index.md` for section landing pages - Group related files in subdirectories ## Critical List Formatting Rule **MANDATORY**: Every list preceded by a colon (`:`) MUST have an empty line between the colon and the first list item. **Correct** (empty line after colon): ```markdown **Parameters:** - `program` - Description - `accounts` - Account information - `data` - Instruction data ``` **Incorrect** (no empty line): ```markdown **Parameters:** - `program` - Description - `accounts` - Account information ``` **Examples of patterns requiring empty lines:** ```markdown Available options: - Option A - Option B Required fields: - Field 1 - Field 2 The following steps: 1. Step one 2. Step two ``` ## Review Process When reviewing documentation: 1. **Grammar and Spelling**: Fix all errors immediately 2. **List Formatting**: Ensure empty lines after colons before lists 3. **Structure and Clarity**: Improve organization and readability 4. **Consistency**: Maintain uniform style across related pages 5. **Authorization**: For review workflow, propose changes and wait for approval 6. **Implementation**: For update workflow, implement changes directly while ensuring consistency
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 3,978 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

