keyvaluesoftwaresystems/kv-skills · Archived

backend-review

Review the backend implementation AFTER it is built — security, contract adherence, correctness, backward compatibility, rate-limiting, performance/scaling, migrations, test gaps, observability. Read-only; writes a review artifact. Front door for /backend-review.

First seen Jul 3, 2026

Installation

$ npx skills add keyvaluesoftwaresystems/kv-skills --skill backend-review

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from keyvaluesoftwaresystems/kv-skills · top by installs.

npx skills add keyvaluesoftwaresystems/kv-skills

Browse all from keyvaluesoftwaresystems/kv-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3
License licenses
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Grep, Glob, Bash, Task, Write
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,215 B
  • docs SUMMARY.md 287 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 10 installs

SKILL.md

backend-review

Review the backend implementation (diff/branch) against the contract and LLD. Read-only — never edit code; reviewers return evidence and recommendations, humans decide fixes.

Steps

  1. Scope the diff — identify changed files, new endpoints, migrations, and their blast radius.
  2. Line the diff up against the contract (contracts/<slug>/openapi.yaml) and the LLD.
  3. Deep, evidence-backed pass over every dimension in the checklist below. For a more

independent read you MAY spawn a fresh read-only sub-agent (via the Task tool) that follows this same skill — do this where your harness supports it (e.g. Claude Code). Otherwise perform the pass inline. Either way: read-only — never edit code. You are the read-only backstop; nothing is skipped.

  1. Consolidate findings by severity; decide blocking.
  2. Write the report and return the verdict.

What the review must cover (checklist — independent of the external skill)

  • Security — authz on every endpoint (no client trust); input validation & bounds;

injection (SQL/command/template); output encoding; secrets in code/logs; PII handling; safe deserialization; SSRF.

  • Contract adherence — endpoints/DTOs/error shape/status codes match exactly; no

undocumented divergence; breaking changes flagged, not silent.

  • Correctness & concurrency — logic matches spec; transactions; races/isolation;

idempotency for mutating/retryable ops.

  • Backward compatibility — additive; no removed/retyped fields or tightened validation

without version + migration; defaults for new fields.

  • Rate limiting & abuse — limits/quotas; page-size & payload caps; timeouts; 429 semantics.
  • Performance & scaling — no N+1/unbounded queries; indexes for new paths; caching/pooling;

behavior under load.

  • Data & migrations — expand→migrate→contract; reversible; no online long locks; backfill.
  • Test gaps — branches, error paths, and acceptance-criteria edge cases tested;

assertions verify behavior; not happy-path only.

  • Observability — structured logs (no PII), metrics/traces on new paths, error taxonomy.

Edge cases / smells to watch for

  • Endpoint added without an authz check or without validation on a field.
  • Error paths returning 200, or leaking stack traces / internal messages.
  • A migration with no rollback, or a breaking column change done in one step.
  • Retry without idempotency (double side effects); missing rate limit on a new public route.
  • N+1 introduced in a loop; unbounded list endpoint; missing index for a new query.
  • Tests that assert nothing meaningful, or only cover the happy path.

External skill (provision — review method)

Read skills.config.yamlreview.external (default requesting-code-review, from the Superpowers pack, or none). If set, apply its discipline first; it must not narrow the checklist above.

Findings format (what the review returns — evidence mandatory)

summary: <one paragraph verdict + top risks>
findings:
  - severity: blocker | major | minor | suggestion
    area: security | contract | correctness | backward-compat | rate-limiting | performance | scaling | data-migrations | test-gap | observability
    file: <path:line>
    evidence: <quoted code / test / contract clause, or the gap>
    recommendation: <smallest safe change>
    safe_for_ai_fix: <true|false>
blocking: <true if any blocker/major remains>

Decide & output

Sort blocker → major → minor → suggestion; blocking = true if any blocker/major remains. Auth/permission or contract changes are never safeforaifix — escalate. Write .sdlc/<slug>/backend/reviews/summary.md. Return reviewpath and blocking. In the workflow a blocking result routes back to the backend implementer (bounded to 3).