Skip to content
Ciying AI Directory
HomeAI toolsGuidesAI newsSkills directoryChatGPT skillsClaude Code skillsCodex skillsTrending in 24 hoursTop 100 skillsDaily updates
Ciying AI Directory
AI DirectorySkills
中文
Ciying AI Directory
HomeAI toolsGuidesAI newsSkills directoryChatGPT skillsClaude Code skillsCodex skillsTrending in 24 hoursTop 100 skillsDaily updates
Skills directory/mattpocock/skills/improve-codebase-architecture

Improve Codebase Architecture in Claude Code: Review Module Depth

Improve Codebase Architecture examines module interfaces, tests, and change hot spots, then presents a visual shortlist of possible refactors for discussion.

中文

Setup for Claude Code

Claude Code in a local Git checkout with access to the chosen source tree and an OS temp directory. The bundled report template uses CDN assets for styling and diagrams.

  1. Copy skills/engineering/improve-codebase-architecture into .claude/skills/improve-codebase-architecture/ and keep its HTML-REPORT.md template.
  2. Copy skills/engineering/codebase-design from the same commit into .claude/skills/codebase-design/.
  3. Start Claude Code at the Git project root. Invoke /improve-codebase-architecture and name one subsystem.

Example task

Create two tiny modules that independently calculate invoice totals and round at different points. Add a glossary entry for Invoice Total, commit the scratch project, and ask the skill to review only these modules without editing source code.

Expected result

The temporary HTML report identifies the two files, compares the exposed interfaces, and presents a candidate seam with a plausible test strategy. The working tree stays unchanged.

Upstream documentation

Original SKILL.md on GitHub · MIT license · Source reviewed 2026-11-15

Frequently asked question

Does the skill apply the recommended refactors?

It produces a report and asks the reader to select a candidate for discussion. The example requests review only.

Related skills from this repository

  • Grill Me for Claude Code: Pressure-Test a Design Before Writing Code
  • Grill With Docs for Claude Code: Design Interview With a Project Glossary
  • Grilling for ChatGPT: Review a Plan in Decision Rounds
Browse Claude Code skills
Skills directoryTrending 24hTop 100Daily updates
Ciying AI DirectoryAI toolsGuidesAI newsSkills directory