State Machine is an agent skill by Jakub Krehel that renders every state of one component on a throwaway page, with mock data and a switcher, so you can work on each state.
What it does
Finds the states already in the code: loading, empty, error, and long lists, plus account and feature states like plan tiers and flags.
Feeds each state mock data at the data boundary.
Adds a switcher grouped in your product's own words, so every state is a keypress away.
Re-checks every state after each change.
Removes the page in one step when you say so.
When to use it
Reach for it when polishing a component whose empty, error, or permission states are hard to reach in the app.
How to get it
The skill is free on GitHub under the MIT license, in Jakub Krehel's skills repo. You call it by name, as /state-machine; your agent won't start it on its own.
more skills
State Machine is an agent skill by Jakub Krehel that renders every state of one component on a throwaway page, with mock data and a switcher, so you can work on each state.
What it does
Finds the states already in the code: loading, empty, error, and long lists, plus account and feature states like plan tiers and flags.
Feeds each state mock data at the data boundary.
Adds a switcher grouped in your product's own words, so every state is a keypress away.
Re-checks every state after each change.
Removes the page in one step when you say so.
When to use it
Reach for it when polishing a component whose empty, error, or permission states are hard to reach in the app.
How to get it
The skill is free on GitHub under the MIT license, in Jakub Krehel's skills repo. You call it by name, as /state-machine; your agent won't start it on its own.
more skills
State Machine is an agent skill by Jakub Krehel that renders every state of one component on a throwaway page, with mock data and a switcher, so you can work on each state.
What it does
Finds the states already in the code: loading, empty, error, and long lists, plus account and feature states like plan tiers and flags.
Feeds each state mock data at the data boundary.
Adds a switcher grouped in your product's own words, so every state is a keypress away.
Re-checks every state after each change.
Removes the page in one step when you say so.
When to use it
Reach for it when polishing a component whose empty, error, or permission states are hard to reach in the app.
How to get it
The skill is free on GitHub under the MIT license, in Jakub Krehel's skills repo. You call it by name, as /state-machine; your agent won't start it on its own.

