From gdd
Review implemented code for diagram alignment and code quality — returns APPROVED, APPROVED_WITH_WARNINGS, or NEEDS_WORK
npx claudepluginhub vivaxy/claude-code-plugins-vivaxy --plugin cadenceThis skill is limited to using the following tools:
<SUBAGENT-STOP>
Retrieves texts, DMs, one-time codes, and inspects threads in ECC workflows. Provides evidence of exact sources checked for verification before replies.
Delivers expertise for HS tariff classification, customs documentation, duty optimization, restricted party screening, and trade compliance across jurisdictions.
Process documents with Nutrient API: convert formats (PDF, DOCX, XLSX, images), OCR scans (100+ languages), extract text/tables, redact PII, sign, fill forms.
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