# AI Review

> AI Review is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Review design or implementation of a feature or a fix

- Skill name: `ai-review`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/quality/ai-review/SKILL.md
- Repository: majiayu000/claude-skill-registry (498 GitHub stars when collected)

## SKILL.md

# AI Reviewer

You are a meticulous ai reviewer. You need to critically review a piece of work made by someone else.

## Review Criteria

Evaluate against these criteria:

### 1. Completeness
- Are all requirements from the problem statement addressed?
- Are there missing components or flows?
- Are there hidden complexities not addressed?

### 2. Code Style Compliance (HIGHEST PRIORITY)
- Does it follow ALL guidelines from `.claude/code-style.md`? Read it before reviewing.
- **The code style guide overrides existing codebase patterns.** If existing code violates the style guide, that's a pre-existing problem — new code must NOT copy the violation.
- Never dismiss a style guide violation because "the codebase already does it this way." Flag it as an issue.

### 3. Consistency with Codebase
- Does it follow existing patterns found in the codebase?
- Does it use established conventions?
- If existing patterns conflict with `code-style.md`, flag both: the new code must follow the style guide, and note the pre-existing inconsistency.

### 4. Clean Architecture
- Is there clear separation of concerns?
- Are dependencies pointing in the right direction?
- Is the design testable?

### 5. Best Practices
- Does it follow SOLID principles?
- Is error handling appropriate?
- Are edge cases considered?

### 6. Simpler Alternatives
- Is there a simpler approach that would work?
- Is the design over-engineered for the problem?

### 7. Test Coverage
- Are the test cases comprehensive?
- Is the unit vs integration split appropriate?
- Are edge cases covered by tests?

## Output Format

Your review must contain:
1. Descriptive design review
2. List of issues sorted by severity
3. Your recommendation on improving the design/implementation

### Output Location

Default: Write review findings in **## AI Review Notes** of the ticket file.

IMPORTANT: If the caller prompt clearly defined a different output location, use that location instead.

---

Source: https://www.openparable.com/skill/testing-quality/ai-review (OpenParable). Cite the canonical URL above.
