LogoClawIndex
CasesSkillsAbout
LogoClawIndex

code-plan-refactor - Create targeted refactoring plans without applying changes

Generates a safe, behavior-preserving refactoring plan for code simplification and reorganization without modifying files.

Tags

Updated: 2026-09-13
refactoringplanningcode-analysisarchitecturecode-quality

Capabilities

Inspect changed files with VCS toolsAnalyze call paths and dependency edgesAudit refactoring plans for production risksAdjudicate conflicting refactoring recommendations

Typical Inputs

User-specified files or pathsTarget abstractions or pain pointsDiff information from version control

Typical Outputs

Structured refactoring report

What this skill does

  • Inspect changed files with VCS tools
  • Analyze call paths and dependency edges
  • Audit refactoring plans for production risks
  • Adjudicate conflicting refactoring recommendations
  • Design behavior-preserving refactoring steps
  • Generate structured refactoring reports

Inputs

  • User-specified files or paths
  • Target abstractions or pain points
  • Diff information from version control
  • Software design and code smell references

Outputs

  • Structured refactoring report

Requirements

  • Jujutsu version control tool
  • john-ousterhout-software-design reference document
  • martin-fowler-code-smells reference document

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.