LogoClawIndex
CasesSkillsAbout
LogoClawIndex

refacter - Refactor code using complexity and hotspot analysis

Profiles codebases using complexity metrics and churn analysis to identify risk areas and guide code refactoring.

Tags

Updated: 2026-09-23
refactoringcode-qualitycomplexity-analysishotspot-analysispython

Capabilities

Analyze code complexityDetect code hotspotsCompare refactoring strategiesAssess blast radius

Typical Inputs

Source code directoryComplexity threshold parametersGit commit history

Typical Outputs

Complexity analysis reportHotspot analysis reportRefactored code

What this skill does

  • Analyze code complexity
  • Detect code hotspots
  • Compare refactoring strategies
  • Assess blast radius
  • Verify behavior preservation

Inputs

  • Source code directory
  • Complexity threshold parameters
  • Git commit history

Outputs

  • Complexity analysis report
  • Hotspot analysis report
  • Refactored code

Requirements

  • Python 3.11+
  • radon library
  • git

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.