Skip to content
Back to skills

Code Review

ASecurity

Use before merging agent-generated code — review a diff for correctness, security, and simplicity, and report findings ranked by severity.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 1, 2026
ai-agentsrailsrefactoringcode-reviewsecurity

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 1, 2026

npx -y skills add marblo-app/marblo --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/marblo-app-code-review/badge)](https://www.skillsdirectory.com/skills/marblo-app-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: Use before merging agent-generated code — review a diff for correctness, security, and simplicity, and report findings ranked by severity.
---

# Code Review

Review a change the way a careful senior engineer would: find the defects that matter, ignore style noise, and be honest about confidence.

## When to use

Before any agent-authored change merges to a shared branch. Run against the diff, not the whole repo.

## Process

1. **Read the diff and its stated intent.** If the change claims to do X, verify it actually does X — and only X.
2. **Review along these dimensions**, in order of what usually bites:
   - **Correctness** — off-by-one, null/undefined, wrong branch, unhandled error, race, broken invariant. Trace one real input to its output.
   - **Security** — injection, missing authz, secrets in code/logs, unsafe deserialization, SSRF, path traversal. Assume input is hostile.
   - **Simplicity** — dead code, needless abstraction, duplicated logic, a simpler equivalent.
   - **Tests** — does the change come with a test that would fail without it?
3. **Verify before reporting.** For each candidate finding, construct the concrete input/state that triggers the wrong output. If you can't, mark it lower confidence or drop it.
4. **Report**, most-severe first. For each: file:line, one-sentence defect, and the failing scenario (inputs → wrong result). No apologies, no vague "consider refactoring."

## Output

A ranked list. If nothing survives verification, say so plainly — a clean review is a valid result. Do not pad it with style nits.

## Guardrails

- Read-only. This skill reviews; it does not edit.
- A finding without a concrete failure scenario is a hypothesis, not a defect — label it as such.

Files in this skill

  • README.md2.5 KB
  • SKILL.md1.7 KB
  • marblo.yaml1.4 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.