discord-ops / rules
Cursor rule4 starsChanged 8 months agoMITView on GitHub
Requires Claude to read before writing, verify before installing, and confirm before destructive operations
- Installs packages
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 1,531 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.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .cursor/rules/001-no-hallucination.mdcCursor rule
- .cursor/rules/003-attribution.mdcCursor rule
The file
We split this 002-verify-before-act.mdc into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Read before writing: Before editing a file, read the current version.
- Very specific: line 15
Verify package existence before installing: Before running npm install <pkg>, composer require <pkg>, or any equivalent, confirm the …
- Distinctive: line 17
Confirm before destructive operations: Before git reset, git clean, file deletion, or database drops — state what you're about to do and …
- Distinctive: line 19
Check current state before declaring it: Before saying "the build passes" or "there are no TypeScript errors", run the check.
- Distinctive: line 21
Verify tool availability before use: Before running a CLI tool (docker, act, composer, drush, etc.), check that it's installed.
- Distinctive: line 25
Before any write or edit operation
- Very specific: line 26
Before any install, add, require, or update command
- Distinctive: line 27
Before any destructive git operation
- Distinctive: line 28
Before any claim about current system state
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 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
--- description: Requires Claude to read before writing, verify before installing, and confirm before destructive operations globs: ["**/*"] alwaysApply: true --- # Verify Before Acting **Read before writing. Verify before installing. Confirm before deleting.** ## Rules 1. **Read before writing.** Before editing a file, read the current version. Never overwrite without knowing what's there. Never assume file contents from memory. 2. **Verify package existence before installing.** Before running `npm install <pkg>`, `composer require <pkg>`, or any equivalent, confirm the package exists and its name is spelled correctly. Use the package registry, not your training data. 3. **Confirm before destructive operations.** Before `git reset`, `git clean`, file deletion, or database drops — state what you're about to do and why. Wait for acknowledgement if there's any doubt. 4. **Check current state before declaring it.** Before saying "the build passes" or "there are no TypeScript errors", run the check. Do not rely on previous results from earlier in the session. 5. **Verify tool availability before use.** Before running a CLI tool (docker, act, composer, drush, etc.), check that it's installed. Don't assume availability. ## When to apply - Before any write or edit operation - Before any `install`, `add`, `require`, or `update` command - Before any destructive git operation - Before any claim about current system state
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.

