mcpField
A
architecture-review

architecture-review

github.com/srstompDevelopment9412 installsUpdated 4w ago
Repository

About architecture-review

architecture-review is a skill for developers reviewing and improving project structure. It emphasizes measuring dependencies and boundaries first, then planning incremental refactoring validated with tests.

Key features

  1. 01Maps directory structure and dependencies
  2. 02Identifies circular dependencies and oversized modules
  3. 03Classifies architecture issues by severity
  4. 04Plans phased refactoring with test validation
  5. 05Provides structural and dependency references

Use cases

  1. 01Assessing an unfamiliar codebase
  2. 02Finding module boundary and dependency problems
  3. 03Planning a gradual restructuring
  4. 04Removing dead code and consolidating modules

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/srstomp/pokayokay --skill architecture-review

After installing, type/architecture-reviewin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
analysis-techniques.md
anti-rationalization.md
cleanup-strategies.md
dependency-management.md
refactoring-patterns.md
structural-patterns.md

Details

From the project README

Architecture Review

Analyze, audit, and improve project structure.

Key Principles

  • Measure before changing — Map structure and identify concrete issues before proposing changes
  • Clear boundaries — Layers (UI, logic, data) separated with consistent dependency direction
  • Colocation — Related code together; easy to find, change, and delete features
  • Incremental migration — Refactor in phases, validate each step with tests

Quick Assessment

  • No circular dependencies
  • Consistent directory naming and grouping (by feature or by type)
  • Single responsibility per file/module, reasonable file sizes (<500 lines)
  • External dependencies isolated, shared code properly extracted
  • New developers can navigate and find code for any feature easily

Quick Start Checklist

  1. Map current structure: directory tree, dependency graph, module boundaries
  2. Identify issues: circular deps, god modules, leaky abstractions, deep nesting
  3. Classify severity: critical (blocks dev), high (maintenance burden), medium/low (friction)
  4. Propose target structure with migration plan
  5. Execute incrementally, validating with tests after each move

References

ReferenceDescription
analysis-techniques.mdDependency graphs, complexity metrics, code analysis
refactoring-patterns.mdSafe refactoring techniques, migration strategies
structural-patterns.mdDirectory structures for different project types
dependency-management.mdCircular deps, coupling, module boundaries
cleanup-strategies.mdDead code removal, consolidation, naming conventions
anti-rationalization.mdIron Law, common rationalizations, red flag STOP list for architecture discipline

Comments

Markdown supported