Architecture Assessment
Understand what a codebase does, why its parts exist, and where it could become simpler—before asking
an agent to change it.
This is an early extract from a larger library of SDLC skills I'm still working on privately.
I'm making these three skills and their analysis tools available because people have asked about them.
You don't need the rest of that library to use this. Expect iteration, not a finished analysis platform.
Why this is useful
A large codebase can have several places answering the same question without any one class looking
obviously wrong. These skills help you find those decision owners, inspect how they interact, and
propose a smaller arrangement without erasing behavior that matters.
In Netclaw, the source catalog helped us navigate shell execution and approval code. Following those
leads revealed separate routes for native-tool and temporary-directory corrections, different behavior
under Auto approval, and background startup outside the foreground tool's checked start path. The
result was a concrete consolidation plan—not a recommendation to delete whichever class had the most branches.
Read the Netclaw investigation for the queries, source evidence,
counterexamples, and proposed changes. Try it with an agent or run it manually.
The tool helps locate and explain change opportunities; it does not automatically prove duplication,
safe deletion, or measured time savings.
Start here
What's included
| Component | What it does |
|---|
| architecture-assessment | Reconstructs responsibilities, relationships, contracts, and important execution journeys from evidence. |
| architectural-principles | Guides choices about reuse, cohesion, fewest moving parts, explicit outcomes, compatibility, and reversibility. |
| simplify | Investigates debt and overlapping mechanisms; proposes justified simplifications with counterevidence, costs, and verification. |
| Git file collector | Measures committed files, sizes, and physical line counts reproducibly. |
| Roslyn C# collector | Inventories declarations, syntax branches, constructor parameters, and possible name usages. |
| SQLite catalog | Makes that evidence queryable; stores agent-written purpose explanations separately from measurements. |
| Static proposal template | Helps present findings as a readable, self-contained HTML page when requested. |
The skills are language-neutral. For a C# architecture assessment, always try the repository
baseline, Roslyn declaration collection, and SQLite catalog/query steps before deep source reading.
If a prerequisite or analyzer run fails, disclose it and use a bounded manual fallback rather than
claiming analyzer-backed evidence. Non-C# assessments remain language-neutral and do not require the
.NET collector; a bounded simplify request may also be scoped without a full assessment when explicitly requested.
The Roslyn collector is syntax-based, not symbol-bound: matching names are leads to inspect, not exact references,
runtime instance counts, or proof of dead code. Assessment and proposal requests do not authorize implementation.
Use architecture-assessment to understand what exists and simplify to propose justified reductions.
Apply architectural-principles while choosing among designs, not as a third mandatory report. It also
works directly on a bounded design or review question. Project-specific priorities govern the trade-offs;
the defaults are not permission to reorganize unrelated code.
Use the skills
Claude Code
Install all three skills and their supporting files as a plugin:
/plugin marketplace add Aaronontheweb/architecture-assessment
/plugin install architecture-assessment@architecture-assessment
Then, in your target repository:
/architecture-assessment:architecture-assessment Assess the payment retry path, including failures. Do not change code.
/architecture-assessment:simplify Use that assessment to propose simplifications while preserving retry behavior.
/architecture-assessment:architectural-principles Evaluate this proposed retry abstraction against our compatibility requirements. Do not change code.