LogoClawIndex
CasesSkillsAbout
LogoClawIndex

safe-refactoring - Safe Refactoring Principles and Methods

Detect code smells, design safe refactoring procedures, and improve legacy code

Tags

Updated: 2026-03-25

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • detect code smells
  • design refactoring procedures
  • improve legacy code
  • create refactoring plan
  • add characterization tests
  • break dependencies
  • apply tidy first approach
  • execute large-scale refactoring

Inputs

  • source code repository
  • existing test suite
  • code smells catalog

Outputs

  • refactored code
  • characterization tests
  • refactoring plan document

Requirements

  • code repository access
  • test framework support
  • refactoring patterns reference

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.
refactoring
code quality
legacy code
code smells
detect code smells
design refactoring procedures
improve legacy code
create refactoring plan
source code repository
existing test suite
code smells catalog
refactored code
characterization tests
refactoring plan document