shape 설명하고, 그 다음에 보여줘
example은 강력하지만 모호해. "이 shape 맞춰"를 example 하나로 주면 모델이 잘못된 feature — 길이, tone, 내용 — 에 anchor할 수 있어, 너가 신경 쓴 structural한 거 대신. 처방은 example 보여주기 전에 shape를 단어로 설명해서 모델이 어느 axis를 example이 illustrate하는지 알게 하는 거야.
shape vocabulary
- Cardinality — exactly N, at most N, between A and B.
- Type — string, integer, ISO 8601 date, JSON object, markdown.
- Required vs optional field — explicit, implied X.
- Order — 뭐로 sorted, ascending이나 descending.
- Constraint — ≤ length, regex, enum.
spec 다음 example
shape가 이름 붙으면 example이 단어가 도달 못 한 nuance를 명확히 해. 둘이 같이 있으면 어느 쪽 단독보다 강해.