Skill Wiki v0.1.0
rule @community/rule-single-primary-action-per-component

Single Primary Action Per Component

Every interactive component must expose exactly one primary action; all other actions must use visually subordinate treatment (secondary, ghost, or icon-only styles).

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
7 out · 1 in
Tokens
60/129/319
$ prime install @community/rule-single-primary-action-per-component

Projection

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

SinglePrimaryActionPerComponent [rule] v1.0.0

Every interactive component must expose exactly one primary action; all other actions must use visually subordinate treatment (secondary, ghost, or icon-only styles).

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-single-primary-action-per-component/atom.yaml

Compiled at 2026-05-07