Describe the shape, then show one
Examples are powerful but ambiguous. "Match this shape" with a single example may anchor on the wrong feature — length, tone, content — instead of the structural one you cared about. The fix is to describe the shape in words before showing the example, so the model knows which axis the example is illustrating.
The shape vocabulary
- Cardinality — exactly N, at most N, between A and B.
- Type — string, integer, ISO 8601 date, JSON object, markdown.
- Required vs optional fields — explicit, not implied.
- Order — sorted by what, ascending or descending.
- Constraints — ≤ length, regex, enum.
Example after specification
Once the shape is named, the example clarifies any nuance words couldn't reach. The two together are stronger than either alone.