rohitg00/improve-architecture
Audit an area of the codebase and propose the smallest structural moves that improve it - untangle boundaries, kill duplication, fix seams, break cycles. Produces a prioritized plan and decision records, not a rewrite. Use when a codebase feels tangled, hard to change, or is becoming a ball of mud, or when asked to improve or refactor architecture.
npx skills add https://github.com/rohitg00/pro-workflow --skill improve-architecture
Invest in the shape of the system a little at a time rather than paying for a
rewrite later. This skill diagnoses and proposes; it does not rewrite on its own.
modules, data flow, who calls whom. Reuse module-map for the one-screen
view; do not skip to opinions.
its surface.
does.
domain-modeling - boundaries in codeshould track boundaries in the language).
relieves it: extract a boundary, collapse a duplicate, invert a dependency,
move a seam. Prefer a sequence of safe steps over one big cut.
are safe now and which need a test net first (pair with tdd).
question, write a decision record in docs/decisions/NNNN-slug.md: context,
choice, alternatives rejected, why.
any code moves.
reason.
for indirection unless the duplication actually drifts.
tests.
A prioritized list: each item is the problem, the smallest move, the risk, and
whether it needs a test net first. Plus decision records for the big moves. No
code changes until the user picks what to do.
Take rohitg00/improve-architecture from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.