codando-io/officina/architecture-audit

Claude Code and agent skill by codando-io/officina

Trust tier 2
  • community
LLM review pending
Source check pending

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-audit

SKILL.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.md exists, read it and apply it.
  • Read AGENTS.md (intended architecture), the ADR directory (decisions), and

.engineering/memory/INDEX.md.

  • Pick the focus: general (default) or modernization. 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

  1. Reconstruct the actual architecture. Projects/modules, their

dependencies, layers, entry points. Compare it with what AGENTS.md and the ADRs say. Differences are findings.

  1. 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.

SmellEvidence to collect
Architectural duplicationTwo or more implementations of the same concern (HTTP clients, validation, mapping, error handling, auth checks, date handling)
Conflicting abstractionsParallel ways to do one thing (repository + direct DbContext, two mediator styles, two state management approaches)
Circular dependenciesProject/module reference cycles, services injecting each other
Broken boundariesUI calling data layer, domain referencing infrastructure, controllers with business rules, shared "Common" projects that everything depends on
Dead codeUnreferenced types, endpoints without callers, unused components, config never read
Overloaded componentsVery large classes/files, services with many dependencies, components doing fetch + state + presentation
Duplicate APIsEndpoints returning the same resource in different shapes; frontend services wrapping the same endpoint twice
Old and new patterns coexistingCount of each; is migration progressing or stalled?
Backend/frontend inconsistencyDTOs vs TypeScript models, enum values, date/decimal formats, error contract, pagination shape, validation rules duplicated with different limits
Stale feature flagsFlags fixed at one value for months, flags with no remaining branches
Stale knowledgeAGENTS.md commands that fail, memory entries whose evidence no longer exists, ADRs contradicted by code
Growing debtAreas with high churn and complexity (git log frequency on large files), warnings trend, suppressed analyzers
Delivery readiness gapsMissing 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
  1. 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.

  1. 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

markdown
## Architecture audit: <repo>, <focus>, <date>
**Actual architecture**: short description or diagram; differences from documented
**Findings**
| # | Smell | Evidence | Impact | Effort | Suggested action |
|---|---|---|---|---|---|
**Recommended next 5**: ordered, each with change type (refactor/migration) and reversibility
**Stop the bleeding**: analyzer rules and architecture tests that would prevent regression
**Knowledge fixes**: AGENTS.md, memory entries, or ADRs to update or retire

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/codando-io/officina/architecture-audit/badge)](https://verified-skill.com/skills/codando-io/officina/architecture-audit)

Something wrong with this skill or its page? Tell us.