New AI Coding Skill Generates Visual Architecture Refactoring Reports

mattpocockuk · x · 2026-08-10

Matt Pocock introduced an AI coding skill called /improve-codebase-architecture. The tool surveys a codebase for opportunities to deepen shallow modules and generates a self-contained HTML visual report.

It never alters the code directly. Instead, it applies two filters to ensure high-quality suggestions: a 'deletion test' to see if removing a module concentrates complexity, and a bias toward recently committed paths. This allows developers to safely evaluate codebases they aren't ready to refactor yet.

Original post →

More from coding & agent

coding & agent channel →