Analyze existing system architectures. Use this skill whenever the user explores a codebase, asks about technical debt, plans refactoring or migration, evaluates code quality, or wants to understand how a system is structured -- even if they just say "what's going on in this code" or "how does this project work."
How this skill is triggered — by the user, by Claude, or both
Slash command
/architecture-analysis:codebase-analysisopusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Provide deep architectural insights when examining existing systems.
Provide deep architectural insights when examining existing systems.
Load shared resources on demand:
| Shared File | Load When | Contains |
|---|---|---|
shared/core-knowledge.md | Comparing against known patterns, assessing quality attributes | Pattern catalog, QA metrics, architectural styles reference |
| Indicator | What It Signals | How to Spot |
|---|---|---|
| God classes/modules | Concentrated responsibility, high change risk | Classes with many methods, many dependencies, or touching many concerns |
| Feature envy | Behavior in the wrong place | Methods that access another object's data more than their own |
| Shotgun surgery | Poor cohesion across related changes | A single logical change requires edits to many files across modules |
| Primitive obsession | Missing domain concepts | Business concepts represented as raw strings/ints instead of value objects |
| Dead code | Maintenance noise and confusion | Unreachable code, unused exports, commented-out blocks |
| Inconsistent abstraction levels | Mixed concerns in the same layer | Business rules mixed with HTTP handling or database queries |
For structural questions: Describe the actual structure with evidence (file counts, dependency graphs, module sizes). Compare to ideal patterns. Note maintenance implications.
For quality questions: Identify specific issues with file locations. Assess impact and urgency. Suggest concrete improvements with expected effort.
For understanding questions: Explain the current design and its likely intent. Note where the implementation has drifted from the apparent design. Highlight areas of architectural decay.
npx claudepluginhub crazymeal/claude-architect-marketplace --plugin architecture-analysisPerforms deep codebase analysis for patterns, architecture, implementation details, and technical debt using codebase-analyst agent. Analyzes concepts, modules, questions, or provides overviews.
Deeply explores existing codebases to map architecture, data flow, domain model, API surface, dependencies, and code health using read-only SubAgents.
Analyzes codebase architecture via multi-agent specialists on structure, coupling, integration, error handling, security; verifies findings, reports strengths and flaws with evidence.