agentleFS
madebyarismadebyaris/cursor-composer-rules/.cursor/rules/composer-senior-practices.mdc

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

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
  1. Distinctive:

    Never mass-fix unrelated modules based on external guidance alone.

    line 40

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
composer-senior-practices.mdc
---
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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.