Search⌘ K
AI Features

Specifying a Spec Check

Explore the concept of spec checks in prompt engineering for frontend use cases. Understand the difference between structural and meaningful correctness of AI responses, and practice designing prompts that require validation to ensure reliable and accurate user interface outcomes.

The last two lessons asked for things: a fixed set of options, a limited length. Asking works often enough to be worth doing and not often enough to be relied on. This lesson is about that gap.

We'll cover the following:

  • What a prompt cannot guarantee

  • Two kinds of correctness

  • What checking asks

  • Practice ...

What a prompt cannot guarantee