improve-codebase-architecture

Surface architectural friction and module deepening opportunities in codebases.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/stevenengland/sten-agent-skills --skill improve-codebase-architecture-stevenengland
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: improve-codebase-architecture
Source: https://github.com/stevenengland/sten-agent-skills/tree/main/skills/improve-codebase-architecture
Command: npx skills add https://github.com/stevenengland/sten-agent-skills --skill improve-codebase-architecture-stevenengland

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps engineering teams identify architectural friction and opportunities to deepen shallow modules for better testability and AI-navigability.

Core Features & Use Cases

  • Surface shallow modules and coupling to identify deepening opportunities.
  • Propose boundary designs and testing strategies at the module interface.
  • Frame RFCs and actionable tasks for architecture improvement.

Quick Start

Run a guided exploration pass over the codebase to surface architectural friction and identify deepening opportunities.

Frequently Asked Questions about improve-codebase-architecture

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

FAQPage Schema
How do I identify architectural friction and tightly coupled modules in a legacy codebase?

To identify architectural friction in a legacy codebase, run a guided exploration pass that surfaces shallow modules and coupling issues. This process highlights areas where deepening modules can improve overall testability and AI-navigability.

What is module deepening in software architecture?

Module deepening in software architecture is the process of refactoring shallow, tightly coupled modules into more structured boundaries. It emphasizes proposing boundary designs and testing strategies at the module interface to improve testability.

How do I make my codebase architecture AI-navigable?

To make your codebase architecture AI-navigable, surface and document architectural friction to untangle tightly coupled modules. Refactoring these areas through module deepening creates clear boundaries that AI tools can better understand and traverse.

How do I frame RFCs for codebase refactoring and architecture changes?

To frame RFCs for codebase refactoring, outline actionable GitHub issues based on identified architectural friction. This approach translates module deepening opportunities and boundary designs into structured, actionable tasks for engineering teams.

Can I use this approach for evolving codebases or only legacy systems?

You can use this approach for both evolving and legacy codebases. It specifically targets environments where teams want to improve testability, refactor tightly coupled modules, and make architectures AI-navigable during continuous development.

What is the best way to improve testability in a tightly coupled codebase?

The best way to improve testability in a tightly coupled codebase is to surface shallow modules and propose new boundary designs. Implementing testing strategies directly at these module interfaces reduces friction and isolates components.