30-SECOND BRIEF
What it does—and when it fits
Improve Codebase Architecture explores code for architectural friction and proposes deeper modules with smaller interfaces. Its upstream process starts from named pain points or recent change hot spots, reads domain context and ADRs, compares alternative interfaces, and records justified refactoring proposals rather than treating every large file as a problem.
INSTALL BY AGENT
Choose your Agent
Paths come from official Agent docs or the universal installer behind skills.sh. Compatibility still follows this Skill's record.
.claude/skills/improve-codebase-architecture/~/.claude/skills/improve-codebase-architecture/Use project scope for team sharing and personal scope across repositories. The installer defaults to project scope; add -g for personal scope.
npx skills add mattpocock/skills --skill improve-codebase-architecture --agent claude-codeClaude Code discovers custom Skill folders automatically at project or personal scope.
View path evidence ↗TYPICAL WORKFLOW
A practical workflow
Find friction
Inspect changing areas for shallow modules, coupling, and weak test seams.
Compare interfaces
Generate substantially different module interfaces and evaluate their leverage.
Write an RFC
Capture the problem, tradeoffs, and recommended refactor for review.
THE TRADEOFFS
Advantages and tradeoffs
Notable strengths
- This profile is manually organized around the current upstream SKILL.md workflow.
- The capability boundary remains explicitly tied to mattpocock/skills.
- Core uses, limitations, and risks are separated for pre-install review.
Limitations
- Architecture quality depends on change history and domain context that may be incomplete.
- The Skill proposes refactors; it does not prove that migration cost is justified.
BEST FIT
Who it is for
Maintainers of evolving codebases
Teams improving testability and module boundaries
BEFORE YOU USE IT
Risks to review before use
Premature refactoring
A cleaner interface can still be the wrong investment. Validate the hot spot and expected future changes before scheduling work.
Upstream instruction drift
Behavior can change with upstream updates. Record the commit used for important workflows and review updates before adoption.
SECURITY
What the permission profile means
- Declared access remains governed by the current upstream SKILL.md and runtime requests.
- Treat repository files, web content, and tool output as untrusted input.
- SkillSignal has not independently executed or security-audited this package; external skills.sh labels are not SkillSignal certification.
Not a security certification. External ratings are attributed references. SkillSignal has not independently executed or security-reviewed this Skill.
INSIDE THE PACKAGE
Indexed files
TAGS
Manually expanded from the current upstream SKILL.md and linked source at mattpocock/skills, checked 2026-08-19. This is an original summary, not an execution result or security certification.