Loading...
Loading...
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."
npx skill4agent add clubmediterranee/ai-core clean-code"Code is clean if it can be read, and enhanced by a developer other than its original author." — Grady Booch
elapsedTimeInDaysdaccountListMapProductDataProductInfogenymdhmsCustomerWikiPageManagerDatapostPaymentdeletePageisPasswordValidcheck# Check if employee is eligible for full benefits
if employee.flags & HOURLY and employee.age > 65:if employee.isEligibleForFullBenefits():a.getB().getC().doSomething()NullPointerException