ai-generated-code-review
Installation
SKILL.md
AI-Generated Code Review
Review production code and change evidence produced with AI or an Agent. Focus on whether the implementation meets intent, the change stays in scope, dependencies and APIs have evidence, and tests and CI retain real failure signals. Generation provenance changes evidence needs; it does not prove a defect by itself.
When to Use
- Reviewing production code, patches, branches, or PRs authored with an AI coding assistant or autonomous Agent.
- Checking whether generated code meets requirements, relies on invented packages/APIs, or hides errors behind silent fallbacks.
- Reviewing Agent tool traces, code provenance, test edits, CI configuration, or untrusted-input boundaries.
AI-generated tests belong to ai-generated-test-review; general implementation defects remain within code review; this Skill does not replace a complete PR quality workflow or a Human merge decision.
Workflow
- Read
prompts/ai-generated-code-review.mdand confirm code identity, reviewable changes, and review scope. - Map intent and acceptance criteria to the baseline and diff; use only supplied or accessible repository evidence.
- Load relevant checks from
references/; when a generation trace exists, compare event IDs, tool inputs/outputs, and changes step by step. - Separate code findings, provenance claims, static judgments, test execution, and CI evidence. Rank risks and provide reviewable locations and minimal repairs.
- With missing input, return a bounded first pass or a blocked result and list the exact material needed to continue.