From gdd
Review implemented code for diagram alignment and code quality — returns APPROVED, APPROVED_WITH_WARNINGS, or NEEDS_WORK
How this skill is triggered — by the user, by Claude, or both
Slash command
/gdd:code-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<SUBAGENT-STOP>
docs/gdd/ (excluding drafts/)$ARGUMENTSdocs/gdd/drafts/draft-deviation-*.mdFor each flow diagram, trace through every node and verify the code:
For each architecture diagram:
Deviation categories:
[DEVIATION: MISSING] — Diagram shows X, code does not implement X[DEVIATION: EXTRA] — Code implements X, diagram does not show X[DEVIATION: WRONG_ORDER] — Code does A then B, diagram shows B then A[DEVIATION: WRONG_BOUNDARY] — Code puts X in Module A, diagram puts X in Module B[DEVIATION: MISSING_ERROR_PATH] — Diagram shows error path, code has no error handling[DEVIATION: ALREADY_RECORDED] — This deviation exists in a draft-deviation file (just note it)[DEVIATION: MISSING_TEST] — Diagram shows a decision point, no test covers it ([CRITICAL])For each deviation, include:
[CRITICAL] (wrong behavior), [WARNING] (risky shortcut), [INFO] (minor drift)TDD Compliance:
<DiagramFile> → <NodeLabel>: <scenario> pattern?TDD issue severity:
[CRITICAL] — A diagram decision node has no test at all[WARNING] — Tests exist but naming does not tie to diagram nodes (untraceability)[SUGGESTION] — Minor test quality issueCorrectness:
Simplicity:
Maintainability:
Consistency:
Quality issue severity:
[CRITICAL] — Will likely cause bugs in production[WARNING] — Technical debt that will cause problems as the codebase grows[SUGGESTION] — Minor improvement, take it or leave itAPPROVED — No critical issues in either dimension
APPROVED_WITH_WARNINGS — No critical issues, but has warnings worth addressing
NEEDS_WORK — At least one [CRITICAL] issue; main agent must fix before proceeding
GDD Code Review Report
======================
Files reviewed: <list of code files>
Diagrams compared: <list of diagram files>
Verdict: <APPROVED | APPROVED_WITH_WARNINGS | NEEDS_WORK>
Diagram Alignment:
<list all deviations>
Code Quality:
<list all quality issues>
Summary: N critical, N warnings, N suggestions
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub vivaxy/claude-code-plugins-vivaxy