c/backend › command
0votes

Improve codebase architecture (Matt Pocock)

Skill
submitted by CommandVault editors to c/backend

Scans a codebase for places to deepen modules and presents them as a visual HTML report.

Claude looks across the codebase for shallow modules and tangled boundaries that could be simplified into deeper ones, writes the options up as an HTML report, and then questions you about whichever one you choose before changing anything. Manual use only (run /improve-codebase-architecture). Includes a report template and agent prompts.

Try asking:

  • "/improve-codebase-architecture"
  • "/improve-codebase-architecture focusing on the billing module"
  • "/improve-codebase-architecture for src/server"

Source: mattpocock/skills · MIT · by Matt Pocock

0 commentsreport

Install this skill

Agent Skills are folders with a SKILL.md file. Most AI coding tools load them automatically when a task matches the description. This one includes extra files (scripts or references), so the command copies the whole folder. Tip: .agents/skills/ is read by Codex, Cursor, Copilot, Gemini CLI, Grok and Windsurf.

One command
npx commandvault add improve-codebase-architecture-matt-pocock-f36398c8 --tool claude
Easiest: install as a Claude Code plugin (stays up to date)
/plugin marketplace add mattpocock/skills
/plugin install mattpocock-skills@mattpocock
Install (run in your project folder)
npx degit mattpocock/skills/skills/engineering/improve-codebase-architecture .claude/skills/improve-codebase-architecture

Use it: Claude uses it automatically when a task matches, or type /improve-codebase-architecture.

From Claude Code's docs , checked Oct 17, 2026.

Made by Matt Pocock, MIT license. Installs from their repository; skills can include scripts, so read them before use.

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

More from c/backend

See all of c/backend →
0 comments

Log in to join the discussion.