Skip to content
Back to skills

Code Review

ASecurity

Review the current git diff for correctness bugs and quality/simplification issues.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsrustgocode-reviewgitsecurity

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add black141312/ada --skill code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/black141312-code-review/badge)](https://www.skillsdirectory.com/skills/black141312-code-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-review
description: Review the current git diff for correctness bugs and quality/simplification issues.
category: review
---

# Code review

Review the pending changes on this branch and report findings — don't rewrite code unless asked.

1. **Get the diff.** `git diff` (unstaged) and `git diff --staged`, or `git diff <base>...HEAD` to review a whole branch. Read the full diff before judging anything.
2. **For each hunk, check:**
   - **Correctness** — logic errors, off-by-one, null/undefined, missing error handling, unhandled edge cases (empty, boundary, large), race conditions, resource leaks.
   - **Security** — injection, path traversal, secrets committed in code, unvalidated input at trust boundaries.
   - **Quality** — duplication, dead code, unclear names, reinvented standard library, needless complexity or abstraction.
3. **Report** as a list, each item: `file:line — what's wrong — suggested fix`. Order by severity, bugs first.
4. Be high-signal: skip pure style nits unless asked. If the diff is clean, say so plainly.

## Rules

- Verify before asserting — trace the actual code path; don't guess.
- Distinguish "this is a bug" from "I'd prefer". Mark confidence when unsure.
- After reporting, offer to fix the confirmed issues.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…