Code Review

Review pull requests for bugs, security issues, and maintainability problems with structured findings. Use when reviewing PRs, diffs, or code changes. Do NOT use for writing new features from scratch.

bjg4 ea39e80 926 B Updated

File contents

Code Review

Quick start

Read the diff or code snippet. Produce findings grouped by severity (critical, major, minor). Each finding: location, issue, suggested fix.

Workflow

  1. Scan for security issues first (injection, auth, secrets, unsafe defaults).
  2. Check correctness and error handling paths.
  3. Assess maintainability (naming, duplication, missing tests).
  4. Output structured review — not a rewrite unless asked.

Output format

## Critical
- [file:line] Issue — suggested fix

## Major
...

## Minor
...

Error handling

If code context is missing, ask for the diff or file. If outside review scope, say so and suggest the right skill.

bjg4/bgskillz/tree/main/bakeoff/fixtures/v5/code-review/code-review commit ea39e80e3d

Frequently asked questions

npx skillmds@latest add bjg4/code-review-4