DEVELOPMENT WORKBOOK
AI application development prompts
Work through 14 ai application development tasks. Open a brief to see its worked example, customise the variables and copy the completed prompt.
← All categoriesGround an FAQ in approved notices Advanced
Cite the exact notice section supporting each answer.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Cite the exact notice section supporting each answer.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The assistant cites the returns clause and abstains on exchanges.
Worked example
Input: handbook mentions returns but not exchanges. Passing result: The assistant cites the returns clause and abstains on exchanges.
Common mistakes
- Treating the normal path as sufficient without checking this case: handbook mentions returns but not exchanges.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The assistant cites the returns clause and abstains on exchanges.
- For “Ground an FAQ in approved notices”, show the smallest evidence a second reviewer would need before sign-off.
Route uncertain support requests Advanced
Send low-confidence classifications to a person.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Send low-confidence classifications to a person.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The classifier labels the ambiguity rather than silently choosing billing.
Worked example
Input: message mentions both invoice and delivery. Passing result: The classifier labels the ambiguity rather than silently choosing billing.
Common mistakes
- Treating the normal path as sufficient without checking this case: message mentions both invoice and delivery.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The classifier labels the ambiguity rather than silently choosing billing.
- For “Route uncertain support requests”, show the smallest evidence a second reviewer would need before sign-off.
Extract invoice fields with provenance Advanced
Link each extracted value to its source span.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Link each extracted value to its source span.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The total points to the total line, not the first amount found.
Worked example
Input: subtotal 90; tax 10; total 100. Passing result: The total points to the total line, not the first amount found.
Common mistakes
- Treating the normal path as sufficient without checking this case: subtotal 90; tax 10; total 100.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The total points to the total line, not the first amount found.
- For “Extract invoice fields with provenance”, show the smallest evidence a second reviewer would need before sign-off.
Summarise meeting disagreements Advanced
Keep contested proposals separate from decisions.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Keep contested proposals separate from decisions.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. Monday appears as unresolved rather than agreed.
Worked example
Input: Ama suggests Monday; Kojo objects; no vote. Passing result: Monday appears as unresolved rather than agreed.
Common mistakes
- Treating the normal path as sufficient without checking this case: Ama suggests Monday; Kojo objects; no vote.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Monday appears as unresolved rather than agreed.
- For “Summarise meeting disagreements”, show the smallest evidence a second reviewer would need before sign-off.
Translate a glossary-bound notice Advanced
Preserve protected terms and flag missing local equivalents.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Preserve protected terms and flag missing local equivalents.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The programme name survives unchanged and uncertain wording is flagged.
Worked example
Input: a school notice contains an official programme name. Passing result: The programme name survives unchanged and uncertain wording is flagged.
Common mistakes
- Treating the normal path as sufficient without checking this case: a school notice contains an official programme name.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The programme name survives unchanged and uncertain wording is flagged.
- For “Translate a glossary-bound notice”, show the smallest evidence a second reviewer would need before sign-off.
Compare retrieval chunk boundaries Advanced
Test whether supporting text survives section splitting.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Test whether supporting text survives section splitting.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. Evaluation records whether retrieval returns both rule and exception.
Worked example
Input: an eligibility exception appears on the next paragraph. Passing result: Evaluation records whether retrieval returns both rule and exception.
Common mistakes
- Treating the normal path as sufficient without checking this case: an eligibility exception appears on the next paragraph.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Evaluation records whether retrieval returns both rule and exception.
- For “Compare retrieval chunk boundaries”, show the smallest evidence a second reviewer would need before sign-off.
Budget a document helper Advanced
Stop before an agreed processing ceiling.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Stop before an agreed processing ceiling.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The helper asks which sections to process first.
Worked example
Input: a 90-page manual exceeds the session budget. Passing result: The helper asks which sections to process first.
Common mistakes
- Treating the normal path as sufficient without checking this case: a 90-page manual exceeds the session budget.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The helper asks which sections to process first.
- For “Budget a document helper”, show the smallest evidence a second reviewer would need before sign-off.
Redact before summarisation Advanced
Remove identifying fields locally before constructing a model request.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Remove identifying fields locally before constructing a model request.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The outgoing fixture contains a neutral placeholder rather than digits.
Worked example
Input: a mock complaint includes a phone field. Passing result: The outgoing fixture contains a neutral placeholder rather than digits.
Common mistakes
- Treating the normal path as sufficient without checking this case: a mock complaint includes a phone field.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The outgoing fixture contains a neutral placeholder rather than digits.
- For “Redact before summarisation”, show the smallest evidence a second reviewer would need before sign-off.
Calibrate a transcription review queue Advanced
Highlight uncertain words without inventing replacements.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Highlight uncertain words without inventing replacements.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The transcript marks the span for listening review.
Worked example
Input: a noisy recording contains an unclear place name. Passing result: The transcript marks the span for listening review.
Common mistakes
- Treating the normal path as sufficient without checking this case: a noisy recording contains an unclear place name.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The transcript marks the span for listening review.
- For “Calibrate a transcription review queue”, show the smallest evidence a second reviewer would need before sign-off.
Test answer freshness Advanced
Prefer valid current policy over superseded passages.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Prefer valid current policy over superseded passages.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The answer cites the effective circular and notes its date.
Worked example
Input: two circulars disagree about closing time. Passing result: The answer cites the effective circular and notes its date.
Common mistakes
- Treating the normal path as sufficient without checking this case: two circulars disagree about closing time.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The answer cites the effective circular and notes its date.
- For “Test answer freshness”, show the smallest evidence a second reviewer would need before sign-off.
Detect extraction schema drift Advanced
Reject model output missing a required typed field.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Reject model output missing a required typed field.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The parser produces a typed validation error, not a stored order.
Worked example
Input: quantity returned as an essay. Passing result: The parser produces a typed validation error, not a stored order.
Common mistakes
- Treating the normal path as sufficient without checking this case: quantity returned as an essay.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The parser produces a typed validation error, not a stored order.
- For “Detect extraction schema drift”, show the smallest evidence a second reviewer would need before sign-off.
Design a model outage fallback Advanced
Keep core product tasks available without generated suggestions.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Keep core product tasks available without generated suggestions.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. Manual input remains usable and saving does not call the model.
Worked example
Input: autocomplete unavailable during registration. Passing result: Manual input remains usable and saving does not call the model.
Common mistakes
- Treating the normal path as sufficient without checking this case: autocomplete unavailable during registration.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Manual input remains usable and saving does not call the model.
- For “Design a model outage fallback”, show the smallest evidence a second reviewer would need before sign-off.
Evaluate accessibility descriptions Advanced
Distinguish visible evidence from inferred identity in alt text.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Distinguish visible evidence from inferred identity in alt text.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. The draft describes the visible activity without guessing profession.
Worked example
Input: photo shows a person holding a tray. Passing result: The draft describes the visible activity without guessing profession.
Common mistakes
- Treating the normal path as sufficient without checking this case: photo shows a person holding a tray.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The draft describes the visible activity without guessing profession.
- For “Evaluate accessibility descriptions”, show the smallest evidence a second reviewer would need before sign-off.
Compare answer revisions blind Advanced
Collect reviewer preferences without exposing model identity.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design an evaluation-ready AI feature for {{project}}. Collect reviewer preferences without exposing model identity.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a feature contract, synthetic examples and a human review rule. Separate model guesses from source facts and define how the feature abstains.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A feature contract, synthetic examples and a human review rule. Reviewers see shuffled A/B labels and a rubric for factual agreement.
Worked example
Input: two draft replies to the same refund query. Passing result: Reviewers see shuffled A/B labels and a rubric for factual agreement.
Common mistakes
- Treating the normal path as sufficient without checking this case: two draft replies to the same refund query.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Reviewers see shuffled A/B labels and a rubric for factual agreement.
- For “Compare answer revisions blind”, show the smallest evidence a second reviewer would need before sign-off.