improve-codebase-architecture

Identify shallow modules and propose prioritized deepening opportunities from CONTEXT.md and ADRs.

2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/MomoDaviluke/star-citizen-promotion --skill improve-codebase-architecture-momodaviluke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: improve-codebase-architecture
Source: https://github.com/MomoDaviluke/star-citizen-promotion/tree/main/.agents/skills/improve-codebase-architecture
Command: npx skills add https://github.com/MomoDaviluke/star-citizen-promotion --skill improve-codebase-architecture-momodaviluke

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill helps teams surface architectural friction in the codebase and propose structured deepening opportunities to improve testability, maintainability, and AI-navigability.

Core Features & Use Cases

  • Explore the domain glossary and ADRs to identify shallow modules and seams.
  • Propose deepening candidates with files/modules affected, problem, solution, and benefits.
  • Engage in a grilling loop to refine constraints and decisions with ADR considerations.

Quick Start

Read CONTEXT.md and ADRs, then run the Agent tool with subagent_type=Explore to surface 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 shallow modules and seams that hinder codebase testability?

To identify shallow modules and seams hindering testability, analyze your domain glossary and ADRs. You can then apply a deletion test to candidate modules to surface architectural friction and propose deepening opportunities with clear rationale.

What is the deletion test for evaluating module architecture and refactoring candidates?

The deletion test evaluates module architecture by checking candidate modules for shallow integration. It surfaces deepening opportunities by identifying seams that block testability, helping prioritize refactor changes without creating new interfaces initially.

How do I improve AI-navigability and maintainability through codebase architecture refactoring?

Improve AI-navigability by exploring CONTEXT.md and ADRs to find architectural friction. Propose structured deepening candidates listing affected files, problems, solutions, and benefits to enhance both testability and AI codebase navigation.

When should I refactor architectural seams to improve testability in my codebase?

Refactor architectural seams when shallow modules block testing and AI navigation. Use a grilling loop to refine constraints against ADR considerations, documenting prioritized changes in CONTEXT.md terminology before implementing new interfaces.

Can I propose codebase architecture deepening opportunities without creating new interfaces yet?

Yes, you can propose architecture deepening opportunities without creating new interfaces. The process surfaces a prioritized list of changes documenting affected files, rationale, and ADR alignment, deferring interface creation to later stages.

What's the best way to document architectural friction and refactoring candidates for my team?

Document architectural friction by aligning with CONTEXT.md terminology and ADRs. Present a prioritized list of deepening candidates including affected modules, problems, solutions, and benefits to ensure team alignment on testability improvements.