LogoClawIndex
CasesSkillsAbout
LogoClawIndex

simplify-code - Simplify recently changed or user-selected code

Simplifies code while preserving observable behavior, public APIs, tests, and required safeguards.

Tags

Updated: 2026-09-09
code-simplificationrefactoringcode-cleanup

Capabilities

Read target code and testsPreserve observable behavior and APIsRemove dead code and redundancyKeep minimal necessary comments

Typical Inputs

Target codeNearby testsRepository guidance

Typical Outputs

Simplified codeVerification status report

What this skill does

  • Read target code and tests
  • Preserve observable behavior and APIs
  • Remove dead code and redundancy
  • Keep minimal necessary comments
  • Run focused tests or checks

Inputs

  • Target code
  • Nearby tests
  • Repository guidance

Outputs

  • Simplified code
  • Verification status report

Requirements

    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.