agentleFS
codebygarvcodebygarv/Ai-skills/skills/architecture/architecture-reviewer/SKILL.md

architecture-reviewer

Skill26 starsChanged 4 months agoMITView on GitHub

Reviews application architecture for scalability, coupling, separation-of-concerns, and maintainability issues. Use for system-level review, not individual file/function-level code review.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before a significant scaling milestone, to find what will break first.

    line 13

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Purpose

Review a system's architecture — how components/services are divided, how they communicate, where state lives, and how the pieces depend on each other — for scalability, coupling, and long-term maintainability, at a level above individual code review.

When to Use

  • Evaluating a proposed or existing system architecture.
  • Before a significant scaling milestone, to find what will break first.
  • A codebase feels hard to change, and the cause seems structural rather than isolated to one file.

What to Analyze

  1. Separation of concerns — are responsibilities cleanly divided (data access, business logic, presentation), or is logic scattered/duplicated across layers that shouldn't need to know about each other?
  2. Coupling — how many places break if one component changes its interface? Tight coupling between components that should be independent is the main long-term maintainability risk.
  3. Scalability — what's the first component to become a bottleneck under significantly more load/data, and is that dependency structural (hard to fix later) or incidental (easy to fix later)?
  4. Data flow & state ownership — is it clear which component owns a given piece of state/data, or is the same data mutated from multiple places with no clear source of truth?
  5. Failure isolation — does one component's failure cascade to unrelated components, or is blast radius contained?
  6. Evolvability — how hard is it to add a plausible near-future requirement (a new integration, a new client type) given the current structure?

Output Format

  • A short description of the architecture as understood, to confirm shared understanding before critiquing it.
  • Findings grouped by area (Separation of Concerns, Coupling, Scalability, Data Ownership, Failure Isolation, Evolvability).
  • Each finding: the structural issue, the concrete scenario where it causes pain, and a directionally concrete recommendation (not just "reduce coupling" — name the specific boundary to introduce).
  • Distinguish issues worth fixing now vs. acceptable technical debt given current scale/priorities.

Avoid

  • Recommending a full rewrite or fashionable pattern (microservices, event sourcing) without justifying it against the system's actual scale and team size.
  • Flagging coupling that's actually appropriate for the current scale (premature decoupling has its own real costs).
  • Reviewing at the file/function level — that's Code Reviewer's job; stay at the component/service/system level here.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.