Use when scanning a codebase for shallow modules, unclear interfaces, weak seams, poor adapters, low locality, or weak leverage and writing a local architecture review
Scanned 9/4/2026
Install to Claude Code
npx -y skills add NenadBanjeglav/superpowers-architecture --skill improve-codebase-architecture --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Improve Codebase Architecture?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/nenadbanjeglav-improve-codebase-architecture)More formats (shields.io, HTML) on the badges page.
---
name: improve-codebase-architecture
description: Use when scanning a codebase for shallow modules, unclear interfaces, weak seams, poor adapters, low locality, or weak leverage and writing a local architecture review
---
# Improve Codebase Architecture
Produce a read-only architecture review. Do not refactor code while using this
skill.
Read applicable instructions, resolve the effective **Approval Policy**, inspect
the repository's public module behavior and tests, and apply
`codebase-design` vocabulary consistently: module, interface, seam, adapter,
depth, leverage, locality, and test surface.
Look for:
- shallow modules that expose implementation detail;
- responsibilities split across unrelated callers;
- unstable or duplicated interfaces;
- seams in the wrong place and runtime concerns leaked into shared policy;
- adapters that do not isolate external systems;
- low locality that forces one change across many files;
- tests coupled to private helpers instead of public behavior; and
- repeated complexity a deeper module could hide.
Write the ignored local report under:
`docs/superpowers/architecture-reviews/YYYY-MM-DD-<topic>.md`
For each candidate include files/modules, evidence, current problem, proposed
deepening, interface/seam/adapter effects, data flow, test-surface effect,
benefits in locality and leverage, migration risks, and recommendation strength:
- **Strong:** current structure causes repeated cost or fragility.
- **Worth exploring:** likely benefit needs bounded design work.
- **Speculative:** plausible idea that must not block current work.
The report is advisory. It never approves design, implementation, or release.
If a candidate becomes authorized work, route one bounded outcome to
`brainstorming`. Under Autonomous, that spec can progress through internal
review to Ready; Review-gated uses a readable user package after a new explicit
opt-in. Do not treat the architecture review itself as an artifact approval or
expand into unrelated refactoring.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!