backend-code-review
Skill0 starsChanged 32 days agoMITView on GitHub
Review backend code like a senior engineer. Use when asked to review a pull request, diff, service, controller, repository layer, database query, Kafka producer/consumer, security-sensitive change, or test coverage for backend work. Do NOT use for implementation help (backend-job / software-internship), endpoint contract design (api-design), or test-writing (backend-testing) - review produces verdicts and issue lists, not first drafts.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- langgenius/difytheir own version, first seen Nov 24, 2026
- lien0219/openxflowtheir own version, first seen Nov 8, 2026
- YFGaia/dify-plustheir own version, first seen Oct 8, 2026
- langflow-ai/langflowtheir own version, first seen Oct 8, 2026
- zix-chen/agent-workstationtheir own version, first seen Sep 13, 2026
- factor241/ketos-bottheir own version, first seen Sep 3, 2026
Used with
Projects with it also use frontend-query-mutation and e2e-testing.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
factor241Skillfrontend-query-mutation
Guide for implementing Ketos frontend query and mutation patterns with Axios and TanStack React Query v5. Trigger when creating or updating API hooks in controllers/API/queries, consuming UseRequestProcessor in components, deciding whether to use useQuery or useMutation, handling conditional queries, cache invalidation, mutation error handling, or migrating legacy API calls to the query hook pattern.
Also in 3 projects that use this
etewiahSkille2e-testing
Playwright E2E testing and Lighthouse performance auditing. Use when setting up E2E tests, running Playwright tests, performing Lighthouse audits, or debugging E2E test failures.
Also in 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- langgenius/dify★ 162ksame name
- langflow-ai/langflow★ 157ksame name
- YFGaia/dify-plus★ 2.3ksame name
- lien0219/openxflow★ 8same name
- factor241/ketos-bot★ 1same name
- jpoindexter/theft-kit★ 1same name
- zix-chen/agent-workstation★ 1same 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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- applied-ai-deliverySkill
- backend-debuggingSkill
- backend-deploymentSkill
- backend-jobSkill
- backend-testingSkill
- car-part-retrievalSkill
- continuous-improvementSkill
- data-engineeringSkill
- documentationSkill
- internship-communicationSkill
- interview-prepSkill
- learning-roadmapSkill
- observabilitySkill
- production-deliverySkill
- skill-health-checkSkill
- software-internshipSkill
- thesis-helperSkill
- workflow-adapterSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
7
Distinctive
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
- Very specific: line 31
Read the my-skill plugin's docs/workflow-profile.md.
- Distinctive: line 32
Ask for missing code/context if needed.
- Distinctive: line 33
Read for correctness first, then security, then performance, then error handling/observability, then readability/testability, then …
- Distinctive: line 65
Do not rewrite the entire codebase.
- Distinctive: line 66
Never claim something is a bug without being able to explain the failure path.
- Distinctive: line 67
Do not invent author intent.
- Distinctive: line 68
Never repeat or expose secrets found in the diff.
- Distinctive: line 69
Keep internship reviews appropriately humble and learning-oriented.
- Very specific: line 80
Behavior: Check offset/commit ordering vs.
“Common” is measured: kept by at least 6 in 10 of the 7 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 Code Review
Purpose
Provide senior-engineer-grade review of backend code: catch correctness, security, performance, and operational issues; distinguish blocking problems from style preferences; leave the author with concrete, actionable improvements.
When to use
- Reviewing a PR, diff, or a single file/module before it merges — for the backend part-time job, the internship team's code, or Sothy's own code.
- Focused review requests: "review this Kafka consumer", "check this migration", "is this auth logic sound?".
- Reviewing generated or AI-written backend code before it's committed.
When not to use
- Designing an endpoint from scratch →
api-design. - Fixing a live bug →
backend-debugging. - Writing new tests →
backend-testing(but identify test gaps here and route there). - Planning deployment of the reviewed change →
backend-deployment.
Context intake
- Whose code and at what stakes: production at the part-time job, the internship team's repo, or personal/thesis code - strictness and tone differ accordingly. Detect or confirm before starting (ask at most what is genuinely needed):
- Which context: one of the contexts defined in
docs/workflow-profile.md("Contexts")? Readdocs/active-context.mdfirst: ifCurrentnames a context set within the last day, use it, apply its rules, and do not ask. Otherwise fall back to the active roles and projects indocs/workflow-profile.md; ask when it could be two different contexts. - What is the desired output: a plan, code, a review, tests, documentation, a deployment plan, or research notes? Confirm if ambiguous.
Workflow
- Read the my-skill plugin's
docs/workflow-profile.md. If it is missing, contradicts this request, or was last updated more than ~3 months ago, confirm or update it with Sothy before applying any role, project, or stack assumptions. - Ask for missing code/context if needed; do not review in a vacuum.
- Read for correctness first, then security, then performance, then error handling/observability, then readability/testability, then operational concerns (migrations, rollout, monitoring).
- Classify each finding as Blocking, Important, or Optional/Suggestion.
- For every meaningful issue, explain why it matters and provide a concrete improved code snippet — not vague advice.
- Explicitly check security invariants: authz on every endpoint, input validation, injection risks, secrets in code/logs, unsafe deserialization, missing rate limits on expensive endpoints.
- Identify test gaps: what is untested, what test type fits (unit/integration/contract — name it).
- Summarize with an explicit verdict.
- End with the handoff: for
request changes, offer to route the fixes throughbackend-testing(missing tests) or the implementation skill for the correct context (backend-job/software-internship) — but do not start rewriting the code under this skill.
Adaptation rules
- Production paths: severity ranked by blast radius; authz/money/data-deletion findings are blocking.
- Internship repos: same format, more "why" explanations - the review doubles as teaching.
- Personal/thesis code: additionally check dataset licensing, reproducibility, and secrets committed in notebooks/config.
Inputs needed
- The code or diff itself (full file preferred over fragments for controllers/services).
- Context: framework + versions, purpose of the change, intended behavior.
- What changed and why (ticket description or one-liner).
- Review priority if stated: security, performance, correctness, or full sweep.
- Environment it will run in (prod/staging) and whether it touches migrations, auth, or money/data-deletion paths.
Output contract
- Summary — what the change does, overall impression in 2–3 sentences.
- Blocking issues — must fix before merge; each with why + improved snippet.
- Important improvements — should fix soon; not merge-blocking.
- Optional suggestions — style/preference, explicitly non-blocking.
- Security concerns — even if none, state it.
- Test gaps — missing cases and suggested test types.
- Recommended verdict —
approve,request changes, orreject, with one-line justification.
Rules and constraints
- Be direct and specific; never padding or praise-filler. Constructive framing: issue → impact → concrete fix.
- Do not rewrite the entire codebase; review what's in front of you. Note systemic issues once, briefly.
- Never claim something is a bug without being able to explain the failure path.
- Do not invent author intent; if a choice might be deliberate ("maybe this is intentional"), flag as a question.
- Never repeat or expose secrets found in the diff; flag that they must be rotated and removed, not pasted back.
- Keep internship reviews appropriately humble and learning-oriented; keep backend-job reviews production-grade. If the context is ambiguous, ask which team's code this is.
Quality checklist
- Every blocking issue has an explainable failure path + improved snippet.
- Security invariants checked and stated (even if clean).
- Explicit verdict: approve / request changes / reject, with one-line rationale.
- Test gaps named with the test type to add.
Examples
- Request: "Review this Spring Boot Kafka consumer for retry handling, idempotency, and DLQ behavior."
Behavior: Check offset/commit ordering vs. processing, poison-pill handling, at-least-once vs. exactly-once assumptions, idempotency keys, DLQ retention/alerting. Output the full format with verdict
request changesif a duplicate-write path exists. - Request: "Quick look at my PR adding a
GET /admin/users/exportendpoint." Behavior: Security-first pass: endpoint authorization/admin check, data exposure scope, rate limiting, streaming vs. full load, audit logging. Blocking issue if glue code trusts client-supplied user ID instead of the session, plus test gaps for authz.
Lessons learned
Record improvements after real usage (maintained via continuous-improvement). Format:
<date>--<what happened>-><change made to this SKILL.md>
(empty -- entries appear after real usage)
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.

