senior-practices
Skill3 starsChanged 4 months agoMITView on GitHub
Version-pinned coding and framework best practices from official docs and corroborated senior/maintainer guidance — use for unfamiliar stacks, upgrades, migrations, architecture reviews, "best practice" questions, or before introducing a new pattern when style governance says improve might be warranted.
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-senior-practices.mdcCursor rule
- .cursor/rules/composer-verification.mdcCursor rule
- .cursor/rules/cursor-tools-discipline.mdcCursor rule
- deep-researchSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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
- Distinctive: line 22
Do not imitate private chain-of-thought.
- Very specific: line 26
Read manifests: package.json, go.mod, Cargo.toml, pyproject.toml, Gemfile, etc.
- Distinctive: line 31
If versions cannot be determined, say so and label recommendations [H] until anchored.
- Distinctive: line 38
Read release notes / migration guides for the version span in use.
- Distinctive: line 39
Check security advisories when the change touches auth, crypto, input, or dependencies.
- Distinctive: line 45
Add T2/T3 sources only when T1 is silent on the specific decision:
- Distinctive: line 70
Use this shape (omit empty sections):
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Senior practices skill
Companion to .cursor/rules/composer-senior-practices.mdc. Load when external, current guidance is needed — not when matching an obvious local pattern suffices.
For multi-vendor audits or contradictory literature, pair with deep-research. For applying findings without scope creep, follow composer-coding-excellence § Style governance.
See reference.md for compact repeatable checklists.
Operating stance
Training data is a hypothesis until anchored to this repo's versions and T1 sources. Prefer falsification: check deprecations, breaking changes, and "do not use" guidance before recommending a pattern. Recollection without a primary source stays [H] until inspected.
Do not imitate private chain-of-thought. Make the work inspectable: version inventory, source list, reconciled recommendations, and apply-now vs follow-up split.
Phase A — Inventory (this repo)
- Read manifests:
package.json,go.mod,Cargo.toml,pyproject.toml,Gemfile, etc. - Record exact versions of the framework, runtime, and relevant libraries.
- Note existing project standards: eslint/prettier, ADRs, README, CI config.
- Scan how similar problems are already solved in this codebase (2–3 examples).
If versions cannot be determined, say so and label recommendations [H] until anchored.
Phase B — Anchor (T1 primary)
For each decision point:
- Open official docs keyed to the pinned version (not "latest" unless the repo tracks latest).
- Read release notes / migration guides for the version span in use.
- Check security advisories when the change touches auth, crypto, input, or dependencies.
Draft a short coverage note: what T1 says, what is deprecated, what the repo currently does.
Phase C — Corroborate (T2/T3, sparingly)
Add T2/T3 sources only when T1 is silent on the specific decision:
- Platform owner guides (Vercel, Cloudflare, etc.) matched to deployment target.
- Maintainer conference talks or engineering blogs when they align with T1 or include reproducible examples.
Log contradictions; do not pick the blog over the official doc without explaining why.
Phase D — Reconcile (this repo wins constraints)
Map external guidance to local reality:
| Check | Question |
| Style governance | Match file style, or is improvement explicitly in scope? |
| Dependencies | Does the repo already have a library for this? |
| Blast radius | Can this be one vertical slice? |
| Tests | What verification exists or is needed? |
Split output:
- Apply now — fits current task and minimal diff.
- Follow-up plan — style/tech-debt; cite paths; do not implement unprompted.
Phase E — Deliver
Use this shape (omit empty sections):
## Context
- Stack + versions:
- Question:
## Sources inspected
| Tier | Source | What it established |
| --- | --- | --- |
## Recommendations
1. [P/T1] … — apply now | follow-up
2. …
## Reconcile with this repo
- Existing patterns to follow:
- Conflicts with local style (if any):
## Verification
- Command or check | expected resultTag confidence when helpful: [P] primary, [S] synthesized, [H] hypothesis.
Anti-patterns
- Recommending "latest best practice" without checking pinned versions.
- Citing tutorials that contradict official docs.
- Drive-by refactors across unrelated files.
- Adding dependencies when the repo already has an equivalent.
- Skipping how the codebase already solves the problem.
When to escalate
- Legal, compliance, or org-specific policy not in public docs — flag blocked and name what human input is needed.
- Irreconcilable T1 vs repo constraint — present options with blast radius; do not silently override ADRs or lint rules.
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.

