code-review-architecture
Installation
SKILL.md
Load dh:dh-cli-usage before using <sam_cli/> or <dh_scripts/>.
Architecture Audit — Module Dependency Graph
Generates a Mermaid module-dependency graph with topology signal colors from import/include
analysis of the project source. Registers the result as a codebase-analysis artifact.
Read Review principles before classifying findings; it defines authority, applicability, evidence, and blocking criteria. Graph shape is evidence for investigation; establish the affected contract and consequence before treating a signal as a defect.
When to Invoke
Invoke when:
- A task explicitly asks for an architecture review, dependency graph, or coupling analysis
- Circular dependencies need to be detected and visualized
- Module-level coupling must be communicated visually to stakeholders
- Running as part of a broader code review that requires structural analysis