LogoClawIndex
CasesSkillsAbout
LogoClawIndex

refactor - Code Refactoring with Behavior Preservation

Restructures code while preserving existing behavior and functionality

Tags

Updated: 2026-02-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • analyze code structure
  • run test suites
  • verify behavior boundaries
  • revert failed changes
  • create test cases
  • compare performance baselines

Inputs

  • source code
  • test suite
  • behavior specifications
  • performance benchmarks

Outputs

  • refactored code
  • test results
  • behavior verification report
  • performance comparison data

Requirements

  • testing framework
  • version control system
  • code analysis tools

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
testing
optimization
analyze code structure
run test suites
verify behavior boundaries
revert failed changes
source code
test suite
behavior specifications
refactored code
test results
behavior verification report