Skill Wiki v0.1.0
rule @community/rule-dialog-affordance-required

Dialog Affordance Required

Every modal dialog must provide an explicit visible affordance to close it — a close button (×), a labelled 'Cancel' or 'Dismiss' button, or both.…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 2 in
Tokens
82/167/316
$ prime install @community/rule-dialog-affordance-required

Projection

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

DialogAffordanceRequired [rule] v1.0.0

Every modal dialog must provide an explicit visible affordance to close it — a close button (×), a labelled 'Cancel' or 'Dismiss' button, or both. Dialogs closable only via Escape key or background click fail users who cannot infer or discover that mechanism.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-dialog-affordance-required/atom.yaml

Compiled at 2026-05-07