LogoClawIndex
CasesSkillsAbout
LogoClawIndex

simplify - Behavior-Preserving Code Simplification Skill

Reduces code complexity by removing dead code, eliminating redundancy, substituting standard library calls, and flattening structures while preserving observable behavior.

Tags

Updated: 2026-06-30
code simplificationrefactoringdead code removalcode qualitybehavior-preservingAI slop detection

Capabilities

remove dead code and unused importseliminate redundant code patternssubstitute standard library built-insflatten nested code structures

Typical Inputs

Source code filesExisting test suite

Typical Outputs

Simplified source codeSimplification reportTest results

What this skill does

  • remove dead code and unused imports
  • eliminate redundant code patterns
  • substitute standard library built-ins
  • flatten nested code structures
  • rename variables for clarity
  • detect AI-generated code smells
  • run existing test suite
  • generate simplification report

Inputs

  • Source code files
  • Existing test suite

Outputs

  • Simplified source code
  • Simplification report
  • Test results

Requirements

  • Existing test suite must be present and passing
  • One file or function at a time scope
  • No simplification on untested code

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.