generate-component-state-model

Installation
SKILL.md

Generate Component State Model

Use this skill when a component needs explicit prototype states before full prototype config assembly.

Purpose

Generate ComponentStateModel JSON for buttons, dialogs, forms, menus, sticky bars, cards, accordions, tabs, and other interactive nodes.

Philosophy

Component state models define the allowed behavior vocabulary for one interactive node. They should describe states, transitions, validation, disabled/loading behavior, focus, and keyboard requirements without drifting into visual variants, layout structure, page routing, or component code. A state belongs here only when it changes behavior or accessibility expectations, not merely because a component looks different.

Installs
4
First Seen
Jul 1, 2026