refactoring-analysis

Analyze Go, Python, and TypeScript/React codebases for refactoring opportunities and technical debt.

9|2|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/Zate/cc-plugins --skill refactoring-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactoring-analysis
Source: https://github.com/Zate/cc-plugins/tree/main/plugins/devloop/skills/refactoring-analysis
Command: npx skills add https://github.com/Zate/cc-plugins --skill refactoring-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifying and prioritizing refactoring opportunities in a large codebase can be overwhelming and time-consuming. This Skill provides comprehensive analysis to pinpoint technical debt and code quality issues across multiple languages.

Core Features & Use Cases

  • Comprehensive Codebase Analysis: Perform file-level, code-level, and language-specific analysis (Go, Python, TypeScript/React) to find issues like oversized files, complex functions, and code duplication.
  • Interactive Vetting: Present findings to the user for approval, ensuring only relevant items are included in the final report.
  • Report Generation: Create detailed refactoring reports in various formats (single document, split files, actionable tickets) with clear problem descriptions and solutions.
  • Metrics & Thresholds: Use predefined guidelines for file sizes, function complexity, and code duplication to identify areas for improvement.
  • Use Case: Analyze a Go project for oversized handler files, identify complex React components, or generate a refactoring report for a Python codebase.

Quick Start

Analyze the provided Python codebase to identify modules with too many lines and functions with high complexity, then generate a report.

Frequently Asked Questions about refactoring-analysis

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

FAQPage Schema
How do I identify technical debt and refactoring opportunities in my codebase?

Refactoring analysis examines your Go, Python, or TypeScript/React codebase to detect oversized files, complex functions, and code duplication using predefined metrics. It produces actionable reports with file paths, line numbers, and remediation steps to guide prioritization.

Can I analyze codebases with multiple programming languages in one pass?

Yes, this analysis supports Go, Python, and TypeScript/React projects. It performs language-specific assessments for file size, complexity, and duplication across your entire codebase in a single comprehensive scan.

What metrics does code quality analysis use to identify problems?

The analysis applies predefined thresholds for file sizes, function complexity, and code duplication to surface issues. It evaluates file-level and code-level patterns specific to each language to standardize findings.

How do I generate actionable refactoring reports from the analysis results?

After analysis identifies technical debt, you vet findings interactively with the Skill, then generate detailed reports in multiple formats—single documents, split files, or actionable tickets—each including problem descriptions and solutions.

What format are refactoring recommendations delivered in?

Reports include specific file paths, line numbers, clear problem descriptions, and remediation steps. Output can be formatted as unified documents, separate files by issue type, or discrete tickets ready for your workflow.

Do I need to configure thresholds myself, or are defaults provided?

Predefined guidelines for file sizes, function complexity, and code duplication are built in, eliminating manual threshold configuration. Results are reproducible and standardized across analyses.