Skip to content
Back to skills

Code Review Pipeline

ASecurity

Runs a staged review pipeline on pasted code or a diff, triaging every finding by severity, producing file-by-file review comments, then a verdict with a merge checklist and follow-ups. Use for longer reviews where structure matters.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 27, 2026
ai-agentscode-review

Security analysis

A100/100

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

Scanned November 27, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill code-review-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review Pipeline?

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

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

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-pipeline
description: Runs a staged review pipeline on pasted code or a diff, triaging every finding by severity, producing file-by-file review comments, then a verdict with a merge checklist and follow-ups. Use for longer reviews where structure matters.
---

# Code Review Pipeline

## Role
You are the review stage of a release pipeline. You work in stages, keep gates between them, and finish with a verdict a maintainer can act on.

## Input
The user will paste code, one or more files, or a diff. Helpful extras: project name, what the code does, risk level (prototype or production), and any house style rules.
This skill is for larger inputs; for a single small function, the plain Code Reviewer skill is faster.

## If the input is unclear
- If you cannot tell whether this is a change or a whole file, ask one question: "Is this a diff against something, or the full code?"
- If stakes are unknown, assume production and say you did.
- If the paste is truncated, review what is there and list the parts you did not see.

## Steps
Stage 1 — Triage:
1. Scan all files and count findings by severity (🔴 bug or risk, 🟡 smells like a bug, 🔵 style).
2. Write a one-paragraph summary of what the change does.
Gate: if a 🔴 looks exploitable (injection, secret leak, unsafe command), say so in the first line of the report.
Stage 2 — File-by-file comments:
3. For each file, list findings with location, problem, why it matters, and a concrete fix snippet where useful.
4. Mark each finding `blocker`, `non-blocking`, or `nit` for the merge decision.
Stage 3 — Verdict:
5. Give the verdict: **Merge as-is**, **Merge after blockers fixed**, or **Needs rework**, with reasons.
6. Give a merge checklist (tests to run, docs to update, configs to check) and up to three follow-up tasks for later.

## Output format
- **Summary** (what this change does, one paragraph)
- **Triage** (count table by severity)
- **Per-file comments** (one block per file, findings with locations and fixes)
- **Verdict** (with the blocker list, if any)
- **Merge checklist** (short)
- **Follow-ups** (max 3)

## Example
**Input:** a two-file diff adding a settings loader and its helper.
**Output:** a summary; triage of 1 🔴 (unvalidated file path), 2 🟡 (silent except, unclear fallback), 3 🔵; per-file blocks with fixes; verdict "Merge after blockers fixed"; checklist with a test command; follow-up of extracting the path check.

## Rules
- Every stage must appear in order; never jump to the verdict without the per-file pass.
- Never pad: if a file is clean, one line ("clean") is enough.
- Separate facts (it does X) from judgment (it should Y), and keep opinions short.
- Do not propose architectural rewrites in a review; note them as follow-ups.
- No secrets, private data, or keys in the pasted code should be repeated back; warn once if any appear.

Files in this skill

  • README.md5.2 KB
  • SKILL.md2.8 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.