← LeaderboardThe Skill Leaderboard

clean-code

Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities, or testable everyday code.

Published by ciembor ↗ciembor/agent-rules-books

Try your first task

clean-code

Start a fresh conversation. Replace the highlighted placeholders.

Use clean-code to refactor [target files or module] so it is easier to read and modify while preserving [behavior to preserve], keeping the cleanup scoped, updating relevant tests, and validating the change.

Required inputs

  • [target files or module]
  • [behavior to preserve]

User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗

SKILL.md

name: clean-codedescription: Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities, or testable everyday code.license: MIT

Clean Code Skill

Use this skill when a task involves everyday implementation quality, naming, small functions, readable control flow, responsibilities, comments, errors, or tests.

Before making design or code decisions, read and apply clean-code.mini.md. Use clean-code.md only as a deeper reference when the mini rules are not enough for the current code-quality tradeoff.