Skip to content
Back to skills

Code Review And Quality

ASecurity

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
code-qualityrustcode-reviewsecurityperformance

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add v1truv1us/ai-eng-system --skill code-review-and-quality --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review And Quality?

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

Security grade badge for Code Review And Quality
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/v1truv1us-code-review-and-quality-0bc90d75/badge)](https://www.skillsdirectory.com/skills/v1truv1us-code-review-and-quality-0bc90d75)

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-and-quality
description: Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human.
---

# Code Review and Quality

Adapted from `addyosmani/agent-skills` (MIT), commit `82ceff41ed4d3c644e3dcca8a0514390b2911223`.

## Overview

Review changes across five axes: correctness, readability, architecture, security, and performance. The standard is not perfection; it is whether the change clearly improves the codebase without introducing avoidable risk.

## When to Use

- Before merging any change
- After completing a feature, bug fix, or refactor
- When reviewing code produced by another agent or automation
- When validating whether tests and verification are actually sufficient

## The Five-Axis Review

### 1. Correctness

- Does the change do what the task or spec requires?
- Are happy paths, edge cases, and error paths handled?
- Do tests cover the real behavior change?

### 2. Readability and Simplicity

- Are names clear and consistent with the codebase?
- Is control flow easy to follow?
- Are there any clever shortcuts that should become straightforward code?

### 3. Architecture

- Does the change follow existing patterns?
- Are boundaries between modules still clean?
- Is the abstraction level appropriate for the current need?

### 4. Security

- Is untrusted input validated at boundaries?
- Are secrets kept out of code and logs?
- Are auth, permissions, and external data flows handled safely?

### 5. Performance

- Any N+1 access patterns, repeated expensive work, or unbounded operations?
- Any missing pagination, batching, caching, or async boundaries?

## Review Process

### Step 1: Understand Intent

Before commenting on the code, identify:

- What changed
- Why it changed
- What proof should exist that it works

### Step 2: Review Tests First

Tests reveal intent faster than implementation details.

- Are there regression tests for bug fixes?
- Do tests verify behavior rather than private implementation?
- Would the tests fail if the bug returned?

### Step 3: Review the Implementation

Inspect each changed file with the five axes in mind. Prefer concrete findings over style preferences.

### Step 4: Label Findings Clearly

Use explicit severity so the author knows what blocks merge.

- `Critical:` security issue, broken behavior, or data loss risk
- Required: must change before merge
- `Optional:` worthwhile but not blocking
- `Nit:` cosmetic or style-only
- `FYI:` context only

### Step 5: Verify the Verification Story

Check what was actually run:

- targeted tests
- full relevant suite
- build and typecheck
- manual verification for UI or operational changes

## Review Output Template

```markdown
## Findings

- Critical: ...
- Required: ...
- Optional: ...

## Verification

- Tests: ...
- Build: ...
- Manual: ...
```

## Common Rationalizations

| Rationalization | Reality |
|---|---|
| "The tests pass, so it is fine" | Tests are necessary, not sufficient. They do not prove architecture, readability, or security are sound. |
| "AI-generated code is probably okay" | AI code needs more scrutiny, not less. It is often plausible and confidently wrong. |
| "We can clean it up later" | Deferred cleanup usually does not happen. |

## Red Flags

- No regression test for a bug fix
- Large change with no explanation or verification summary
- Review feedback that never labels severity
- Security-sensitive changes reviewed only for style
- Large diffs that should have been split

## Verification

- [ ] Critical issues resolved
- [ ] Required issues resolved or explicitly deferred with justification
- [ ] Relevant tests pass
- [ ] Build succeeds
- [ ] Review summary documents what was checked

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…