two-stage-review · v1.0.0 · 2026-01-19 · sha256 840b1152c8fdc52b

two-stage-review v1.0.0A

Immutable. This exact content never changes and is served at /api/v1/blob/840b1152c8fdc52b.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_yoy6qnlo4q3f4ydv/840b1152c8fdc52b134a1b6d497e690363bf62dcf36b754598b54889c1aad0af.json

Then /plugin install two-stage-review@markdownregistry-yoy6qnlo4q3f4ydv in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: two-stage-review
description: This skill should be used after completing development tasks. Performs two-stage code review: Stage 1 verifies specification compliance (prevents scope creep), Stage 2 reviews code quality (ensures maintainability).
version: 1.0.0
---

# Two-Stage Code Review

## Purpose

Ensure code quality through a rigorous two-stage review process that catches both specification violations and maintainability issues.

## Process

### Stage 1: Specification Compliance Review

**Goal**: Prevent over-building and under-building

**Checklist**:
- ✅ All required features implemented (no missing functionality)
- ❌ No unauthorized features added (no scope creep)
- 📋 API design matches architecture document
- 📋 Data model matches specifications
- 📋 User stories fully satisfied

**Outcome**: ✅ Compliant or ❌ Non-compliant with specific issues

### Stage 2: Code Quality Review

**Goal**: Ensure maintainability and clarity

**Checklist**:
- 📐 Clear variable naming
- 📐 Single responsibility functions
- 🔧 No code duplication
- 🔧 Modular design
- 🧪 Adequate test coverage
- ⚡ No obvious performance issues
- 🛡️ Input validation
- 🛡️ Error handling

**Outcome**: ✅ Approved or ❌ Needs improvement with specific issues

## Review Loop

```
Implementation → Stage 1 Review → ❌ Fix spec issues → Repeat Stage 1
                                → ✅ Pass → Stage 2 Review → ❌ Fix quality issues → Repeat Stage 2
                                                              → ✅ Pass → Complete
```

## Usage

This skill is automatically invoked by the CEO workflow during Phase 4 (Development) after each subtask completion.