LogoClawIndex
CasesSkillsAbout
LogoClawIndex

clean-code - Apply clean code principles to improve code quality

Improves code readability and maintainability through meaningful naming, small functions, disciplined comments, consistent formatting, error handling, and unit testing.

Tags

Updated: 2026-10-06

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Assess code readability
  • Recommend meaningful names
  • Extract small functions
  • Improve error handling
  • Review comments and formatting
  • Evaluate unit test quality
  • Score code quality

Inputs

  • Source code
  • Pull request
  • Legacy code
  • Unit tests
  • Coding context

Outputs

  • Code review feedback
  • Code quality score
  • Refactoring recommendations
  • Code quality guidance

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.
    clean code
    code review
    refactoring
    naming conventions
    error handling
    unit testing
    Assess code readability
    Recommend meaningful names
    Extract small functions
    Improve error handling
    Source code
    Pull request
    Legacy code
    Code review feedback
    Code quality score
    Refactoring recommendations