skill-everything / rules
Cursor rule20 starsChanged 7 months agoMITView on GitHub
Apply when committing, branching, or opening a pull request. Conventional commit format, branch naming, PR scope.
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/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/review-deployment.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 git-conventions.mdc into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 30
No direct push to
mainordevelop: Always through a pull request. - Distinctive: line 37
Self-review before opening a PR: Read through once yourself, fix obvious mistakes.
- Distinctive: line 50
No manual corrections, no discussions in review about formatting.
≈ “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 committing, branching, or opening a pull request. Conventional commit format, branch naming, PR scope. alwaysApply: false --- # Sub-Skill: Git & Workflow Conventions <!-- target: ~650 tokens (real tiktoken count) | 15 rules --> **Purpose:** Consistent commit history, clean branches, no merge conflicts through discipline. Rules that work in teams of 2–20 developers. --- ## Rules ### Commit Messages (Conventional Commits) 1. **Format:** `<type>(<scope>): <description>` — always lowercase, no period at the end. - Types: `feat`, `fix`, `refactor`, `test`, `docs`, `chore`, `perf`, `ci` - Example: `feat(auth): add JWT refresh token rotation` 2. **Description in imperative mood.** `add feature` not `added feature` or `adds feature`. 3. **Scope is the affected module name.** `fix(user-service): handle null email` — not `fix(backend)`. 4. **Mark breaking changes with `!`.** `feat(api)!: remove deprecated v1 endpoints` 5. **Body for non-obvious changes.** Explains the *why*, not the *what*. ### Branching 6. **Branch names:** `<type>/<ticket-id>-<short-description>` — e.g. `feat/PROJ-123-user-export`. 7. **Feature branches live max. 2 days.** Longer → rebase daily onto `main`. 8. **No direct push to `main` or `develop`.** Always through a pull request. 9. **Delete branch before PR merge.** Clean up merged branches from remote. ### Pull Requests 10. **PR title = commit message of the squash commit.** Consistency between PR and git log. 11. **Max. 400 lines diff per PR.** Larger → split. Reviewers cannot meaningfully review more than 400 lines. 12. **Self-review before opening a PR.** Read through once yourself, fix obvious mistakes. ### Merge Strategy 13. **Squash-merge for feature branches.** Clean linear history on `main`. 14. **Merge commit for release branches.** So release points remain visible. 15. **`git rebase -i` before PR for clean commits.** Squash WIP commits together. --- ## Why This Sub-Skill Earns Stars The agent automatically creates correct commit messages and branch names. No manual corrections, no discussions in review about formatting.
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.

