architecture-audit
/architecture-audit
Audit a TypeScript codebase against an opinionated architectural baseline organised in four layers — module boundaries, coupling and complexity, state and data flow, convention adherence — preceded by a diagnostic snapshot that describes the codebase's actual shape. Uses the Graphify knowledge graph as the primary data source. Then offers to generate an implementation plan for the gaps. The audit is fully static and read-only.
The default mental model is TypeScript and React. Most checks apply to any TypeScript codebase; the state and data flow layer leans React-specific because that is where the most consequential architectural pain in modern frontend work actually lives.
Hard requirement: the Graphify knowledge graph
This is the one audit that requires graphify-out/graph.json. Half the checks (god-node detection, community comparison, circular-dependency detection, fan-in and fan-out analysis) are unimplementable without it. If the graph is missing, the skill stops immediately with this message:
/architecture-auditrequires the Graphify knowledge graph. Please run/pre-audit-setupfirst, then re-run this audit.
There is no graceful degradation. A misleading half-audit is worse than no audit.