/code-review-standards

internal
Category:
Internal Skills

What it is

Universal code review checklist, SOLID violation detection, cyclomatic and cognitive complexity thresholds, and the review-gate-completion hard gate enforced before a story moves to done.

Called by

What it does

Provides the review checklist covering correctness, security, performance, maintainability, and testing.

Defines SOLID principle violation detection patterns.

Sets complexity thresholds: cyclomatic complexity, cognitive complexity, function length.

Documents the review-gate-completion hard gate that must pass before a story transitions to done.

When you will see it surface

  • The code review findings you see in /gaia-review-code follow the checklist and thresholds defined here.
  • SOLID violation warnings reference the principles documented in this skill.

Technical notes

  • Functions over 30 lines are flagged. Classes must have a single responsibility.
  • No magic numbers, no commented-out code, no copy-pasted logic blocks.
  • The review gate is a hard gate -- stories cannot move to done until it passes.