architecture-review
Skill1 starsChanged 4 months agoMITView on GitHub
Assess the architecture of a codebase or subsystem and find the structural problems worth fixing - shallow modules, hidden coupling, scattered validation, data models that fight their use, and complexity in the wrong places. Use when the user asks whether a design is sound, where it will hurt as it evolves, or which refactors would pay off.
91 other projects use a version of this.
Adopted by
Most recently taken up by
- DataDog/dd-trace-pytheir own version, first seen Nov 30, 2026
- okeefeco/pyeye-mcptheir own version, first seen Nov 29, 2026
- DeepSpaceCartel/skillstheir own version, first seen Nov 29, 2026
- bullish0x/GameStudiotheir own version, first seen Nov 29, 2026
- ntaffzii/Skill-Agentstheir own version, first seen Nov 25, 2026
- carlgra/claude-skillstheir own version, first seen Nov 22, 2026
Used with
Projects with it also use create-stories, story-done 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.
lilangMaxSkillcreate-stories
Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.
Also in 12 projects that use this
lilangMaxSkillstory-done
End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.
Also in 12 projects that use this
- +10 more from lilangMax
Other versions91 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 91
- Donchitos/Claude-Code-Game-Studios★ 39ksame name
- langwatch/langwatch★ 5.1ksame name
- ghuntley/loom★ 1.7ksame name
- microsoft/hve-core★ 1.6ksame name
- DataDog/dd-trace-js★ 841same name
- decebals/claude-code-java★ 763same name
- borgbase/vykar★ 736same name
- appdevforall/CodeOnTheGo★ 688same name
- DataDog/dd-trace-py★ 655same name
- owainlewis/blueprint★ 444same name
81 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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- blast-radiusSkill
- codebase-designSkill
- code-reviewSkill
- councilSkill
- creating-a-pr-mrSkill
- diagram-designSkill
- docxSkill
- domain-modelingSkill
- drive-to-readySkill
- engineering-principlesSkill
- forgejo-cliSkill
- frontend-designSkill
- git-conventional-commitsSkill
- git-working-agreementSkill
- glab-cliSkill
- grillingSkill
- json-canvasSkill
- leaving-pr-mr-commentsSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- openspec-workflowSkill
- pdfSkill
- pptxSkill
- prototypeSkill
- sharpenSkill
- skill-minerSkill
- technical-writingSkill
- unslopSkill
- watch-pr-mrSkill
- whySkill
- writing-for-agentsSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 83 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read only; change nothing.
- Very specific: line 12
Use the codebase-design vocabulary: module, interface, depth,
- Very specific: line 28
Read GLOSSARY.md, ADRs (docs/adr/), and design notes in the area first.
- Distinctive: line 36
Write a short explanation of how it works before judging anything.
- Distinctive: line 51
Coupling: follow co-change pairs and cross-module imports.
- Distinctive: line 68
Every finding cites a concrete dependency chain, code path, or co-change history with file references.
- Distinctive: line 81
Verify each finding against the code, then classify it:
“Common” is measured: kept by at least 6 in 10 of the 83 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 how a subsystem is built for what it does and for the changes it actually receives. This is assessment, not line review and not an implementation plan. Read only; change nothing.
Use the codebase-design vocabulary: module, interface, depth,
seam, adapter. A module is deep when a small interface hides a lot
of behaviour, shallow when the interface is nearly as complex as the
implementation.
1. Scope by change pressure
Restructuring pays off where code keeps changing. If the user named a target, review that. Otherwise find the hotspots:
git log --since="12 months ago" --name-only --format= | sort | uniq -c | sort -rnshows churn per file; aggregate by directory for module churn.- Files from different modules that change together in the same commits show co-change coupling: a dependency the import graph may not show. Check the top pairs.
Read GLOSSARY.md, ADRs (docs/adr/), and design notes in the area first. A
documented decision is an intentional trade-off; reopen it only when the
review shows concrete friction the decision did not anticipate.
2. Build the model
Trace one or two real flows from trigger to effect through the actual code: entry points, data model, module interfaces, and where data enters and leaves. Write a short explanation of how it works before judging anything. For a large subsystem, explore independent slices in parallel read-only passes when available.
3. Examine
Apply each lens that fits; record "no issue" for lenses checked and clean.
- Depth: apply the deletion test to suspected pass-through modules: delete it mentally; if complexity vanishes it was shallow, if it reappears across callers it earns its keep. Flag concepts that require bouncing between many small modules to understand.
- Seams: one adapter is a hypothetical seam, two adapters make a real one. Flag interfaces with a single implementation that exist "in case", and missing seams where tests must reach past the interface.
- Coupling: follow co-change pairs and cross-module imports. Flag modules that know each other's internals or must change in lockstep.
- Data model: flag code that constantly reshapes data between layers, and types that claim more structure than exists at runtime.
- Edges: validation belongs where external data enters, once. Flag checks scattered through internal code, and errors that lose context while propagating.
- Evolution: name the most probable next change, from history, issues, or the user. Count the modules it would touch. Do not score hypothetical changes.
- Complexity budget: is complexity spent on core logic and real invariants, or on boilerplate, indirection, and configuration?
- Consistency: similar problems should get similar solutions; flag unexplained divergence only.
4. Evidence rule
Every finding cites a concrete dependency chain, code path, or co-change history with file references. A claim that something "could use more abstraction" without showing what the abstraction would remove is not a finding. Over-abstraction is as much a defect as under-abstraction; a flat design is right for a simple domain. A sound architecture with no findings is a valid result: say so.
Severity: Structural (wrong seam, broken data model, coupling that blocks likely work), Concern (harder to reason about or change, not broken), or Observation (a trade-off that may age badly, without demonstrated cost).
5. Verdict
Verify each finding against the code, then classify it:
- Act on: concrete structural problem worth fixing now.
- Consider: real concern whose cost or priority is uncertain.
- Noted: valid, low-priority observation.
- Dismissed: wrong, missing context, documented trade-off, or preference. Give the reason so the user can override it.
For each Act on finding, describe the target shape in plain words: which behaviour moves behind which interface, what callers stop knowing, and which tests get simpler. Add a small before/after sketch only when it explains faster than prose. Do not design the full interface.
Output
- How it works: the short explanation from step 2. A reader who only wants to understand the system can stop here.
- Scope: the target, and the hotspots and co-change pairs that drove it.
- Findings by verdict, with severity, evidence, and target shape.
- Lenses checked without findings, and gaps in the evidence.
The review is complete when every applicable lens has a recorded result and every finding is verified and classified, or dismissed with a reason.
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.

