LogoClawIndex
CasesSkillsAbout
LogoClawIndex

refactoring-patterns - Safe Refactoring Patterns and Workflow

Provides safe refactoring workflows, common structural patterns, tooling recommendations, and pre-ship verification guidelines.

Tags

Updated: 2026-09-16

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Extract methods classes or modules
  • Rename code symbols and variables
  • Move functions and types
  • Inline direct calls and expressions
  • Replace conditionals with polymorphism
  • Introduce parameter objects
  • Replace magic numbers with constants

Inputs

  • Source code
  • Test suite

Outputs

  • Refactored code
  • Git commits

Requirements

  • Test coverage for affected code
  • Language refactoring tools or IDE
  • Git version control

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
software-design
clean-code
testing
Extract methods classes or modules
Rename code symbols and variables
Move functions and types
Inline direct calls and expressions
Source code
Test suite
Refactored code
Git commits