Show every state of one component on a scratch page

Finds every state a component already handles, renders the real component on a throwaway page and feeds each state at its data boundary. For a developer or designer checking states.

What it asks for

  • about (Optional, words): What this run is for, in the person's words.
  • known (Optional, words): What is already known, decided or done, so the run starts from it instead of asking again.

The steps your AI walks

  1. Scope one component
  2. Find the states the code already has
  3. Build a throwaway page around the real component
  4. Feed each state at the data boundary
  5. Add a state switcher
  6. Confirm every state renders, then hand over
  7. Remove it on the person's word and record what was found

Use it from your AI

Connect the AI you already use to Trillion once. Then ask in your own words; your AI finds this workflow by what it does and runs it.

Say to your AI: “Use Trillion to finds every state a component already handles, renders the real component on a throwaway page and feeds each state at its data boundary. For a developer or designer checking states”