Exact Terms

Intent page

State machine terms for multi-step forms and builders.

Use these terms when a wizard, builder, onboarding flow, or form loses progress, breaks between steps, or cannot recover after failure.

Use these terms

Statechart

Models allowed states, events, guards, and invalid transitions.

Recovery path

Defines what users see and how they continue after a failure.

Prompt pattern

Better prompt

Model this multi-step builder as a statechart with a transition table, guard conditions, draft persistence, idempotent submits, retry policy, and recovery paths for partial failure.

Related guides

The AI prompt vocabulary map.

A practical map of expert vocabulary for AI prompts across image generation, coding agents, product UX, startup validation, and buyer messaging.

Common questions

When do I need state machine language?

Use it when the flow has multiple states, back/next movement, validation, async steps, failures, retries, and resume behavior.

Why does this help AI coding agents?

It forces the agent to reason about allowed transitions and failure cases instead of vibe-coding screens.