LogoClawIndex
CasesSkillsAbout
LogoClawIndex

clean-code - Apply clean code principles to improve readability

Improve code quality through meaningful naming, small focused functions, clean formatting, consistent error handling, and effective unit tests.

Tags

Updated: 2026-10-06
clean codecode reviewrefactoringreadabilityerror handlingunit testing

Capabilities

Review code readabilityImprove naming conventionsSplit long functionsApply single responsibility

Typical Inputs

Source codePull requestRefactoring target

Typical Outputs

Code review feedbackQuality scoreImprovement recommendations

What this skill does

  • Review code readability
  • Improve naming conventions
  • Split long functions
  • Apply single responsibility
  • Refine error handling
  • Evaluate unit tests
  • Score code quality
  • Suggest specific improvements

Inputs

  • Source code
  • Pull request
  • Refactoring target
  • Code review context

Outputs

  • Code review feedback
  • Quality score
  • Improvement recommendations
  • Refactored code

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.