improve-codebase-architecture

Analyze codebase architecture and generate a visual HTML report.

1|1|Updated May 30, 2026
One-click install
npx skills add https://github.com/yiguanxianyu/GeoManager --skill improve-codebase-architecture-yiguanxianyu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: improve-codebase-architecture
Source: https://github.com/yiguanxianyu/GeoManager/tree/main/.agents/skills/improve-codebase-architecture
Command: npx skills add https://github.com/yiguanxianyu/GeoManager --skill improve-codebase-architecture-yiguanxianyu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill identifies shallow modules in your codebase, proposes refactoring to deepen them, and presents findings in a visual HTML report.

Core Features & Use Cases

  • Codebase Exploration: Scans codebase for architectural friction and opportunities for deepening.
  • Visual Reporting: Generates HTML reports with visual diagrams to compare before/after architecture.
  • Design Vocabulary: Utilizes domain and architectural vocabulary from /codebase-design and CONTEXT.md.

Quick Start

Use the improve-codebase-architecture skill to generate an architecture review report for your project.

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 in my codebase for refactoring?▼

Codebase architecture analysis identifies shallow modules by scanning for architectural friction and evaluating module responsibilities. It proposes deepening opportunities and generates a visual HTML report highlighting specific areas for structural refactoring.

What is a shallow module in software architecture and why does it matter?▼

A shallow module in software architecture is a component with a complex interface relative to its limited functionality, creating structural friction. Identifying and refactoring these modules into deeper ones improves overall codebase maintainability and design quality.

How do I generate a visual HTML report of my project architecture?▼

You generate a visual HTML report of your project architecture by running a codebase scan that detects architectural friction and evaluates design vocabulary. The output presents visual diagrams comparing the current structure against proposed deepening improvements.

Do I need domain-specific design vocabulary to analyze my codebase architecture?▼

Yes, analyzing codebase architecture requires domain-specific design vocabulary knowledge. The process utilizes terms defined in project context files to accurately evaluate structural friction, identify shallow modules, and propose meaningful deepening opportunities.

Can I use architectural analysis for code quality assurance during codebase reviews?▼

Yes, you can use architectural analysis for code quality assurance during codebase reviews. It systematically evaluates the codebase to detect architectural friction, proposes deepening opportunities, and outputs a visual HTML report to support structural improvements.

What are the limitations of visual architecture reports for refactoring?▼

A limitation of visual architecture reports is that they require direct codebase access and domain-specific design vocabulary knowledge to function. While the analysis proposes deepening opportunities, actual refactoring requires manual implementation based on the HTML report findings.