Skill Wiki v0.1.0
anti-pattern @web-style/anti-pattern-reassign-parameters

Reassign Parameters

Treating a parameter as a mutable local — assigning to it, mutating its properties when the caller did not opt in, or using it as scratch space.…

Skill
@web-style
Domain
web-style
Version
0.1.0
Quality
4.0
Edges
3 out · 2 in
Tokens
93/313/534
$ prime install @web-style/anti-pattern-reassign-parameters

Projection

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

ReassignParameters [anti-pattern] v0.1.0

Treating a parameter as a mutable local — assigning to it, mutating its properties when the caller did not opt in, or using it as scratch space. The parameter binding is part of the function's contract with its callers; rewriting it in the body breaks the obvious mapping between the call site and what runs.

Source

prime-system/examples/web-style/primes/compiled/@web-style/anti-pattern-reassign-parameters/atom.yaml

Compiled at 2026-05-10