Code Review & Testing · IN-DEPTH PROFILE

improve-codebase-architecture

Improve Codebase Architecture explores code for architectural friction and proposes deeper modules with smaller interfaces.

Best for

Maintainers of evolving codebases

What you get

Find friction + Compare interfaces

Main limitation

Architecture quality depends on change history and domain context that may be incomplete.

First risk

Premature refactoring. A cleaner interface can still be the wrong investment. Validate the hot spot and expected future changes before scheduling work.

EVIDENCE FRESHNESS

Three checks, kept separate

A recent source check is not a runtime test or security audit.

Upstream sourceChecked 2026-08-20

Pinned revision · 885e2ca4

Open pinned commit
SkillSignal profileSource-grounded

Updated 2026-08-20

Runtime & securityNot independently verified

Source review does not certify behavior or safety.

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.

Native

This Skill's current record explicitly names this Agent. Still inspect scripts, permissions, and external dependencies first.

Project scope.claude/skills/improve-codebase-architecture/
Personal scope~/.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.

Install command (project scope)npx skills add mattpocock/skills --skill improve-codebase-architecture --agent claude-code
Official agent docs

Claude Code discovers custom Skill folders automatically at project or personal scope.

View path evidence

TYPICAL WORKFLOW

A practical workflow

01

Find friction

Inspect changing areas for shallow modules, coupling, and weak test seams.

02

Compare interfaces

Generate substantially different module interfaces and evaluate their leverage.

03

Write an RFC

Capture the problem, tradeoffs, and recommended refactor for review.

THE TRADEOFFS

Advantages and tradeoffs

Notable strengths

  1. This profile is manually organized around the current upstream SKILL.md workflow.
  2. The capability boundary remains explicitly tied to mattpocock/skills.
  3. Core uses, limitations, and risks are separated for pre-install review.

Limitations

  1. Architecture quality depends on change history and domain context that may be incomplete.
  2. 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

Medium

Premature refactoring

A cleaner interface can still be the wrong investment. Validate the hot spot and expected future changes before scheduling work.

Medium

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

SKILL.mdUpstream Skill instructionsSource-linked

TAGS

architecturerefactoringtestability

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.