LogoClawIndex
CasesSkillsAbout
LogoClawIndex

refactoring - Improve code design without changing external behavior

Restructure existing code through techniques like renaming and extraction to improve readability, maintainability, and extensibility.

Tags

Updated: 2026-09-13

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Rename code elements
  • Extract smaller components or functions
  • Replace conditionals with polymorphism
  • Restructure code without changing behavior

Inputs

  • Existing code
  • Test suite

Outputs

  • Restructured code

Requirements

  • Adequate test coverage

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
technical-debt
test-driven-development
Rename code elements
Extract smaller components or functions
Replace conditionals with polymorphism
Restructure code without changing behavior
Existing code
Test suite
Restructured code