architecture-review
Skill8 starsChanged 4 months agoMITView on GitHub
Method for assessing a codebase's structure — duplication, single-responsibility violations, layering problems, and coupling — and recommending minimal, incremental improvements. Use when asked to review architecture, assess structure or technical debt, evaluate module boundaries, or plan a refactor. Reviews the system, not a single change: for reviewing one diff or branch use the code-quality-review skill.
52 other projects use a version of this.
Adopted by
Most recently taken up by
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- microsoft/hve-coretheir own version, first seen Sep 29, 2026
- smitshivalkar-spectims4567/hsj-agent-skillstheir own version, first seen Sep 29, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Sep 29, 2026
- pradeepvonti-web/agentops-incident-hubtheir own version, first seen Sep 28, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
Used with
Projects with it also use asset-spec, create-control-manifest and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
cenconq25Skillasset-spec
Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.
Also in 5 projects that use this
cenconq25Skillcreate-control-manifest
Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.
Also in 5 projects that use this
- +10 more from cenconq25
Other versions52 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 52
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/hve-core★ 1.5ksame name
- decebals/claude-code-java★ 747same name
- getsentry/warden★ 412same name
- owainlewis/blueprint★ 410same name
- proflead/codex-skills-library★ 153same name
- extra-org/extra★ 113same name
- thiientv/godmode★ 96same name
- striderZA/OpenCodeGameStudios★ 90same name
- codenamev/ai-software-architect★ 78same name
42 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bug-fixSkill
- code-quality-reviewSkill
- debuggingSkill
- infra-designSkill
- security-auditSkill
- terraform-reviewSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 46 edited versions we read keep these.
4
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
- Distinctive: line 23
Find where change hurts: Ask of recent or likely changes: how many places must be touched?
- Distinctive: line 32
Do not flag incidental similarity between things that change for different reasons.
- Distinctive: line 51
Every proposed step must leave the system working — no recommendation may require a big-bang migration.
- Distinctive: line 52
If the architecture is sound, say so.
“Common” is measured: kept by at least 6 in 10 of the 46 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.
Files
Architecture Review
Judge structure by how safely the system can change, not by resemblance to a textbook pattern. Recommend the smallest set of moves that improves changeability; never propose a rewrite when an incremental path exists.
Scope
Reviews the system — modules, layers, and dependencies across the codebase.
Use for structural assessment: technical debt, module boundaries, coupling, duplication across modules, planning a refactor.
Do not use for:
- Reviewing a single diff or file for quality — use
code-quality-review. The same concerns (DRY, single responsibility) appear in both; the difference is altitude. Within one change, they are that skill's; across modules, they are this one's. - Implementing the refactor. This skill produces recommendations; carrying them out is ordinary work under
CLAUDE.md.
Method
- Map before judging. Identify the modules/layers, what depends on what, and where the domain logic actually lives. Use the dependency direction the code has, not the one the docs claim.
- Find where change hurts. Ask of recent or likely changes: how many places must be touched? Files that always change together but live far apart, or single files that change for unrelated reasons, mark the real problems.
- Diagnose against the checklist below.
- Recommend minimally. Each recommendation: the problem, the concrete evidence (files/modules), the smallest fix, and what it unblocks. Order by pain relieved per effort. Explicitly list what should be left alone.
Checklist
Duplication
- Same business rule or knowledge implemented in multiple places (the dangerous kind — they drift apart).
- Copy-paste variants of one workflow differing only in details that should be parameters.
- Do not flag incidental similarity between things that change for different reasons; merging those creates coupling, not reuse.
Single responsibility
- Modules or classes that change for unrelated reasons (e.g., a "service" doing validation, persistence, formatting, and notifications).
- God objects most of the codebase imports; files disproportionately large for their layer.
Layering & dependencies
- Lower layers importing upward (domain logic importing web/UI types; persistence importing controllers).
- Business rules trapped inside framework artifacts (controllers, handlers, views) where they can't be tested or reused.
- Circular dependencies between modules.
- Leaky boundaries: raw database rows, ORM entities, or wire DTOs flowing through layers that shouldn't know them.
Coupling & cohesion
- Feature logic scattered across layers such that one feature change touches every layer folder ("shotgun surgery").
- Shared mutable state or implicit ordering between modules.
Constraints
- Respect the project's existing architectural style; recommend making it consistent before recommending replacing it.
- Every proposed step must leave the system working — no recommendation may require a big-bang migration.
- If the architecture is sound, say so; do not manufacture findings.
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
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.

