Clean code
Format, lint, and fix all warnings across the entire codebase — including test files and pre-existing issues.From its SKILL.md
npx -y skills add flurdy/agent-skills --skill clean-codeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `make clean-code` and 1 more.
SKILL.md
1.4 KB, 258 tokens by cl100k_base, as published. Nobody here has run it
Clean Code
Format, lint, and fix all warnings across the entire codebase — including test files and pre-existing issues.
Usage
/clean-code
Instructions
1. Run the project's clean-code target
Each project defines a make clean-code Makefile target with the appropriate tooling for its language/stack.
make clean-code
2. Fix remaining issues
If make clean-code fails or reports warnings/errors that couldn't be auto-fixed, investigate and fix them manually. Do NOT leave any warnings unresolved.
3. Verify clean state
Re-run the target to confirm it passes cleanly:
make clean-code
It must exit with zero warnings and zero errors.
Rules
- Do not skip or suppress warnings (e.g.
eslint-disable,#[allow(...)],@SuppressWarnings) unless there is a genuine false positive with a clear justification - Do not change the project's formatter or linter configuration
- If a fix changes behavior (not just style), flag it to the user before applying
- Test files are in scope — do not skip them
- Pre-existing issues must be fixed, not just new code
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.