refacter

Community

Guide targeted code refactoring via metrics.

AuthorAwannaphasch2016
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps engineers systematically profile code complexity and hotspot signals to guide targeted refactoring, reducing risk and improving maintainability.

Core Features & Use Cases

  • Complexity analysis: compute cyclomatic and cognitive complexity using radon to surface risky functions.
  • Hotspot detection: combine code churn with complexity to surface high-risk files for refactoring.
  • Refactoring guidance: map findings to established patterns from REFACTORING-PATTERNS.md and propose concrete steps.
  • Incremental improvements: support small, testable changes with measurable metrics.

Quick Start

Run the included analysis scripts to surface a prioritized refactoring plan:

  • Analyze complexity: python .claude/skills/refacter/scripts/analyze_complexity.py src/
  • Analyze hotspots: python .claude/skills/refacter/scripts/analyze_hotspots.py src/
  • Review patterns and guidance in REFACTORING-PATTERNS.md to implement safe, incremental changes.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: refacter
Download link: https://github.com/Awannaphasch2016/jousef-landing/archive/main.zip#refacter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.