review-code

Audit code against specifications and compute a compliance score.

107|15|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/rhuss/cc-superpowers-sdd --skill review-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-code
Source: https://github.com/rhuss/cc-superpowers-sdd/tree/main/skills/review-code
Command: npx skills add https://github.com/rhuss/cc-superpowers-sdd --skill review-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams verify that code implementations align with specifications, reducing manual review time and surfacing deviations with a clear compliance score.

Core Features & Use Cases

  • Compliance matrix: For each spec requirement, locate corresponding implementation and assess alignment.
  • Compliance scoring: Calculate a consolidated score across functional requirements, error cases, and edge cases.
  • Deviation reporting: List all deviations with location, impact, and remediation recommendations.
  • Evolution triggers: Flag deviations for potential spec evolution when necessary.
  • Automated reports: Produce a structured review report to guide verification.

Quick Start

Run code-review against the current implementation to compare with specs/features/your-feature.md and generate a Compliance Report.

Frequently Asked Questions about review-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify that code matches its specification?

Code-spec compliance review audits your implementation against functional requirements, error handling, and edge cases to identify deviations and compute a compliance score. Run the review against your code and specification file to generate a structured compliance report before merging or deployment.

What does a compliance score measure in code review?

A compliance score aggregates alignment across functional requirements, error handling, and non-functional criteria. It quantifies how closely your implementation matches the specification, helping teams identify gaps and prioritize remediation before deployment.

Can I automate code reviews against specification requirements?

Yes. Automated code-spec compliance review compares your implementation against specifications to surface deviations with location, impact, and remediation recommendations, reducing manual review time and ensuring consistent verification across features and modules.

How do I identify what code needs to be changed to meet specs?

The deviation report lists all gaps between implementation and specification with their location in the codebase, impact assessment, and remediation recommendations to guide your fixes.

When should I run code compliance checks in my development workflow?

Run compliance reviews during post-implementation verification before merging or deployment, and when validating existing code against updated specifications across features, components, or modules.

What happens when code deviations suggest the specification needs updating?

The review flags deviations as evolution triggers when they indicate the specification itself should be updated rather than the code, helping teams decide whether to remediate implementation or refine requirements.