Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Covers clean code: meaningful naming, small single-purpose functions, error handling, comment discipline, formatting, and test quality.
77% 91%+14 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 17 of 22 without it.
3 of 3 safety checks passed
Not used yet
A disciplined approach to writing code that communicates intent, minimizes surprises, and welcomes change. Apply these principles when writing new code, reviewing pull requests, refactoring legacy systems, or advising on code quality.
Code is read far more often than it is written — optimize for the reader. The read-to-write ratio is well over 10:1, so every naming choice, function boundary, and formatting decision either adds clarity or adds cost. Clean code reads like well-written prose: names reveal intent, functions tell a story one step at a time, and the Boy Scout Rule applies — always leave the code cleaner than you found it.
Goal: 10/10. Rate any code 0-10 against the principles below. Report the current score and the specific improvements needed to reach 10/10.
Six disciplines for writing code that communicates clearly and adapts to change:
Core concept: Names should reveal intent, avoid disinformation, and make the code read like prose. If a name requires a comment to explain it, the name is wrong.
Why it works: Names are the most pervasive form of documentation — a well-chosen name eliminates the need to read the implementation; a poor one forces every reader to reverse-engineer intent.
Key insights:
fetch, retrieve, and getCode applications:
| Context | Pattern | Example |
|---|
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.