state-model
Installation
SKILL.md
Define the state machines and lifecycles for this scope:
$ARGUMENTS
Use ultrathink. Work from the repo, routes, components, database schemas, API endpoints, and visible UI states. If details are missing, infer conservatively and mark assumptions.
Output
Write docs/hci/state-model.md unless the user asked for another path.
Create the directory if it does not exist.
Required process
1) Identify stateful entities
Find every object in the system that has a lifecycle -- anything that changes state over time. Common examples: requests, tasks, users, sessions, approvals, documents, payments, invitations.
2) For each entity, define:
States
| State | Meaning | User-visible cue | Entry condition | Exit condition |