composer-senior-practices

composer-senior-practices is a cursor rule for Cursor from madebyaris/cursor-composer-rules. It costs 33 tokens per session (516 once invoked), scanned A, original, MIT.

A set of coding rules for getting advice matched to the exact versions used in a project, using official documentation and other reliable sources.

In plain words
What is it for?
Use it to check framework and library practices, review architecture, choose newer patterns, and decide whether a project’s existing coding style should change.
Why use it?
It reduces the risk of relying on outdated or guessed advice when working with unfamiliar tools, upgrades, migrations, or architecture decisions.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions subagents.

Good fit Use it to check framework and library practices, review architecture, choose newer patterns, and decide whether a project’s existing coding style should change.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/madebyaris/cursor-composer-rules/composer-senior-practices
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/madebyaris/cursor-composer-rules

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for composer-senior-practices

README.md
[![agentmods](https://agentmods.dev/badge/rules/madebyaris/cursor-composer-rules/composer-senior-practices.svg)](https://agentmods.dev/rules/madebyaris/cursor-composer-rules/composer-senior-practices)
Your own site
<a href="https://agentmods.dev/rules/madebyaris/cursor-composer-rules/composer-senior-practices"><img src="https://agentmods.dev/badge/rules/madebyaris/cursor-composer-rules/composer-senior-practices.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 516 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00516
Opus 5 $0.00016 $0.00258
Sonnet 5 $0.00007 $0.00103
Haiku 4.5 $0.00003 $0.00052

Measured 7d ago against content hash b3ea87d51ee8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

composer-senior-practices scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/composer-senior-practices.mdc · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Composer senior practices

Load the senior-practices skill 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 § 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 / 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 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 for the compact checklist.

Read the full file on GitHub · 43 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 43 lines · 33 tokens per session scan A b3ea87d51ee8

Subscribe to this mod's changes

composer-senior-practices is a cursor rule published in the GitHub repository madebyaris/cursor-composer-rules (3 stars, last pushed 19d ago), licensed MIT. It adds 33 tokens to every session and 516 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.