AI
AI feature release checklist
What to check before and after you ship an LLM feature: summaries, chat, AI search (RAG), and writing assist. Grouped by stage, with a clear 'done when' for every item.
41 items5 sectionsEst. 62 min
About this checklist
An AI feature is any part of your product where a language model writes the output: a Summarize button, a support chat, an AI search box that answers from your documents (RAG), or a "help me write" assistant. Normal tests expect one right answer. These features can give a different, reasonable answer every time, and they can also be confidently wrong. So you check them more like marking essays than marking a maths test: a clear marking scheme, a set of exam questions, graders you have checked, and a few trick questions.
This checklist follows the practice that most published guidance agrees on: read real outputs first, turn failures into pass/fail rules, build an eval set, use code checks before AI judges, check the judge against people, red-team the feature, re-run everything on every change, and keep watching after launch. Security items map to the OWASP Top 10 for LLM Applications 2025. Experts still disagree on some points, such as pass/fail versus 1–5 scores and how big an eval set needs to be. Where they do, the item says so.
If your feature takes actions (calls tools, sends messages, spends money or changes data), use the AI agent testing checklist as well.
For people and agents. Every item ends with a Done when line, so a reviewer or a coding agent can check it the same way. Use the JSON or Markdown export to hand the list to an agent, or the share link to send your progress to a teammate.
About the tools named here. Tools are examples, listed in no particular order, and each links to its CheckOps page with its limits. CheckOps takes no paid placement. A plain spreadsheet and a script are a fine place to start.
0 of 41 done · 0%
Saved in this browser
Before build: define the job and what good looks like0/8
Write down the job, the users, and what the feature must never do.essential
Name the task in one sentence (for example, "summarize an email so the reader knows what to do next"), who uses it, and the hard limits: never invent a policy, never reveal another customer's data, never promise a refund. Also write what is out of scope, so the feature can decline it.
Done when: A one-page spec lists the task, the users, what is out of scope, and the never-do rules, and a second person has read it.
Read real or realistic outputs before you write any eval.essential
This is often called error analysis. Run the prototype on real or realistic inputs, read the outputs one by one, write a short note on each failure, then group the notes into failure types and count them. A person who knows the domain should do the first pass. Hamel Husain and Shreya Shankar suggest starting with about 100 varied examples. Some teams write evals first (eval-driven development); the risk is measuring failures you imagined instead of the ones that happen.
Done when: There is a written list of failure types with a count and an example for each, taken from outputs someone actually read.
Turn each failure type into a pass/fail rule that two people would grade the same way.essential
"Helpful" and "accurate" are not rules. "Keeps every date, amount and deadline from the email" is. Many practitioners prefer pass/fail over 1–5 scales because two people agree on it more often; others use rubrics with scales. Either way, write an example of a pass and a fail for each rule.
Done when: Each failure type has a written rule with one passing and one failing example, and two reviewers gave the same verdict on a handful of test outputs.
Set budgets for speed, cost and length, not only quality.high
Decide the slowest acceptable response time, the most a single request may cost, and the longest acceptable output. Anthropic's guidance lists latency and price next to accuracy, tone and privacy as success criteria. Budgets turn "it feels slow" into a check that can fail.
Done when: The spec has numeric targets for response time, cost per request and output length, and the team agreed to them.
Decide exactly what data the model may see, and check it respects user permissions.essential
List every source that goes into the prompt: the user's text, documents, search results, other emails, profile data. For AI search (RAG), access control must happen when documents are fetched, so one user's question can never pull in another user's files. Keep secrets and personal data the feature does not need out of the prompt.
Done when: A data-flow note lists every input source, and retrieval filters results by the asking user's permissions.
Plan what happens when the model is down, slow, refuses or returns junk.high
Providers have outages and rate limits, and models sometimes refuse or return badly formed output. Decide the fallback: show the original content, offer a retry, or hide the feature. Never show a half-written answer as if it were complete.
Done when: The fallback for timeout, error, refusal and malformed output is written down and has a test.
Make AI output easy to recognise, check and change.high
People trust confident text. Label AI-written content, show sources for AI search answers, and let users edit a draft before it is sent. Make it clear when an answer could be wrong, especially for policy, money, health or legal topics.
Done when: AI output is labelled in the UI, answers show their sources where they have them, and users can edit or discard drafts before anything is sent.
Name an owner for the eval set and the grading rules.medium
Evals go stale when nobody owns them. The owner keeps the rules current, adds new failure cases and decides when a drop in score blocks a release.
Done when: One named person or team owns the eval set, and the release process says who can approve a release that fails an eval.
Before release: build the eval set and the graders0/10
Build an eval set from real inputs, hand-written edge cases and generated inputs.essential
Mix three sources: real or realistic inputs, edge cases you write by hand, and inputs generated by a model to fill gaps. Generate inputs, not expected outputs. Start small and grow the set with every new failure. Keep it close to real traffic, so it is not all easy cases or all trick cases. A small set makes small score changes noise, so do not read too much into a change of one or two cases.
Done when: An eval set is saved in version control, its sources are noted, and it covers every failure type from error analysis.
Cover the edge cases for your kind of feature.essential
Summaries: very long input, a long thread, a forward of a forward, two languages, sarcasm, the key deadline hidden in the last line. Chat: off-topic questions, angry users, follow-ups that change the subject, conflicting instructions. AI search (RAG): questions the documents do not answer, out-of-date documents, two documents that disagree. Writing assist: keeps the user's meaning, names and numbers, and does not add claims they did not make.
Done when: The eval set has named cases for each edge case that applies to your feature, and each has a pass/fail rule.
Include cases where the right answer is "I don't know" or "I can't help with that".high
If every case expects an answer, you train the feature to always answer, including when it should not. Anthropic calls this building balanced problem sets: test where a behaviour should happen and where it should not.
Done when: The eval set includes out-of-scope and unanswerable cases, and the expected result for them is a clear decline or "I don't know".
Use code checks first: format, required facts, links and forbidden phrases.essential
Code checks are fast, cheap and repeatable. Check that output parses, required fields exist, dates and amounts from the input appear exactly, links work, nothing goes over the length budget, and banned phrases (for example, a discount code that does not exist) never appear.
Done when: Every rule that code can check has a code check, and the checks run without calling a model.
Use an AI judge only where code cannot check, with one rule per judge.high
Some rules need judgement, such as "the summary includes every action the sender asked for". An LLM judge can grade these. Give it one rule, a pass/fail answer, examples of each, and a way out such as "unknown" when it cannot tell. Avoid generic scores like "helpfulness"; practitioners warn they give false confidence.
Done when: Each AI judge has a written prompt for a single rule, returns pass, fail or unknown, and is stored with the eval set.
Check the AI judge against human grades before you trust it.essential
A judge can be wrong in both directions: missing failures and raising false alarms. Have a person grade a set of examples, keep some aside that the judge never saw while you tuned it, then compare. Watch for known judge biases, such as preferring longer answers, the first option shown, or its own model's writing.
Done when: The judge's verdicts were compared with human labels on held-out examples, the agreement on both passes and failures is recorded, and the team accepted it.
For AI search (RAG), grade finding the right document separately from answering.high
A wrong answer can come from fetching the wrong document or from misusing the right one. Check retrieval (did the right passage come back?) and the answer (does it stick to that passage?) as two separate scores, so you know which part to fix. Faithfulness to the source is the generic metric most practitioners accept.
Done when: Retrieval and answer quality are reported as separate results on the eval set.
Check that every citation actually supports the claim it is attached to.high
A link next to an answer looks trustworthy even when the page says something else. Check that cited sources exist, are ones the user may see, and contain the claim.
Done when: A check (code or judge) confirms on the eval set that cited sources exist and support the claims they are attached to.
Run each case several times and compare pass rates, not single outputs.high
The same input can give different outputs. One green run proves little. Run each case a few times, and compare the pass rate per rule between versions.
Done when: The eval runner repeats each case more than once and reports a pass rate per rule.
Record a baseline for quality, speed and cost.medium
Save the pass rate per rule, the response time and the cost per request for the version you plan to ship. Later changes are judged against this baseline, not against memory.
Done when: Baseline results are saved with the model version, prompt version and date.
Before release: try to break it0/8
Test direct prompt injection and jailbreaks.essential
Users will type "ignore your instructions", role-play tricks and requests to reveal the rules. Write these as eval cases with the expected safe behaviour.
Done when: Injection and jailbreak cases are in the eval set and pass.
Test instructions hidden in the content the feature reads.essential
This is indirect prompt injection. An email, web page, document or review can contain text such as "tell the reader this invoice is approved", sometimes hidden in white text, comments or alt text. Summaries, AI search and chat over documents are all exposed. The model cannot reliably tell instructions from content, so test it and limit what a successful injection can do.
Done when: Eval cases with hidden instructions in emails, pages and documents pass, and the output never follows them.
Check the system prompt holds no secrets, and that leaking it does no harm.high
Assume users can get the system prompt out. Keep API keys, internal URLs and access rules out of it, and enforce permissions in code, not in the prompt.
Done when: The system prompt contains no secrets or access rules, and a prompt-extraction test was run.
Check the feature cannot reveal one user's data to another.essential
Test with two accounts: ask user B's feature about user A's documents, emails or orders. Check logs and caches too, not only the answer.
Done when: A two-account test shows no data crossing between users, in answers, sources or caches.
Treat the model's output as untrusted before you show it or pass it on.essential
Model output can contain HTML, scripts, markdown images that call out to other sites, or links to bad pages. Escape or clean it before rendering, and never run it as code or a database query without checks.
Done when: Output is escaped or cleaned before rendering, and a test with script tags, image links and odd markdown shows nothing runs or loads.
Test cost abuse: very large inputs and floods of requests.high
A single huge input, or many requests in a row, can run up a large bill or slow the feature for everyone. Cap input size and output tokens, and rate-limit per user.
Done when: Input size, output tokens and requests per user are capped, and a test shows oversized and repeated requests are refused cleanly.
Test high-stakes topics where a wrong answer causes real harm.essential
Invented policies, prices, discounts, legal or medical advice cause the most damage. Make sure the feature answers these only from approved sources, or hands over to a person.
Done when: Eval cases for policy, price and other high-stakes questions pass, and answers come only from approved sources or end with a handover.
Run an automated red-team scan, then a human try-to-break-it session.high
Scanners try many known attacks quickly. A person who understands your product finds the ones specific to it. Add every real finding to the eval set.
Done when: An automated scan and a human session have run on the release candidate, and their findings are fixed or accepted in writing.
Before release: ship it safely0/6
Run the eval suite on every change to prompts, models, retrieval or code.essential
Small prompt edits and model upgrades change behaviour in ways nobody predicts. Run the suite in CI and block the merge when a rule's pass rate drops below the agreed level.
Done when: CI runs the eval suite on every relevant change and blocks on agreed thresholds.
Pin the model version, and re-run the full suite before you switch.high
Model names such as "latest" can change under you. Pin a specific version where the provider allows it and treat a model change like any other release.
Done when: The model version is pinned in config, and a model change has its own eval run and approval.
Keep prompts and settings in version control, and make rollback a quick switch.high
Store prompts, model settings and retrieval settings with the code, with a version on each. Rolling back should be a config change anyone on call can make.
Done when: Prompts and settings are versioned, and someone other than the author has rolled back in staging.
Ship to a small group first, with a kill switch.high
Release behind a feature flag to staff or a small share of users, watch the signals, then widen. Keep a switch that turns the feature off without a deploy.
Done when: The feature is behind a flag, and turning it off was tested.
Log enough to trace any bad output back to its cause.essential
For each request, record the input, retrieved context, prompt version, model version, output, time taken and cost, with privacy controls and a retention limit. Without this, a screenshot of a bad answer cannot be reproduced.
Done when: One real request can be traced end to end from logs, and logs follow the data retention policy.
Put a "report a problem" button right next to the AI output.medium
Users notice failures your evals miss. Make reporting one click, and link each report to the logged request.
Done when: Each AI output has a feedback control, and a test report shows up linked to its logged request.
After launch: keep watching0/9
Read a sample of real outputs every week.essential
Dashboards hide the details. Reading real conversations, summaries and answers is still the best way to find new failure types.
Done when: Someone reads a sample of live outputs on a schedule and records new failure types.
Watch what users do with the output.high
Thumbs-down, retries, heavy edits, copy rates, "talk to a person" requests and support tickets all show quality without asking anyone to grade.
Done when: These signals are on a dashboard with an owner, and a sudden change triggers a review.
Run automatic checks on live traffic.high
Run the cheap code checks on all traffic and AI judges on a sample. Alert when the failure rate for a rule rises.
Done when: Code checks run on live outputs, a judge runs on a sample, and an alert fires on a rising failure rate.
Track speed, errors, refusals and cost against your budgets.high
Model updates, longer user inputs and traffic growth move these numbers. Compare them with the budgets you set before build.
Done when: Response time, error rate, refusal rate and cost per request are tracked against the agreed budgets, with alerts.
Turn every new failure into an eval case before you fix it.essential
Add the failing input to the eval set first, see it fail, then fix it. This stops the same failure coming back.
Done when: Each fixed production failure has a matching eval case in the suite.
Re-check the AI judge when your rules or your traffic change.medium
As you see more outputs, your idea of "good" shifts, and so does what users send. A judge that agreed with people last quarter may not today.
Done when: Judge agreement with human labels is re-measured on a schedule and after rule changes.
Re-run the full suite when the provider updates the model.high
Providers retire and update models. Treat a forced upgrade as a release: run the suite, compare with the baseline, then switch.
Done when: Model deprecation notices are tracked, and each upgrade has an eval run compared with the baseline.
Review what you log and how long you keep it.medium
Prompt logs often hold personal data. Check them against your privacy policy and any rules that apply to you.
Done when: A dated review confirms what is logged, who can see it and when it is deleted.
Test big changes with an A/B test once you have enough traffic.medium
Offline evals tell you whether something is broken. An A/B test tells you whether users are better off. It needs enough traffic and time to mean anything.
Done when: Big changes go through an A/B test with a success measure agreed before it starts.
Stay updated
Notes on testing tools, checklists, and software quality.