review-backendlisted
Install: claude install-skill MrCipherSmith/helyx
# Review — Backend (NestJS / API / DB)
Focused backend reviewer covering NestJS patterns, REST API design, database access patterns,
and TypeScript correctness for service-layer code. This skill does NOT duplicate security or
performance checks — those belong to `review-security-code` and `review-performance`.
---
## Workflow
```
review-backend Progress:
- [ ] Step 1: Read Job Context (if CONTEXT_PATH provided)
- [ ] Step 2: Determine git scope (merge-base) — see skills/shared/git-merge-base.md
- [ ] Step 3: Collect diff and changed file list
- [ ] Step 4: NestJS patterns check
- [ ] Step 5: API design check
- [ ] Step 6: Database patterns check
- [ ] Step 7: TypeScript correctness check
- [ ] Step 8: Emit findings in unified format, sorted by severity
```
---
## Input Contract
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `branch` | string | no | Branch to review. Defaults to current branch. |
| `commit_range` | string | no | Explicit range (e.g., `abc123..HEAD`). Overrides merge-base detection. |
| `context_doc` | string | no | Path to job context document (e.g., `<JOBS_ROOT>/<job>/ai/context.md`). |
| `issue_url` | string | no | GitHub issue or task URL for spec compliance reference. |
---
## Scope Detection
See shared script: `skills/shared/git-merge-base.md`
Run that script to determine `BASE_SHA` before collecting the diff.
```bash
# Default mode — all changes from merge-base to working tree
git diff --name-only "${BAS