Skip to content
Back to skills

Automated Code Review

ASecurity

Systematic review execution engine -- transforms structured human review coaching patterns into autonomous review checklists with pass/fail gates, convention detection, and structured finding production. Use when running autonomous code reviews to ensure systematic coverage and consistent quality.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentspythonrustgophpreactvuetestingcode-reviewsecurity

Security analysis

A100/100

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

Scanned November 14, 2026

npx -y skills add michaelalber/ai-toolkit --skill automated-code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Automated Code Review?

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

Security grade badge for Automated Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/michaelalber-automated-code-review/badge)](https://www.skillsdirectory.com/skills/michaelalber-automated-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: automated-code-review
audience: team
description: Systematic review execution engine -- transforms structured human review coaching patterns into autonomous review checklists with pass/fail gates, convention detection, and structured finding production. Use when running autonomous code reviews to ensure systematic coverage and consistent quality.
---

# Automated Code Review

> "Inspection at the source is called prevention. Inspection after the fact is called sorting."
> -- W. Edwards Deming

## Core Philosophy

Code review coaching teaches humans how to review; automated code review teaches agents how to
execute reviews systematically — the difference between a textbook and a manufacturing process.
This skill converts the CACR (Challenge-Attempt-Compare-Reflect) coaching framework into an
execution framework: systematic checklists with explicit pass/fail gates that prevent superficial
reviews, and convention detection that calibrates findings to the project's own standards rather
than abstract ideals. A coaching skill teaches a human to ask "did I check error handling?"; this
skill tells the agent exactly HOW — enumerate every fallible call, verify each has an error path,
verify the path handles rather than swallows, verify the message carries diagnostic context.

It does NOT teach review principles — it assumes those from the reviewer and the matching
`<lang>-security-review` skill. It provides the operational framework: checklists, gates, convention
detection, and structured output that turn review knowledge into consistent execution.

**Non-Negotiable Constraints:**
1. SYSTEMATIC COVERAGE — every category is checked against a concrete checklist; the checklist is the floor, never skipped.
2. CONVENTION CALIBRATION — detect the project's conventions before reporting any style finding; external-standard findings on a differing project are false positives.
3. PASS/FAIL GATING — each phase has explicit exit gates; a phase cannot advance until its gate passes.
4. EVIDENCE PER FINDING — every finding carries line numbers + snippet; severity reflects impact in the project's actual context.
5. FALSE-POSITIVE PREVENTION — verify against framework, middleware, and surrounding code before reporting; ambiguous findings are flagged "needs verification."

Full principle table, knowledge-base grounding, detailed phase gates, the finding pipeline, and the
minimum checklists live in `references/conventions.md`.

## Workflow

```
SCAN        Define scope; enumerate files with languages; detect project conventions (procedures in
            references/convention-detection.md). GATE: scope defined, conventions detected, ≥3 files sampled.

ANALYZE     Read each file completely. Run all five category checklists per file (floor in
            conventions.md; detail in review-checklist-engine.md). The maintainability category
            uses the Fowler code smell catalog (references/code-smells.md) as its canonical
            checklist, with the "repo overrides" suppression rule. Record findings via the finding
            pipeline. GATE: every file analyzed, every category checked, every finding has evidence +
            severity + false-positive check.

SYNTHESIZE  De-duplicate, cross-reference, rank by severity, group into themes. GATE: consolidated
            list false-positive reviewed.

REPORT      Produce structured output (templates in references/output-templates.md). GATE: every
            finding has evidence/category/severity/fix; ordered critical-first; positives + stats included.
```

**Exit criteria:** all five categories evaluated for every in-scope file against detected
conventions; every finding evidenced and severity-justified; false positives filtered; structured
report produced with positive observations and statistics.

## State Block

```
<automated-review-state>
phase: SCAN | ANALYZE | SYNTHESIZE | REPORT | COMPLETE
scope: [diff | files | directory | PR]
conventions_detected: true | false
files_total: [N]
files_analyzed: [N]
findings: [count by severity — C/H/M/L/Nit]
false_positives_filtered: [N]
last_action: [description]
next_action: [description]
</automated-review-state>
```

## Output Template

- **Per-file analysis log, consolidated report, review statistics** — `references/output-templates.md`.
- **Detailed per-category checklists, pass/fail criteria, language extensions** — `references/review-checklist-engine.md`.
- **Fowler code smell catalog (the maintainability-category checklist) + repo-overrides rule** — `references/code-smells.md`.
- **Convention detection procedures (naming, error handling, logging, testing)** — `references/convention-detection.md`.
- **Principle table, KB lookups, full phase gates, finding pipeline, minimum checklists** — `references/conventions.md`.

## Integration with Other Skills

| Skill | Relationship |
|-------|-------------|
| `dotnet-security-review` | Deep, stack-specific OWASP patterns (also `python-`, `php-`, `rust-`, `react-`, `vue-security-review` for those stacks). The security checklist here is a minimum; the language review expands it. |
| `pr-feedback-writer` | Shapes how findings are communicated. After this skill produces findings, pr-feedback-writer frames them as constructive, actionable PR comments. |

Files in this skill

  • SKILL.md5.2 KB
  • references/code-smells.md4.9 KB
  • references/convention-detection.md11.4 KB
  • references/conventions.md7.6 KB
  • references/output-templates.md1.6 KB
  • references/review-checklist-engine.md16 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.