improve-codebase-architecture

Generate an HTML architectural review report with before/after diagrams and ranked recommendations.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ian-pascoe/dotfiles-chezmoi --skill improve-codebase-architecture-ian-pascoe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: improve-codebase-architecture
Source: https://github.com/ian-pascoe/dotfiles-chezmoi/tree/main/dot_agents/skills/improve-codebase-architecture
Command: npx skills add https://github.com/ian-pascoe/dotfiles-chezmoi --skill improve-codebase-architecture-ian-pascoe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you spot architectural friction in a codebase and turn shallow modules into deep ones, improving testability, locality, and AI-navigability.

Core Features & Use Cases

It reviews the repository through the project domain vocabulary, looks for seams that leak, modules that are too shallow, and logic that is hard to test through its current interface. It then produces a self-contained HTML report with before-and-after diagrams, concise problem and solution notes, recommendation strength, and a top recommendation to tackle first. Use it when you want a structured architectural review of a codebase before planning a refactor or exploring a new deepening opportunity.

Quick Start

Ask the skill to scan the repository and generate a visual architecture review with the strongest deepening opportunities first.

Frequently Asked Questions about improve-codebase-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find shallow modules in my codebase for refactoring?

An architectural codebase review identifies shallow modules by surfacing friction like leaking seams and hard-to-test logic. It then generates an HTML report with before/after diagrams and ranked refactor candidates to guide your deepening efforts.

What is a deepening opportunity in software architecture?

A deepening opportunity in software architecture is the chance to turn a shallow module into a deep one. This improves testability, locality, and AI-navigability by resolving logic that is hard to test through its current interface.

How do I generate an architectural review report with before and after diagrams?

Generate a self-contained HTML architectural review report by scanning the repository. The output includes before-and-after diagrams, problem-solution-benefit cards, ADR conflict handling, and a ranked top recommendation to tackle first.

Can I check for architectural friction across a whole repository?

Yes, you can perform repository-level architectural reviews to check for friction across the whole codebase. The review applies domain-aware exploration to detect shallow modules, leakage paths, and seams that leak across the project.

Do I need any dependencies to run an architectural codebase analysis?

No dependencies are required to run the architectural codebase analysis. The skill operates independently to review project domain vocabulary and produce a self-contained HTML report with visual deepening opportunities.

What is the best way to prioritize codebase refactoring candidates?

The best way to prioritize codebase refactoring candidates is to generate an architectural review that ranks recommendations by strength. It provides a top recommendation to tackle first, supported by before/after diagrams and problem-solution-benefit cards.