☰ 분류

테스트 케이스로 프롬프트 자체를 고치는 프롬프트

내 프롬프트를 여러 입력에 돌려 채점하고, 그 채점 결과로 프롬프트를 다시 쓰게 합니다.

분류AI 사용법 › 프롬프트 작성
태그분석재작성개발자
프롬프트 (영어 본문 · 답은 한국어로 옵니다)
채울 칸 고칠 프롬프트이 프롬프트가 해야 할 일실제로 겪은 실패
Improve this prompt using graded test cases.

Work in this order and *do not skip to the rewrite.*

1. **Rubric first.** What does a good output have? Three to five checkable criteria, each pass/fail, not a score out of ten.
2. **Test cases.** Six to eight inputs: two typical, two edge, two adversarial, plus the failures I described. State what each is testing.
3. **Predict.** For each case, which criterion the current prompt will fail and why. Base this on the prompt's actual wording, quoting the line responsible.
4. **Diagnose.** For each predicted failure, name the exact clause at fault — missing constraint, ambiguous instruction, conflicting rules, or no fallback for missing input.
5. **Rewrite** — changing only what the diagnosis calls for. List each change with the case it addresses.
6. **Re-predict** the same cases against the new version, and say which failures should now pass and which remain.

Rules:
- *Do not rewrite anything the tests did not implicate.* Untargeted rewrites are how a working prompt regresses.
- If a failure cannot be fixed by wording — it needs information the user has not supplied — say so. That is a task design problem, not a prompt problem.
- Keep the rewritten prompt no longer than necessary. Length is where instructions start contradicting each other.
붙여 넣으면 맨 아래에 채울 칸(고칠 프롬프트 · 이 프롬프트가 해야 할 일 · 실제로 겪은 실패)이 나옵니다

어떤 프롬프트인가

프롬프트를 감으로 고치면 어제 되던 게 오늘 깨진다. 이 프롬프트는 먼저 테스트 케이스와 채점 기준을 만들고, 실패한 케이스의 원인을 프롬프트 문장으로 되짚어 고친다. 고친 뒤 같은 케이스로 다시 돌린다.

같은 분류의 프롬프트

AI 프롬프트 최적화 프롬프트
적응형 사고 프레임워크 프롬프트
멀티에이전트 조직 프롬프트
AI 입문 코칭 프롬프트
AI 자동화 타당성 면담 프롬프트
테스트 케이스로 프롬프트 자체를 고치는 프롬프트