Skillibary

code-review

verified

Performs thorough code reviews covering correctness, security, performance, and style.

Purpose

Performs structured code reviews on diffs or files, checking for bugs, security issues, performance problems, and style violations.

Trigger

Use when the user asks to "review", "check", or "audit" code, or before merging a PR.

Behavior

  1. Read the diff or file(s) provided.
  2. Check for: logic errors, null-pointer risks, missing error handling, hardcoded secrets, injection vulnerabilities, N+1 queries, and naming inconsistencies.
  3. Group findings by severity: critical, warning, suggestion.
  4. Output a markdown checklist the author can work through.
  5. End with a brief summary verdict: Approve / Request Changes.

Output Format

## Code Review: <filename or PR title>

### Critical
- [ ] ...

### Warnings
- [ ] ...

### Suggestions
- [ ] ...

**Verdict**: Request Changes / Approved

Constraints

  • Do not rewrite the entire file; only point out specific issues.
  • Keep each finding to one sentence plus a fix hint.