Skip to content
Back to skills

Code Review

ASecurity

`analysis-agent`/`task-agent`/`review-agent`: use when code needs correctness, security, performance, maintainability, or hallucinated-API review; skip when no review is needed.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
code-qualitycode-reviewapisecurityperformance

Works with

  • api

Security analysis

A100/100

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

Scanned September 22, 2026

npx -y skills add machenjie/rd-skills --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/machenjie-code-review/badge)](https://www.skillsdirectory.com/skills/machenjie-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: "`analysis-agent`/`task-agent`/`review-agent`: use when code needs correctness, security, performance, maintainability, or hallucinated-API review; skip when no review is needed."
---

# code-review

## Registry Trigger

**Use when**

- review code for defects regressions contracts security performance maintainability readability structure quality side effect pollution weak signatures change locality cleanup debt

**Do not use when**

- no task-local code review decision is required

## Skill Role

Inspect a bounded latest diff for consequential correctness, contract, security,
reliability, evidence, and maintainability defects. Exclude mutation, rerouting,
and release authority.

## High-Value Rules

- Resolve the Current Task Boundary, latest diff, changed files, and reachable consumers before judging lines.
- Trace consequential input, authority, mutation, effect, failure, cleanup, and output paths.
- Verify source APIs and assumptions.
- Match evidence to the failure mechanism and classify `current-task`, `scope-blocker`, or `adjacent` before severity.
- Preserve Brief authority and separate actionable defects from optional improvement.

## Anti-Patterns

- Local success substituted for evidence of the code review contract.

## Stop Conditions

Stop when the requested review lacks its bounded surface, required authority, consequential semantics, or supporting evidence. For a concrete unresolved security, privacy, money, destructive-data, compatibility, concurrency, or production question, return the specialist need to Main; the risk label alone is not a stop condition.

## Output Contract

- bounded review with inspected surface, contract and path evidence, actionable findings, consequence-based severity, proof limits, and non-blocking improvements

## Targeted References

| Path | Type | Load when | Do not load when | Required by | Required output |
|---|---|---|---|---|---|
| [checklist](references/checklist.md) | decision-checklist | Review spans contracts, security, resources, tests, or rollback risks | The final diff changes no material behavior | review-agent, analysis-agent, task-agent | checklist-result, residual-risk |
| [evidence patterns](references/evidence-patterns.md) | evidence-pattern | Approval depends on fresh diff, validation, and finding traceability | No review verdict or non-finding claim is being issued | review-agent, analysis-agent, task-agent | evidence-record, proof-limit, residual-risk |
| [finding taxonomy](references/finding-taxonomy.md) | targeted | Borderline findings require severity calibration or industry taxonomy | Ordinary findings already have clear impact and severity | review-agent, analysis-agent, task-agent | gate-decision, residual-risk |

Files in this skill

  • SKILL.md4.2 KB
  • examples/example-output.md720 B
  • references/checklist.md761 B
  • references/evidence-patterns.md3.5 KB
  • references/finding-taxonomy.md6.2 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.

Comments

Loading comments…