Skill Wiki v0.1.0
anti-pattern @web-style/anti-pattern-mutable-named-export

Mutable Named Export

Declaring `export let counter = 0` (or similar) and then reassigning it elsewhere in the module so importers' references update with each change.…

Skill
@web-style
Domain
web-style
Version
0.1.0
Quality
4.0
Edges
2 out · 1 in
Tokens
82/338/595
$ prime install @web-style/anti-pattern-mutable-named-export

Projection

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

MutableNamedExport [anti-pattern] v0.1.0

Declaring export let counter = 0 (or similar) and then reassigning it elsewhere in the module so importers' references update with each change. Ditto exporting an object whose properties are reassigned post-import as a way to push state across module boundaries.

Source

prime-system/examples/web-style/primes/compiled/@web-style/anti-pattern-mutable-named-export/atom.yaml

Compiled at 2026-05-10