improve-codebase-architecture

Analyze codebases to surface architectural friction and generate deepening RFCs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams to surface architectural friction in a codebase and identify opportunities to deepen shallow modules, making the system more testable and AI-navigable.

Core Features & Use Cases

  • Surface friction points between modules and interfaces to reveal opportunities for deepening.
  • Propose structured RFCs that describe problem space, problem ownership, and measurable outcomes.
  • Enable lightweight exploration workflows that feed design discussions and code refactors.

Quick Start

Identify shallow modules, surface friction, and propose a deepening RFC for the targeted area.

Frequently Asked Questions about improve-codebase-architecture

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

FAQPage Schema
How do I analyze a codebase to surface architectural friction and improve testability?

To analyze a codebase for architectural friction, you evaluate module boundaries, interfaces, and dependencies. This process identifies tightly coupled components and generates structured candidates to refactor shallow modules into deeper, more testable structures.

What is the best way to identify shallow modules in a tightly coupled repository?

Identifying shallow modules involves evaluating testing strategies and interface boundaries to reveal friction points. This analysis highlights areas where deepening modules can reduce coupling and make the system more navigable for AI and testing.

Can I generate RFC frames from codebase analysis to propose refactoring?

Yes, you can generate RFC frames directly from codebase analysis. The process proposes structured RFCs that define the problem space, establish problem ownership, and outline measurable outcomes for design discussions and refactors.

Does this architectural analysis work for medium-to-large repositories with tightly coupled components?

Yes, this architectural analysis is specifically applicable to medium-to-large repositories with tightly coupled components. It targets these environments to surface friction and generate deepening candidates for complex codebases.

When do I need to evaluate module boundaries and dependencies for a codebase refactor?

You need to evaluate module boundaries and dependencies when your codebase experiences architectural friction and tightly coupled components. This evaluation is required to generate structured candidate lists and RFC framing for testability improvements.