This skill embodies the principles of "Clean Code" by Robert C. Martin (Uncle Bob). Use it to transform "code that works" into "code that is clean."
57%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/clean-code/SKILL.mdThis skill embodies the principles of "Clean Code" by Robert C. Martin (Uncle Bob). Use it to transform "code that works" into "code that is clean."
"Code is clean if it can be read, and enhanced by a developer other than its original author." — Grady Booch
Use this skill when:
These are design heuristics, not universal language rules or authority to change behavior. Follow the actual repository conventions; exceptions versus result types, nullability, argument counts and test cadence depend on the language and task. Preserve necessary rationale, security and license comments. Refactor only within scope and verify the relevant behavior.
elapsedTimeInDays instead of d.accountList if it's actually a Map.ProductData vs ProductInfo.genymdhms.Customer, WikiPage). Avoid Manager, Data.postPayment, deletePage).isPasswordValid is better than check.# Check if employee is eligible for full benefits
if employee.flags & HOURLY and employee.age > 65:if employee.isEligibleForFullBenefits():a.getB().getC().doSomething().NullPointerException.User request:
Refactor this working code for clearer names, smaller units, explicit errors, and preserved behavior; verify it with focused tests.
sickn33/agentic-awesome-skills
e8d346b
Also appears in
last in sync Apr 16, 2026
last in sync Apr 16, 2026
last in sync Apr 16, 2026
last in sync Jan 28, 2026
last in sync Mar 4, 2026
last in sync Mar 4, 2026
last in sync Mar 4, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.