SKILL

state-machine

Renders every state of a component you choose on a throwaway page, with mock data and a switcher, so you can work on each state.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • State machine
  • 1. Scope one component
  • 2. Find the states in the code
  • 3. Build the throwaway page
  • 4. Feed each state at the data boundary
  • 5. Add the switcher
  • 6. Confirm every state renders, then hand over
  • Re-check every state after each change

This skill takes one component and renders it on a throwaway page in every state it can be in. Mock data feeds each state, a switcher flips between them and the page is deleted in one step when you are done. It is a workbench, not a review. The page stays up while the user works on the visuals, one state on screen and every other a keypress away. Stacking hostile scenarios on one page for a single look is break, exploring alternative designs is variant and reviewing finished work is interface-review. One component per run: the audit log table, the network panel, the billing card. "The settings page" spans several, so list them and ask which one. Restate it in one sentence: what the component shows, where it renders in production and where its data comes from. The states are the branches the component already has. Read it and its data hooks for every one: | Kind | States | | --- | --- | | Data | Loading, empty, error, one item, a typical set, a set long enough to scroll or paginate, some requests resolved and others pending, stale data refetching | | Account | Plan tier, role and permission checks, an owner versus a member | | Feature | Flags, trials, limits reached, a disabled or l

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
jakubkrehel/skills
Source file
skills/state-machine/SKILL.md
Fixed revision
8b254eb75dadf3615a6abce87aed28e1b6e4d77c
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Jakub Krehel Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T14:00:45.082Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.