codando-io/officina/architecture-audit
Claude Code and agent skill by codando-io/officina
- community
Checking that the SKILL.md file is still in the repository.
Audit the architecture of a repository for problems no single PR review catches - architectural duplication, conflicting abstractions, circular dependencies, broken boundaries, dead code, overloaded components, duplicate APIs, old and new patterns coexisting, growing technical debt, backend/frontend inconsistency, stale feature flags, and stale project memory. Also runs modernization audits with the stack profile. Produces a prioritized backlog. Use periodically or when asked about codebase hea…
Install
npx vskill@latest install codando-io/officina/architecture-auditSKILL.md
The same SKILL.md was published earlier as codando-io/officina/architecture-audit.
Architecture audit
Code review looks at one diff. Drift happens across many. This audit looks at the whole and returns a short, prioritized backlog with evidence, not a lecture.
Before you start
- If
.engineering/overrides/architecture-audit.mdexists, read it and apply it. - Read
AGENTS.md(intended architecture), the ADR directory (decisions), and
.engineering/memory/INDEX.md.
- Pick the focus:
general(default) ormodernization. For modernization,
read each active profile's references/modernization.md and references/currency.md.
- Stay read-only. The output is a backlog; each item is executed later through
the normal lifecycle.
Procedure
- Reconstruct the actual architecture. Projects/modules, their
dependencies, layers, entry points. Compare it with what AGENTS.md and the ADRs say. Differences are findings.
- Look for each smell below. For each hit, collect concrete evidence: paths,
counts, examples. Use search and the stack's tools (project references, import graphs) rather than impressions.
| Smell | Evidence to collect | |
|---|---|---|
| Architectural duplication | Two or more implementations of the same concern (HTTP clients, validation, mapping, error handling, auth checks, date handling) | |
| Conflicting abstractions | Parallel ways to do one thing (repository + direct DbContext, two mediator styles, two state management approaches) | |
| Circular dependencies | Project/module reference cycles, services injecting each other | |
| Broken boundaries | UI calling data layer, domain referencing infrastructure, controllers with business rules, shared "Common" projects that everything depends on | |
| Dead code | Unreferenced types, endpoints without callers, unused components, config never read | |
| Overloaded components | Very large classes/files, services with many dependencies, components doing fetch + state + presentation | |
| Duplicate APIs | Endpoints returning the same resource in different shapes; frontend services wrapping the same endpoint twice | |
| Old and new patterns coexisting | Count of each; is migration progressing or stalled? | |
| Backend/frontend inconsistency | DTOs vs TypeScript models, enum values, date/decimal formats, error contract, pagination shape, validation rules duplicated with different limits | |
| Stale feature flags | Flags fixed at one value for months, flags with no remaining branches | |
| Stale knowledge | AGENTS.md commands that fail, memory entries whose evidence no longer exists, ADRs contradicted by code | |
| Growing debt | Areas with high churn and complexity (git log frequency on large files), warnings trend, suppressed analyzers | |
| Delivery readiness gaps | Missing items of the minimum delivery setup: unit tests; integration tests for concurrency, partial failure, and conflict; CI that builds and tests every change on the platforms that ship; review before merge; a feature-flag mechanism; a staging gate; fast rollback; production observability; and, in regulated domains, two safeguards per failure mode. Each missing item is a finding; missing rollback or CI ranks first |
- Modernization focus adds: obsolete/deprecated API usage (compiler and
analyzer warnings), platform and framework versions against support windows, legacy idioms listed in the profile, and the cost of each migration.
- Prioritize. For each finding estimate impact (bugs, velocity, security,
cost) and effort (S/M/L). Recommend at most five items to do next. Prefer items that unblock others and items that stop the problem from growing over one-off cleanups: an analyzer rule, or an architecture test that fails the build when a boundary is crossed again (the profile names the tool).
Output
When a finding reflects a decision that should be recorded or revisited, suggest an ADR. Do not open issues or PRs unless the user asks.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/architecture-audit/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codando-io/officina/architecture-audit)