Skill Wiki v0.1.0
principle @web-style/principle-clarity-over-cleverness

Clarity Over Cleverness

When a clever idiom and an obvious idiom both work, pick the obvious one. Save the cleverness for the cases where it earns its keep — performance hot paths backed by benchmarks, language-level constraints that allow no o…

Skill
@web-style
Domain
web-style
Version
0.1.0
Quality
4.0
Edges
3 out · 9 in
Tokens
182/268/268
$ prime install @web-style/principle-clarity-over-cleverness

Projection

Always in _index.xml · the agent never has to ask for this.

ClarityOverCleverness [principle] v0.1.0

Code is read many more times than it is written. Optimise for the next reader — usually a tired version of yourself in six months — rather than for a reduction in keystrokes today. Where the language offers a terse form and an explicit form that mean the same thing, pick the explicit one unless the terse form is itself a well-known idiom.

When a clever idiom and an obvious idiom both work, pick the obvious one. Save the cleverness for the cases where it earns its keep — performance hot paths backed by benchmarks, language-level constraints that allow no other expression. Everywhere else, write the boring version that the next reader can scan in one pass.

Source

prime-system/examples/web-style/primes/compiled/@web-style/principle-clarity-over-cleverness/atom.yaml

Compiled at 2026-05-10