review-backend-change
Skill130 starsChanged 12 months agoMITView on GitHub
Use when the user asks for a pre-PR or diff review of backend controllers, APIs, domain services, authorization, tenant context, jobs, transactions, repositories, SQL, ORM or mapper code, schema migrations, constraints, indexes, or backfills. Reviews reachable domain, persistence, and rollout regressions across the full call chain.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- branch-cleanerSkill
- bug-triageSkill
- ci-fixSkill
- commit-workSkill
- create-prSkill
- dependency-upgraderSkill
- docs-syncSkill
- focused-tddSkill
- manage-product-ideasSkill
- pr-visual-explainerSkill
- rebase-assistantSkill
- regex-builderSkill
- release-notesSkill
- review-architecture-scopeSkill
- review-frontend-changeSkill
- review-security-privacySkill
- review-test-coverageSkill
- vps-checkupSkill
- write-ui-copySkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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 13
Read repository instructions for every changed path.
- Distinctive: line 19
Use evidence in this order: changed code and complete call chain, behavior-protecting tests, repository instructions, then other …
- Distinctive: line 23
Read references/domain-api.md when the diff touches controllers, commands, domain rules, authorization, request context, transactions, …
- Distinctive: line 24
Read references/persistence-migrations.md when it touches repositories, adapters, SQL, ORM or mapper configuration, migrations, …
- Distinctive: line 25
Read both only when the changed flow crosses both boundaries.
- Distinctive: line 29
Keep transport validation at the inbound edge and canonical business rules at the layer shared by every caller.
- Distinctive: line 32
Place coordinated write transactions at the reusable application or use-case boundary.
- Distinctive: line 36
Check list/count symmetry, null and empty behavior, retry and idempotency semantics, concurrency, and wrong-owner cases when the diff can …
- Very specific: line 45
Use blocked only when the diff or a critical contract cannot be evaluated.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Backend Change Review
Review only unless the user separately authorizes fixes. Do not post comments, change pull-request state, or mutate databases or environments.
Review flow
- Establish the base, diff, intended behavior, runtime stack, and changed backend surfaces.
- Read repository instructions for every changed path.
- Trace each changed path through transport, application or domain logic, persistence, schema, asynchronous work, and protecting tests as applicable.
- Compare with the nearest current pattern in the same repository and stack.
- Exclude untouched debt, style preferences, and hypothetical failures. A prohibited flow is in scope only when the diff materially changes it.
- Report only reachable failures with confidence of at least 80/100, anchored to a changed file or line with mechanism, evidence, smallest safe direction, and exact validation.
Use evidence in this order: changed code and complete call chain, behavior-protecting tests, repository instructions, then other documentation.
Select references
- Read references/domain-api.md when the diff touches controllers, commands, domain rules, authorization, request context, transactions, errors, jobs, retries, or pagination.
- Read references/persistence-migrations.md when it touches repositories, adapters, SQL, ORM or mapper configuration, migrations, constraints, indexes, or backfills.
- Read both only when the changed flow crosses both boundaries.
Core decision boundaries
- Keep transport validation at the inbound edge and canonical business rules at the layer shared by every caller.
- Enforce authorization and tenant ownership through every read and write. UI hiding and caller-supplied IDs are not authority.
- Carry scope explicitly through background work; do not depend on request-local context.
- Place coordinated write transactions at the reusable application or use-case boundary.
- Preserve stable error and pagination contracts unless the change includes a compatible migration.
- Parameterize ordinary SQL values. Raw SQL substitution is safe only after a closed mapping to fixed literals.
- Require migrations to be uniquely ordered, immutable after application, compatible with rolling deploys, and deterministic for existing data.
- Check list/count symmetry, null and empty behavior, retry and idempotency semantics, concurrency, and wrong-owner cases when the diff can affect them.
Findings
P0: credible authorization, tenant, payment, secret, personal-data, or permanent data-loss path.P1: user- or operations-visible behavior, contract, integrity, or rollout failure.P2: bounded regression or missing validation with a concrete path.- Omit suggestions without a reachable changed failure unless requested.
Use blocked only when the diff or a critical contract cannot be evaluated.
Output
Verdict: clean | findings | blocked
Reviewed: [changed surfaces and traced call chain]
Findings:
[P1][confidence 94] Title — changed/path:line
Mechanism: [reachable failure]
Evidence: [code, test, schema, or contract]
Direction: [smallest safe correction]
Validation: [exact test or check]
Verified non-findings: [important traps rejected]
Verification needed: [at most two below-threshold items]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.

