Install any skill in seconds. Free to start, no credit card required.
Get Started Free →decebals/clean-code
Clean Code principles (DRY, KISS, YAGNI), naming conventions, function design, and refactoring.
Passed 21 of 22 test cases with the skill, and 21 of 22 without it.
1 fixed20 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
I am reviewing a Java class with boolean variables named `flag`, `status`, and `check`. Refactor these variable names to follow standard clean code boolean naming conventions, assuming they represent whether an account is active, whether a user possesses admin rights, and whether a document is allowed to be edited.
| Checked | Without skill | With skill |
|---|---|---|
| Uses the prefix 'is' for the active state variable. | Passed | Passed |
| Uses the prefix 'has' for the admin rights variable. | Missed | Passed |
| Uses the prefix 'can' for the edit permission variable. | Missed | Passed |
The instructions your model reads when the skill loads.
Write readable, maintainable code following Clean Code principles.
| Principle | Meaning | Violation Sign |
|---|---|---|
| DRY | Don't Repeat Yourself | Copy-pasted code blocks |
| KISS | Keep It Simple, Stupid | Over-engineered solutions |
| YAGNI | You Aren't Gonna Need It | Features "just in case" |
"Every piece of knowledge must have a single, unambiguous representation in the system."
// ❌ BAD: Same validation logic repeated
public class UserController {
public void createUser(UserRequest request) {
if (request.getEmail() == null || request.getEmail().isBlank()) {
throw new ValidationException("Email is required");
}
if (!request.getEmail().contains("@")) {
throw new ValidationException("Invalid email format");
}
// ... create user
test cases passed, vs 21 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.