LogoClawIndex
CasesSkillsAbout
LogoClawIndex

code-simplifier - Code Simplification and Refactoring

Analyze code to extract functions, remove redundancies, and apply refactoring techniques

Tags

Updated: 2026-03-23
code processingrefactoringcode qualitycode cleanupASTdeveloper tools

Capabilities

extract functionsremove dead codeapply idiomatic patternsoptimize control flow

Typical Inputs

source code filesource code directoryglob pattern

Typical Outputs

simplified codesimplification reportchanges summary

What this skill does

  • extract functions
  • remove dead code
  • apply idiomatic patterns
  • optimize control flow
  • simplify conditionals
  • improve variable naming
  • parse code to AST
  • detect anti-patterns
  • simplify boolean expressions
  • convert loops to iterators
  • remove unused imports
  • apply incremental changes
  • add unit tests
  • update documentation

Inputs

  • source code file
  • source code directory
  • glob pattern
  • complexity threshold
  • simplification options

Outputs

  • simplified code
  • simplification report
  • changes summary
  • metrics comparison

Requirements

  • MIT license
  • opencode compatibility

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.