cursor-composer-rules / rules
Cursor rule3 starsChanged 3 months agoMITView on GitHub
Version-pinned framework guidance from primary docs when building on unfamiliar stacks, upgrading, or reviewing architecture — load when evidence beats training data; not required for routine feature work
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 4,373 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 repository12 other files it gives its agents.
- .cursor/rules/clarify-first.mdcCursor rule
- .cursor/rules/composer-coding-excellence.mdcCursor rule
- .cursor/rules/composer-core.mdcCursor rule
- .cursor/rules/composer-debugging.mdcCursor rule
- .cursor/rules/composer-deep-research.mdcCursor rule
- .cursor/rules/composer-fullstack-delivery.mdcCursor rule
- .cursor/rules/composer-orchestration.mdcCursor rule
- .cursor/rules/composer-reasoning.mdcCursor rule
- .cursor/rules/composer-verification.mdcCursor rule
- .cursor/rules/cursor-tools-discipline.mdcCursor rule
- deep-researchSkill
- senior-practicesSkill
The file
We split this composer-senior-practices.mdc into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 40
Never mass-fix unrelated modules based on external guidance alone.
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 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: Version-pinned framework guidance from primary docs when building on unfamiliar stacks, upgrading, or reviewing architecture — load when evidence beats training data; not required for routine feature work alwaysApply: false --- # Composer senior practices Load the [senior-practices skill](../skills/senior-practices/SKILL.md) when you need **current**, **version-matched** guidance. Training data is a hypothesis until anchored to this repo's versions and T1 sources — not a substitute for primary docs. ## When to use - Unfamiliar framework, library, or language feature in the repo. - User asks for "best practice", "modern approach", or "how should we…" - Upgrade, migration, or new pattern introduction. - Architecture or code review where recommendations need citations. - Style governance decision: is local style wrong enough to improve? (see [composer-coding-excellence](composer-coding-excellence.mdc) § Style governance) ## When not to use - Trivial edits where the file's existing pattern is clear. - Pure codebase archaeology (use Explore subagent / grep instead). - Deep multi-vendor research (use [composer-deep-research](composer-deep-research.mdc) / deep-research skill). ## Source tiers | Tier | Examples | Use for | | --- | --- | --- | | **T1 — Primary** | Official docs, RFCs, release notes, security advisories | Defaults, APIs, deprecations | | **T2 — Maintainer / platform** | Framework team blogs, platform engineering guides (version-matched) | Patterns endorsed by platform owners | | **T3 — Corroborated senior** | Widely cited talks/posts **only when** aligned with T1/T2 or reproducible | Tradeoffs, operational wisdom | | **Reject** | Random tutorials, outdated Stack Overflow, unversioned "best practices" | Do not cite as authority | ## Contract with style governance Recommendations must reconcile with **this repo**: existing libs, ADRs, lint config, and [composer-coding-excellence](composer-coding-excellence.mdc) minimal-diff rules. - **Apply now** — safe within the current task scope. - **Follow-up plan** — style or tech-debt slice; do not drive-by refactor. Never mass-fix unrelated modules based on external guidance alone. See [reference.md](../skills/senior-practices/reference.md) for the compact checklist.
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.

