senior-check
Skill0 starsChanged 2 months agoMITView on GitHub
Read-only audit of whether a repo is built the way a senior engineer would: process (emode steps, verify, CI, PR flow), versions (lockfile, pinned runtime, tags matching the manifest, changelog), docs (README, SPEC, ADRs), git hygiene, secrets, and the default approaches in `principles` part A. Use on "senior check", "estamos fazendo certo?", "boas práticas", "auditoria do projeto", before a PR that ends a phase, or when emode §5 calls it.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- claude/CLAUDE.mdCLAUDE.md
- ai-memory-curateSkill
- apresentacao-animadaSkill
- asd-ste100Skill
- avaliar-como-professorSkill
- blindspot-passSkill
- code-reviewSkill
- diagnosing-bugsSkill
- digest-filesSkill
- domain-modelingSkill
- emodeSkill
- find-skillsSkill
- grillingSkill
- grill-with-docsSkill
- handoffSkill
- improveSkill
- new-botSkill
- performanceSkill
- pr-head-reviewSkill
- principlesSkill
- prior-art-checkSkill
- prototypeSkill
- prSkill
- researchSkill
- resolving-merge-conflictsSkill
- retroSkill
- setup-ai-memorySkill
- setup-matt-pocock-skillsSkill
- setup-projectSkill
- setup-pucprSkill
- simplifySkill
- tddSkill
- teachSkill
- verification-planningSkill
- wayfinderSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Only for the current phase or the open PR, not the whole history:
- Very specific: line 38
Dependencies: run the ecosystem's audit (npm audit --omit=dev, uv pip list --outdated or pip-audit, dotnet list package --vulnerable).
- Very specific: line 42
Performance: if the project has a budget, it is checked in scripts/verify.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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-check
Answers one question with evidence: "is this repo being built the way a senior engineer would, by our own rules?"
It reports and never edits tracked files; --run-verify runs the repo's own scripts/verify, which may write (the
script reports leftovers). Fixes go through /emode like any other change.
1. Run the script (facts first)
scripts/senior-check.sh <repo> --run-verify (from this skill folder; any path inside the repo works). One line per
check: PASS / WARN / FAIL with evidence; exit 0 = no FAIL, 1 = FAIL, 2 = bad usage. Never restate a line the script did not
print. It checks the repo root only: a monorepo's sub-packages need a manual look.
- FAIL: blocks closing the phase, not the "built" of one change (no verify, verify red, commits only on this disk, most recent commits on the default branch without a PR, manifest without a committed lockfile, no README, secret in history).
- WARN: a gap a senior would close soon (no CI, runtime not pinned, tag behind the manifest, no CHANGELOG, no ADRs,
SPEC without
Approved:, a few direct commits: rebase-merged PRs look direct, so confirm before reporting). - gitleaks FAIL: triage with
gitleaks git . --redact -vbefore you report it; a demo fixture is a false positive, a real key means "tell Enzo to rotate it" (never print the value). A triaged false positive goes to.gitleaksignoreby fingerprint, in a PR.
2. Judge what a script cannot (read, then cite file:line)
Only for the current phase or the open PR, not the whole history:
- emode was followed: SPEC written and approved before code; scope frozen during the PR; docs (SPEC, ADR,
README) changed in the same PR as the behavior;
blindspot-passand a fresh review on large changes. - Tests prove behavior: new behavior has a test that would fail without it; no skipped or deleted tests to get green.
- Dependencies: run the ecosystem's audit (
npm audit --omit=dev,uv pip list --outdatedorpip-audit,dotnet list package --vulnerable); report high/critical only. A major version behind with a known CVE is a FAIL. - Default approaches:
principlespart A (Engineering); check the ones that apply to code. Each is a default, not a law: a different choice is fine when it is written down (ADR or PR body) with the reason. - Performance: if the project has a budget, it is checked in
scripts/verify; if not, say so (seeperformance).
3. Report
Lead with the verdict (pronto para seguir / seguir depois de N correções), then at most 5 findings, worst first,
each as cause and fix with evidence (script line or file:line). End with the one next step. A finding that needs
code becomes an /emode task (T3 Code brief), not a fix inside this skill.
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.

