architecture-review

Audits codebases against ADRs and module graphs to generate refactor proposals.

181|29|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/iusztinpaul/squid --skill architecture-review-iusztinpaul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-review
Source: https://github.com/iusztinpaul/squid/tree/main/skills/architecture-review
Command: npx skills add https://github.com/iusztinpaul/squid --skill architecture-review-iusztinpaul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Architectural drift and unresolved ADRs accumulate in codebases, leading to wasted context and hard-to-prioritize work.

Core Features & Use Cases

  • Automates an architecture health check by mapping modules, dependencies, layering, and public surface.
  • Produces a prioritized backlog of refactor proposals consumable by /refactor for actionable work.
  • Reads existing ADRs and CLAUDE.md context to ensure proposed changes align with team decisions.

Quick Start

Run an architecture review by saying '/architecture-review' or 'audit the architecture' to begin a scope-aware assessment.

Frequently Asked Questions about architecture-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify architectural debt and unresolved ADRs in my codebase?

To identify architectural debt, audit your codebase against existing ADRs and the current module graph to surface drift and unresolved decisions. This maps modules, dependencies, and layering to generate a prioritized refactor backlog.

How do I audit my software architecture for module dependency violations?

Auditing software architecture for dependency violations involves mapping the current module graph and public surfaces against documented layering rules. This generates a structured findings report with actionable refactor guidance to correct architectural drift.

Do I need existing ADRs to perform an architecture review?

Yes, existing Architecture Decision Records are required in the docs/adr/ directory. The architecture review reads these prior decisions alongside CLAUDE.md context to ensure proposed refactoring changes align with established team decisions.

What is the best way to generate a refactoring backlog from a dependency graph?

The best way to generate a refactoring backlog from a dependency graph is to audit the whole repository or a chosen scope against ADRs. This produces a prioritized, structured findings report of refactor proposals directly consumable by refactoring tools.

Can I target a specific scope instead of the whole repository for an architecture health check?

Yes, you can target a specific chosen scope rather than the whole repository for an architecture health check. The scope-aware assessment maps the targeted modules and dependencies to generate localized refactor proposals.

Why does architectural drift accumulate and how is it surfaced?

Architectural drift accumulates when codebases evolve without resolving ADRs, leading to wasted context. It is surfaced by auditing the codebase, mapping dependencies and layering, and generating a structured findings report with actionable refactor guidance.