Skill Wiki v0.1.0
rule @web-style/rule-named-imports-stable-paths

Named Imports Stable Paths

Use `import { foo, bar } from './lib'` rather than `import lib from './lib'` followed by `lib.foo` and `lib.bar`.…

Skill
@web-style
Domain
web-style
Version
0.1.0
Quality
4.0
Edges
3 out · 3 in
Tokens
81/230/256
$ prime install @web-style/rule-named-imports-stable-paths

Projection

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

NamedImportsStablePaths [rule] v0.1.0

Use import { foo, bar } from './lib' rather than import lib from './lib' followed by lib.foo and lib.bar. Named imports document the API surface, make tree-shaking effective, and resist the trap of a default export later being replaced by a namespace object.

Source

prime-system/examples/web-style/primes/compiled/@web-style/rule-named-imports-stable-paths/atom.yaml

Compiled at 2026-05-10