review-spec

review-spec

Review a spec document against codebase reality, identifying gaps and ensuring sound, robust implementations.

0stars
0forks
Updated 1/22/2026
SKILL.md
readonlyread-only
name
review-spec
description

Review a spec document against codebase reality, identifying gaps and ensuring sound, robust implementations.

Review the given spec document by analyzing both the spec AND the referenced codebase.

Process

  1. Read the spec - Understand goals, phases, and proposed changes
  2. Explore the codebase - Read files and code mentioned in the spec
  3. Analyze patterns - Identify existing patterns, conventions, and architecture
  4. Validate the plan - Ensure proposals align with codebase reality
  5. Identify issues - Find gaps, risks, and improvement opportunities

Review Dimensions

Evaluate across these areas (focus on what's relevant):

  • Architecture: Component boundaries, data flow, API contracts, separation of concerns
  • Feasibility: Implementation complexity, technology trade-offs, effort estimation
  • Reliability: Error handling, retries, idempotency, graceful degradation
  • Performance: Bottlenecks, caching, query patterns, scaling approach
  • Security: Auth, data protection, input validation, audit logging
  • Edge Cases: Null handling, limits, timeouts, race conditions, partial failures
  • Testing: Testability, integration strategy, rollback considerations

Output Format

For each finding:

### [Finding Title]

**Category**: Architecture | Feasibility | Reliability | Performance | Security | Edge Case | Testing
**Severity**: Critical | High | Medium | Low
**Section**: [Spec section or phase]

**Issue**: [Clear problem description]
**Recommendation**: [Specific, actionable change]
**Rationale**: [Technical justification]

Guidelines

  • Verify against code - Don't trust the spec blindly; check actual implementations
  • Follow existing patterns - Recommendations should align with codebase conventions
  • Be specific - Reference exact files, functions, and line numbers
  • Prioritize - Order findings by severity and impact
  • Challenge assumptions - Question decisions that lack justification

You Might Also Like

Related Skills

fix

fix

243Kdev-testing

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

facebook avatarfacebook
Get
peekaboo

peekaboo

179Kdev-testing

Capture and automate macOS UI with the Peekaboo CLI.

openclaw avataropenclaw
Get
frontend-testing

frontend-testing

128Kdev-testing

Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.

langgenius avatarlanggenius
Get
frontend-code-review

frontend-code-review

127Kdev-testing

Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.

langgenius avatarlanggenius
Get
code-reviewer

code-reviewer

92Kdev-testing

Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.

google-gemini avatargoogle-gemini
Get
session-logs

session-logs

90Kdev-testing

Search and analyze your own session logs (older/parent conversations) using jq.

moltbot avatarmoltbot
Get