skills/team/automated-code-review/SKILL.md
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.
npx skillsauth add michaelalber/ai-toolkit automated-code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
"Inspection at the source is called prevention. Inspection after the fact is called sorting." -- W. Edwards Deming
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 code-review-coach and
security-review-trainer. It provides the operational framework: checklists, gates, convention
detection, and structured output that turn review knowledge into consistent execution.
Non-Negotiable Constraints:
Full principle table, knowledge-base grounding, detailed phase gates, the finding pipeline, and the
minimum checklists live in references/conventions.md.
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.
<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>
references/output-templates.md.references/review-checklist-engine.md.references/code-smells.md.references/convention-detection.md.references/conventions.md.| Skill | Relationship |
|-------|-------------|
| code-review-coach | Provides the review rubric, scoring methodology, and category definitions this skill operationalizes. Coach teaches what to look for; this skill ensures nothing is skipped. |
| security-review-trainer | Provides deep security patterns and OWASP mapping. The security checklist here is a minimum; the trainer expands it with level-appropriate subtlety. |
| pr-feedback-writer | Shapes how findings are communicated. After this skill produces findings, pr-feedback-writer frames them as constructive, actionable PR comments. |
development
Interviews the user relentlessly about a plan, decision, or idea — one question at a time, each with a recommended answer. Shared engine behind "grill-me" and "grill-with-docs". Use on any "grill" trigger phrase or to stress-test thinking. Do NOT use to build the plan; it ends at shared understanding, not implementation.
testing
Runs a relentless interview to sharpen a plan or design, capturing the decisions as ADRs and a glossary along the way. Use when the user wants to be grilled AND wants the session to leave durable domain documentation behind. Do NOT use for a throwaway stress-test with no artifacts; use grill-me instead.
tools
OWASP-based security review of Vue/TypeScript front-ends. Detects framework (Vite/Vue CLI/Nuxt), entry points, and data flows; scans the OWASP Top 10 (2025) mapped to Vue client-side risks (raw-HTML XSS via v-html, URL/protocol injection, bundled secrets, insecure token storage, dependency CVEs, missing CSP, open redirects, router guard bypass); emits an exec summary plus graded findings. Use to audit Vue for vulnerabilities. Not for architecture grading (vue-architecture-checklist).
tools
Analyzes legacy Vue codebases and produces actionable modernization plans. Primary migration paths include Options API to Composition API, Vue 2 to Vue 3, Vue CLI to Vite, JavaScript to TypeScript, Vue Test Utils/Karma/Mocha to Vitest + Vue Testing Library, legacy Vuex to Pinia, and removed-in-Vue-3 pattern cleanup (filters, event bus, `$listeners`). Does NOT perform the migration — assesses, quantifies risk, and plans.