architecture-review

Detect shallow, leaky, and tightly coupled modules and propose seam-focused refactoring designs.

Updated May 19, 2026
One-click install
npx skills add https://github.com/Emrebener/Sublime-Skills --skill architecture-review-emrebener
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-review
Source: https://github.com/Emrebener/Sublime-Skills/tree/main/skills/engineering/architecture-review
Command: npx skills add https://github.com/Emrebener/Sublime-Skills --skill architecture-review-emrebener

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you diagnose architectural friction in a codebase by identifying shallow, leaky, tightly coupled modules and turning them into deeper, seam-driven designs that are easier to test and navigate.

Core Features & Use Cases

  • Deletion-test guided refactoring candidates: spots pass-through modules versus those that genuinely earn their keep by evaluating what happens when you inline a module’s behavior into its callers.
  • Design-only architectural proposals: produces a settled refactoring design without editing code or migrating callers.
  • Seams, leverage, and locality analysis: frames suggestions around interfaces, the seams where behavior can be swapped, and where responsibility and change should concentrate.
  • Optional project-context alignment: consults available glossary, ADRs, and architecture overview files to reduce vocabulary drift and avoid contradicting prior decisions when they exist.

Quick Start

Ask the agent to run an architecture review of your repository and propose 3–7 concrete deepening refactoring candidates without implementing changes.

Frequently Asked Questions about architecture-review

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

FAQPage Schema
How do I refactor tangled code into a testable design?

To refactor tangled code into a testable design, you diagnose architectural friction by identifying shallow, leaky, and tightly coupled modules, then propose deepening refactors through seam-focused design. This yields a settled interface and rationale without editing code.

What is the deletion test in architecture review?

The deletion test in architecture review evaluates refactoring candidates by measuring what happens when you inline a module's behavior into its callers. It spots pass-through modules versus those that genuinely earn their keep by evaluating deletion impact.

How do I find architectural friction in shallow or tightly coupled modules?

You find architectural friction in shallow or tightly coupled modules by analyzing seams, leverage, and locality. This frames suggestions around interfaces where behavior can be swapped and identifies where responsibility and change should concentrate.

Can I use architecture review to plan refactoring without modifying existing code?

Yes, you can use architecture review to plan refactoring without modifying code. It produces design-only architectural proposals, delivering a settled refactoring design and rationale without editing code or migrating callers.

Does architecture review align with existing project ADRs and glossary files?

Yes, architecture review aligns with existing project ADRs and glossary files. It consults available domain context like architecture overviews and principles to reduce vocabulary drift and avoid contradicting prior decisions.

When should I use a seam-focused design for module deepening?

You should use a seam-focused design for module deepening when a codebase feels tangled, hard to test, hard to navigate, or when module structure and responsibilities feel unclear. It produces concrete deepening refactoring candidates through interface analysis.