skill-everything / rules
Cursor rule20 starsChanged 7 months agoMITView on GitHub
Apply when reviewing code or planning a deployment. Pre-merge checks, migration ordering, rollback strategy, post-deploy verification.
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,533 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 repository49 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/brainstorming.mdcCursor rule
- .cursor/rules/branch-finishing.mdcCursor rule
- .cursor/rules/code-quality.mdcCursor rule
- .cursor/rules/db-schema.mdcCursor rule
- .cursor/rules/debugging.mdcCursor rule
- .cursor/rules/docker.mdcCursor rule
- .cursor/rules/domain-template.mdcCursor rule
- .cursor/rules/drawio.mdcCursor rule
- .cursor/rules/error-log.mdcCursor rule
- .cursor/rules/fastapi.mdcCursor rule
- .cursor/rules/git-conventions.mdcCursor rule
- .cursor/rules/github-cli.mdcCursor rule
- .cursor/rules/implementation-plan.mdcCursor rule
- .cursor/rules/langchain.mdcCursor rule
- .cursor/rules/python.mdcCursor rule
- .cursor/rules/react.mdcCursor rule
- .cursor/rules/security-review.mdcCursor rule
- .cursor/rules/self-extension-workflow.mdcCursor rule
- .cursor/rules/shell-scripting.mdcCursor rule
- .cursor/rules/svg-check.mdcCursor rule
- .cursor/rules/tdd.mdcCursor rule
- .cursor/rules/typescript.mdcCursor rule
- skill-everythingSkill
- brainstormingSkill
- branch-finishingSkill
- code-qualitySkill
- db-schemaSkill
- debuggingSkill
- dockerSkill
- domain-templateSkill
- drawioSkill
- error-logSkill
- fastapiSkill
- git-conventionsSkill
- github-cliSkill
- implementation-planSkill
- langchainSkill
- pythonSkill
- reactSkill
- review-deploymentSkill
- security-reviewSkill
- self-extension-workflowSkill
- shell-scriptingSkill
- svg-checkSkill
- tddSkill
- <kebab-case-name>Skill
- typescriptSkill
The file
We split this review-deployment.mdc into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 52
Never: Frontend before backend when there are API changes
- Distinctive: line 75
Every PR is reviewed as if a senior developer went through the checklist — automatically.
≈ “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: Apply when reviewing code or planning a deployment. Pre-merge checks, migration ordering, rollback strategy, post-deploy verification. alwaysApply: false --- # Sub-Skill: Review & Deployment Process <!-- target: ~800 tokens (real tiktoken count) --> **Purpose:** Prevents deployment accidents and ensures reviews are more than rubber-stamping. Concrete checklists the agent runs through before every PR and deployment. --- ## PR Review Checklist (Agent runs this before opening a PR) ### Correctness - [ ] All new functions have tests - [ ] Existing tests pass (`npm test` / `pytest` / etc.) - [ ] Edge cases covered: null/undefined, empty arrays, negative numbers - [ ] No TODO comments without a linked ticket ### Security - [ ] No secrets or API keys in code (not even in comments) - [ ] User input is validated before flowing into DB queries or shell commands - [ ] New endpoints have authentication/authorization - [ ] No `eval()`, `exec()`, or dynamic SQL strings without prepared statements ### Performance - [ ] No N+1 queries (database queries in loops) - [ ] Large datasets are paginated, not loaded entirely - [ ] New indexes for new WHERE clauses in queries ### Maintainability - [ ] Complex logic is commented (the *why*, not the *what*) - [ ] No duplicated code blocks (DRY) - [ ] Dependencies updated in `package.json` / `requirements.txt` --- ## Deployment Checklist ### Before Deployment 1. **Check migrations:** Are all DB migrations backward-compatible? (No DROP COLUMN without prior deprecation cycle) 2. **Feature flags:** New features behind a feature flag? Especially for large changes. 3. **Rollback plan:** How to roll back if something goes wrong? Documented? 4. **Monitoring:** Are alerts set up for new critical paths? ### Deployment Order (for microservices) 1. First: Database migrations (additive changes) 2. Then: Backend services (new version) 3. Last: Frontend (new version) 4. Never: Frontend before backend when there are API changes ### After Deployment - [ ] Health check endpoint responds with 200 - [ ] Error rate in monitoring not elevated (observe for 5 minutes) - [ ] Critical user flows manually tested (login, main feature, checkout) --- ## Escalation Rules | Situation | Action | |-----------|--------| | Test coverage drops below 70% | Block PR, request additional tests | | Security vulnerability in dependency | Patch immediately, no merge until fixed | | Production errors > 1% error rate | Rollback immediately, then analyze | | Deployment takes > 30 min | Abort, investigate root cause | --- ## Why This Sub-Skill Earns Stars The agent never forgets security checks or deployment order. Every PR is reviewed as if a senior developer went through the checklist — automatically.
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.

