Skill Wiki v0.1.0
rule @web-style/rule-arrow-functions-for-callbacks

Arrow Functions For Callbacks

When the function is anonymous and passed inline as an argument or assigned to a binding, use an arrow function.…

Skill
@web-style
Domain
web-style
Version
0.1.0
Quality
4.0
Edges
3 out · 3 in
Tokens
83/211/224
$ prime install @web-style/rule-arrow-functions-for-callbacks

Projection

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

ArrowFunctionsForCallbacks [rule] v0.1.0

When the function is anonymous and passed inline as an argument or assigned to a binding, use an arrow function. Arrow functions inherit this from the enclosing scope, are terser, and signal "this is not a method, just a value-returning expression" at the call site.

Source

prime-system/examples/web-style/primes/compiled/@web-style/rule-arrow-functions-for-callbacks/atom.yaml

Compiled at 2026-05-10