Skill Wiki v0.1.0
rule @web-style/rule-prefer-const-over-let

Prefer Const Over Let

Declare every binding with `const` by default. Reach for `let` only when the binding is genuinely reassigned.…

Skill
@web-style
Domain
web-style
Version
0.1.0
Quality
4.0
Edges
2 out · 6 in
Tokens
72/188/212
$ prime install @web-style/rule-prefer-const-over-let

Projection

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

PreferConstOverLet [rule] v0.1.0

Declare every binding with const by default. Reach for let only when the binding is genuinely reassigned. A const binding signals to the reader that the slot will not change — that signal is a load-bearing part of readability.

Source

prime-system/examples/web-style/primes/compiled/@web-style/rule-prefer-const-over-let/atom.yaml

Compiled at 2026-05-10