Help us improve
Share bugs, ideas, or general feedback.
From archibald
Assesses software architecture quality: detects smells (cyclic deps, god components), metrics (CBO, LCOM, instability), antipatterns (Big Ball of Mud), dependencies (DSM), risks, and technical debt.
npx claudepluginhub florianbuetow/claude-code --plugin archibaldHow this skill is triggered — by the user, by Claude, or both
Slash command
/archibald:archibaldThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Assess the structural health of a software architecture through smell detection,
references/ambiguous-interface.mdreferences/antipatterns.mdreferences/cyclic-dependency.mdreferences/dependency-structure.mdreferences/feature-concentration.mdreferences/god-component.mdreferences/hub-like-dependency.mdreferences/metrics.mdreferences/risk-analysis.mdreferences/scattered-functionality.mdreferences/technical-debt.mdreferences/unstable-dependency.mdAnalyzes codebase architecture via multi-agent specialists on structure, coupling, integration, error handling, security; verifies findings, reports strengths and flaws with evidence.
Analyzes any codebase's architecture with 6 specialist agents (perf/scale, reliability, security, ops/DX, data/deps + Codex cross-review). Agents debate risks, fragile spots, improvements for audits/refactors.
Evaluates system-level architecture for coupling, cohesion, SOLID principles, API design, scalability, and technical debt. Use when reviewing ADRs, assessing existing systems, or evaluating readiness for scale-up.
Share bugs, ideas, or general feedback.
Assess the structural health of a software architecture through smell detection, quantitative metrics, antipattern identification, dependency structure evaluation, risk/trade-off analysis, and technical debt measurement.
This skill operates at the architecture level — components, modules, packages, services, layers, and their relationships. It complements class-level SOLID checks and system-level design principle checks by focusing on observable structural quality rather than adherence to specific design principles.
Key insight: architectural smells are independent from code smells (less than 30% correlation), making dedicated architecture-level assessment essential.
Request a full assessment or focus on a single dimension:
| Command | Dimension | References |
|---|---|---|
archibald / archibald full | Full assessment (all dimensions) | All references |
archibald smells | Architectural smell detection | references/cyclic-dependency.md, references/unstable-dependency.md, references/hub-like-dependency.md, references/god-component.md, references/feature-concentration.md, references/scattered-functionality.md, references/ambiguous-interface.md |
archibald antipatterns | Antipattern identification | references/antipatterns.md |
archibald metrics | Quantitative metrics analysis | references/metrics.md |
archibald dependencies | Dependency structure analysis | references/dependency-structure.md |
archibald risks | Risk & trade-off analysis | references/risk-analysis.md |
archibald debt | Technical debt assessment | references/technical-debt.md |
When no subcommand is specified, default to a full assessment. When a specific concept is mentioned by name (e.g., "cyclic dependency", "CBO", "DSM"), match it to the appropriate dimension and load the relevant references.
Determine what to analyze:
Before diving in, establish context that affects severity calibration:
Use whatever context is available from the codebase itself (directory structure, build files, deployment configs, README) rather than asking unnecessary questions.
Before analyzing, read the reference file(s) for the requested dimension(s).
For smell detection, read the individual smell references needed:
references/cyclic-dependency.mdreferences/unstable-dependency.mdreferences/hub-like-dependency.mdreferences/god-component.mdreferences/feature-concentration.mdreferences/scattered-functionality.mdreferences/ambiguous-interface.mdFor other dimensions:
references/antipatterns.mdreferences/metrics.mdreferences/dependency-structure.mdreferences/risk-analysis.mdreferences/technical-debt.mdFor a full assessment (archibald full), read all twelve reference files.
Before applying assessment patterns, build a picture of the current architecture:
From the codebase:
From documentation (if available):
From version control (if available):
Apply the detection heuristics from the loaded references. Each dimension has its own analysis approach:
Think carefully about each finding. Not every heuristic match is a true problem. Consider context, scale, team maturity, and conscious trade-offs.
Present findings using this structure:
**[DIMENSION] Finding — Severity: CRITICAL | HIGH | MEDIUM | LOW**
Location: `component/module/service`, files or paths involved
Finding: Clear description of the structural issue and why it matters.
Evidence: What observable patterns led to this finding.
Impact: How this affects maintainability, evolvability, reliability, or velocity.
Recommendation: Concrete remediation approach with effort estimate if possible.
Severity guidelines:
After all findings, provide:
Findings table: | Dimension | CRITICAL | HIGH | MEDIUM | LOW |
Architecture health score: Rate each dimension on a simple scale:
Top 3 priorities: Which findings to address first and why, considering both impact and effort.
Improvement roadmap: Categorize all recommendations as:
Overall assessment: One paragraph synthesizing the architecture's structural health, key strengths, and primary risks.
When a fix or refactoring is requested, produce concrete remediation proposals:
Use incremental approaches (Strangler Fig, Façade pattern) for large-scale changes rather than proposing big-bang rewrites.
These are diagnostic findings, not mandates. Apply judgment:
User: archibald smells (with a codebase directory)
Claude:
User: archibald metrics (with specific files)
Claude:
references/metrics.mdUser: archibald (full assessment of a project)
Claude: