From plugin-frontend
Applies principles from Robert C. Martin's 'Clean Code'. Use this skill when writing, reviewing, or refactoring code to ensure high quality, readability, and maintainability. Covers naming, functio...
How this skill is triggered — by the user, by Claude, or both
Slash command
/plugin-frontend:clean-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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."
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."
"Code is clean if it can be read, and enhanced by a developer other than its original author." — Grady Booch
Use this skill when:
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:
vs
if employee.isEligibleForFullBenefits():
a.getB().getC().doSomething().NullPointerException.npx claudepluginhub denissanthiago/plugin-frontend-claude-codeRefactors working code into clean, readable, maintainable code using Robert C. Martin's Clean Code principles. Use for new code, PR reviews, legacy refactoring, and team standards.
Scores and improves code readability using six disciplines: meaningful names, small functions, clean error handling, comments, formatting, and unit tests. For code review, refactoring, PR feedback, or establishing quality standards.
Applies clean code decisions for writing or reviewing functions, classes, naming, and non-trivial logic (≥3 lines). Promotes simplicity by removal, short reasoning blocks, and domain examples.