RE

review-implementation

Validates code implementation against project requirements and quality gates.

Install

mkdir -p .claude/skills/review-implementation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12459" && unzip -o skill.zip -d .claude/skills/review-implementation && rm skill.zip

Installs to .claude/skills/review-implementation

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Perform a fresh-context review of completed work against PRD, tests, and conventions.
85 chars · catalog descriptionno explicit “when” trigger
Intermediate

Key capabilities

  • Check PRD compliance for implemented work
  • Verify test coverage for new code
  • Review code quality against conventions
  • Perform migration safety checks
  • Conduct security checks for hardcoded secrets and tenant isolation

How it works

The skill conducts a fresh-context review of completed work by checking against PRD requirements, test coverage, code quality standards, migration safety, and security best practices. It uses shell commands to inspect the codebase and run tests.

Inputs & outputs

You give it
Completed code implementation, PRD, and test suite
You get back
Review summary with status, findings, and required actions

When to use review-implementation

  • Validate PR against PRD
  • Check test coverage
  • Perform migration safety check

About this skill

Skill: Review Implementation

Perform a fresh-context review of completed work against PRD, tests, and conventions.

When to Use

  • After implementation is complete, before creating a PR
  • As a quality gate before merging
  • When reviewing someone else's changes

Process

1. Gather Context

# See all changes
git diff main...HEAD --stat
git log main...HEAD --oneline

# Read the PRD (if one exists)
ls PRDs/

2. PRD Compliance Check

  • All requirements from PRD are implemented
  • No scope creep — nothing beyond PRD spec
  • Architecture matches PRD diagrams
  • All phases from implementation plan are complete

3. Test Coverage Check

# Run relevant tests
./bin/run-server-tests
./bin/run-sdk-tests

# Verify test files were added/updated
git diff main...HEAD --name-only | grep -i test
  • Every new mutation/query has a corresponding test
  • Every model change has a migration test
  • Tests use assertResponseNoErrors + assertDictEqual pattern
  • No pytest usage anywhere in new code
  • mock.ANY used for dynamic fields (id, timestamps)
  • Carrier tests follow 4-method pattern (if carrier work)

4. Code Quality Check

Review each changed file for:

  • Uses import karrio.lib as lib (not legacy utilities)
  • Functional style (list comprehensions, map/filter)
  • No bare exceptions, mutable defaults, any types
  • Django: OwnedEntity for tenant-scoped, N+1 prevention
  • GraphQL: utils.Connection[T] for lists, proper decorators
  • No manually edited auto-generated files

5. Migration Safety Check (if applicable)

  • Operations ordered correctly
  • Data migrations preserve existing data
  • No RunSQL — Django operations only
  • Works across SQLite, PostgreSQL, MySQL

6. Security Check

  • No hardcoded secrets
  • Tenant isolation (queries filtered by org)
  • Input validation at boundaries

Output Format

## Review Summary

### Status: PASS / NEEDS CHANGES

### Findings
1. [PASS] PRD compliance — all requirements met
2. [FAIL] Missing test for delete mutation
3. [WARN] Consider using mixin for shared logic

### Required Actions
- Add test for delete mutation

When not to use it

  • Before implementation is complete
  • When a PR is already merged

Limitations

  • Requires a PRD for compliance checks
  • Relies on existing test scripts for coverage verification
  • Assumes specific code quality conventions

How it compares

This skill provides a structured, multi-faceted review process for completed work, ensuring compliance and quality before merging, unlike a simple code review.

Compared to similar skills

review-implementation side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
review-implementation (this skill)05moReviewIntermediate
property-based-testing12moNo flagsAdvanced
netalertx-code-standards12moReviewIntermediate
test01moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry