backend-review
Skill2 starsChanged 3 days agoMITView on GitHub
Read-only pre-production audit of a FastAPI + PostgreSQL + SQLAlchemy 2.0 (async) + Alembic backend. Runs zero-dependency Python AST, migration, and security scans followed by mandatory semantic code verification and writes BACKEND_REPORT.md and findings.json with a clear verdict (NOT READY / ALMOST READY / READY). Use when asked to review, audit, or check if a FastAPI backend is ready for production.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- camilooscargbaptista/cto-toolkittheir own version, first seen Nov 29, 2026
- manishdashsharma/express-backend-skillstheir own version, first seen Nov 22, 2026
- frnkgns/Overgeared-Skillstheir own version, first seen Nov 8, 2026
- omdenkar2-ui/all-in-onetheir own version, first seen Nov 1, 2026
- henrilhos/skillstheir own version, first seen Oct 17, 2026
- aws-solutions/konductortheir own version, first seen Sep 23, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- aws-solutions/konductor★ 12same name
- camilooscargbaptista/cto-toolkit★ 9same name
- frnkgns/Overgeared-Skills★ 7same name
- henrilhos/skills★ 1same name
- manishdashsharma/express-backend-skills★ 0same name
- omdenkar2-ui/all-in-one★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- concurrency-checkSkill
- fastapi-prod-readySkill
- migration-reviewSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read-only: Do not modify, add, format, or delete any project code, config, or dependencies.
- Very specific: line 14
Follow-ups belong to sibling skills: fixing findings -> fastapi-prod-ready.
- Very specific: line 18
Write to <project>/reports/backend-review/ when reports/ is git-ignored (or if the user specifies a folder).
- Very specific: line 41
Update <report_dir>/BACKEND_REPORT.md following <kit>/AUDIT-AND-REPORTING.md:
- Distinctive: line 46
Never print secret values, tokens, passwords, or database credentials in the report.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Backend review (read-only)
Goal: give the user an evidence-backed pre-production verdict (❌ NOT READY / ⚠️ ALMOST READY / ✅ READY) with exact file:line references, explaining what will break under multi-user load, lock PostgreSQL during deploy, or leak user data. Talk to the user in their language; write the report in English.
Read-only. Do not modify, add, format, or delete any project code, config, or dependencies. Write only the report files.
This skill uses the scripts and guides in fastapi-prod-ready installed next to this folder: <kit> = <this skill's folder>/../fastapi-prod-ready. If <kit> is missing, instruct the user to install the full repository (all four skills) and stop.
Follow-ups belong to sibling skills: fixing findings -> fastapi-prod-ready; deep live concurrency proof -> concurrency-check; migration-only review -> migration-review.
Where the report goes
Write to <project>/reports/backend-review/ when reports/ is git-ignored (or if the user specifies a folder). Otherwise write to a sibling folder outside the project (e.g., ../backend-review-<project>) and report its exact path.
1. Run the automated AST + migration + security scan
python <kit>/scripts/backend_report.py <project> --out <report_dir> --no-failThis runs ast_audit.py, migration_audit.py, and check_forbidden.py using Python 3.11+ stdlib only and writes BACKEND_REPORT.md, findings.json, and MIGRATION_REPORT.md.
2. Mandatory semantic code verification
AST checks eliminate string/comment noise, but business intent still requires reading the cited code. Inspect in order:
- Every ❌ blocking finding — open
file:line; confirm it, re-grade it, or drop false alarms with a one-line reason. - Concurrency & data integrity (
<kit>/CONCURRENCY-AND-ASYNC.md) — check balance/stock/booking/coupon updates for missing row locks or atomic updates, and criticalPOSTendpoints for double-click idempotency. - Authorization / IDOR (
<kit>/SECURITY-AND-OPS.md) — inspect every/{id}route to confirm the caller cannot read or mutate another user's or tenant's records. - Async SQLAlchemy & transaction scope (
<kit>/SQLALCHEMY-AND-POSTGRES.md) — verify session boundaries,expire_on_commit=False,lazy="raise", eager loading on list endpoints, and no external HTTP calls inside DB transactions. - Migrations (
<kit>/MIGRATIONS-ZERO-DOWNTIME.md) — inspect recentalembic/versions/*.pyfor table locks, missing timeouts, and reversibledowngrade(). - Secrets & operations — confirm no hardcoded credentials, safe error handlers, explicit HTTP timeouts, non-root
Dockerfile, and/healthzvs DB-checked/readyz.
3. Write the reviewed report
Update <report_dir>/BACKEND_REPORT.md following <kit>/AUDIT-AND-REPORTING.md:
- Verdict first:
❌ NOT READY/⚠️ ALMOST READY/✅ READY. - Every finding: what is wrong, exact
file:line, why it fails in production, and concrete fix. - "Changes to automated findings" section: list every automated finding dropped or re-graded (with reason) plus manual findings discovered by reading code.
- Never print secret values, tokens, passwords, or database credentials in the report.
In chat, reply in the user's language in 3–6 lines: verdict, top blockers, single next step, and report path.
Never
- Edit project files, install dependencies, or run database migrations.
- Present an automated finding as confirmed without opening the cited file.
- Claim tests or live probes passed if they were not executed.
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.

