improve-codebase-architecture

Analyze repository code to generate HTML architectural improvement reports.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses technical debt and structural inefficiencies by providing a systematic way to audit and improve the architectural integrity of a codebase.

Core Features & Use Cases

  • Visual Reporting: Generates an HTML-based report highlighting structural bottlenecks and improvement opportunities.
  • Deep-Dive Analysis: Facilitates targeted, iterative refactoring sessions for specific modules or components identified during the scan.
  • Use Case: Use this skill when a project has grown complex and requires a high-level architectural review to identify areas for modularization or performance optimization.

Quick Start

Invoke the improve-codebase-architecture skill to scan the current repository and generate an architectural improvement report.

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 bottlenecks in my codebase?

Architectural bottlenecks are identified by scanning your repository-level source code to generate an HTML report highlighting structural inefficiencies and opportunities for modular improvement.

What is the best way to start refactoring a complex codebase to reduce technical debt?

Refactoring a complex codebase starts by invoking an architectural analysis scan to audit the project's integrity, which then facilitates targeted and iterative refactoring sessions for specific modules.

Can I visualize codebase structure to find opportunities for modularization?

Yes, visualizing codebase structure is possible by generating an HTML-based report that highlights structural bottlenecks and maps out opportunities for modularization and performance optimization.

When do I need an architectural review for my source code?

An architectural review is needed when a project has grown complex, requiring a high-level structural audit to address technical debt and identify areas for modularization or optimization.

Does codebase architecture analysis work on specific modules or the whole repository?

Codebase architecture analysis operates on the whole repository level to scan source code for initial reporting, but then facilitates deep-dive iterative refactoring discussions for specific components identified during the scan.

How does architectural analysis handle technical debt in legacy code?

Architectural analysis handles technical debt by providing a systematic way to audit the architectural integrity of a codebase, pinpointing structural inefficiencies for targeted modular improvement.