Skip to content
Thally
Log inGet started
Guide

Published · 7 min read

Docs PRs drafted by AI can look right and still be wrong. Here is a practical checklist for checking accuracy, completeness, and what has actually shipped.

By Published Updated

A product PR merged this morning. By lunch there's a docs PR in your queue, drafted by an AI. Is it right? Is it complete? Is it describing something that has actually shipped?

Those are the three questions behind how to review AI-generated docs changes. You're not there to admire the prose. You're there to confirm that every edit traces back to something that changed in the code, and that nothing reaches readers before you say so.

This matters more as volume rises. Google's 2025 DORA report links AI adoption to higher software delivery throughput, meaning teams are releasing more software. In Postman's 2025 State of the API survey, 41% of respondents rely on AI to generate API documentation, while 55% struggle with inconsistent documentation. More merges and more drafts mean your review is the control point.

Read the draft against the merged pull request

Don't start with the docs draft. Start with the code PR that triggered it.

Read the PR description and skim the diff for public surface area: endpoints, parameters, CLI flags, config keys, defaults, error messages, UI labels, limits. Before you open the draft, write down what you think changed for users. Three or four bullet points is enough.

Then open the draft and compare it to your list. You're looking for two kinds of mismatch:

  • The draft edits something your list doesn't cover. Either you missed a change or the draft invented one.
  • Your list has something the draft doesn't touch. Either the docs were already right or the draft missed a page.

Google's engineering practices put the baseline plainly: if a change alters how users build, test, interact with, or release code, check that it also updates the associated documentation. The same standard applies in reverse when the docs change arrives as its own PR.

How to review AI-generated docs changes beyond the docs folder

The reference page is rarely the only place that mentions a behavior. Drift commonly comes from changes nobody flagged as user-facing, such as a refactor that quietly changes an error message, a default timeout, or the order of setup steps. It also comes from guides, tutorials, support articles, and marketing pages that mention a behavior without being "the docs for" that feature.

So ask where else the old behavior is stated:

  • The quickstart or a tutorial that walks through the old steps
  • A help-center article that quotes the old error message
  • A pricing or feature page that states the old limit
  • A changelog or migration guide that now needs an entry

If the draft only touches the reference page, search for the old value yourself before you approve.

Check the evidence on each suggested edit

A drafted edit is a claim about your product. Every claim needs a source you can click.

For each changed passage, look for the specific evidence behind it: a line in the diff, a field in the OpenAPI spec, a changed test, a renamed constant. If the draft says the default timeout is now longer, you should be able to find the line where the default was changed. If you can't, treat the edit as unverified, however confident it sounds.

Developers already apply this skepticism to AI output. In Stack Overflow's 2025 Developer Survey, 46% of developers said they don't trust the accuracy of the output from AI tools, up from 31% the year before. That's a reasonable default for a reviewer, and evidence is what lets you move past it one edit at a time.

A workable check for each edit:

  • Is there a pointer? The edit should reference the file and change that justifies it.
  • Does the pointer say what the edit says? Read the cited lines. A renamed variable is not a renamed parameter.
  • Is the value exact? Check numbers, units, names, and casing character by character.
  • Does it hold in context? Read the full page, not only the changed lines.

That last check is easy to skip. Google's review guidance notes that sometimes you have to look at the whole file to be sure the change makes sense. A corrected paragraph can contradict a code sample two screens down that the draft left alone.

This is where tooling earns its keep. Thally's Automation opens each drafted update as a pull request on your docs repo with the evidence attached, so you check a claim against its source instead of reconstructing it from tickets and diffs.

Illustration of Check the evidence on each suggested edit

Reject changes the diff does not support

Plausible isn't the bar. Supported is. Remove any edit you can't tie to the merged change, even if it reads well.

Watch for these patterns:

  • Extrapolation: The diff adds one optional parameter, and the draft describes a whole new workflow around it.
  • Invented specifics: The draft gives a rate limit, version number, or error code that appears nowhere in the diff.
  • Drive-by rewrites: Sentences were reworded for style in sections the code change never touched. These bloat the review and hide the edits that matter.
  • Wrong scope: An internal refactor is described as a user-facing change.
  • Unsupported deletions: A section was removed, but nothing in the diff deprecates or deletes the feature.

Deletions cut both ways. Google's guidance says that if a change deletes or deprecates code, you should consider whether the documentation should also be deleted. So a removal can be right, but the diff has to show it.

When you reject an edit, say why in the PR. "No evidence in diff for the retention claim" helps the next reviewer and leaves a record. For small fixes, edit the branch yourself. GitHub's guidance for agent-authored pull requests describes the same two routes: ask for changes in PR comments, or check out the branch and make the changes yourself.

Don't approve a mostly right PR and plan to fix the rest later. Later is how drift starts.

Approve only what should publish

Accurate isn't the same as ready. A change can be merged and still not be live for users.

Before you approve, confirm:

  • Has the change shipped? If it's behind a feature flag or waiting on a tagged release, the docs should wait too.
  • Is it available to everyone? Edits for a plan-gated or beta feature need to say so.
  • Does it need a human sentence? Breaking changes usually deserve a migration note the draft won't write well.
  • Does the build pass? A quality gate on the docs repository lets a broken docs build fail before it ships.

If part of the PR is ready and part isn't, split it. Approve the edits that match what users can do today and move the rest to a separate branch.

A common question is which documentation platform will update docs automatically after merges without adding a manual review step every time. The honest answer is that you don't want one that removes the step. GitHub's own docs on agent-created pull requests say to review the work thoroughly before merging. In DORA's research, 30% of respondents trust AI "a little" or "not at all".

What you can do is make the step cheap and rare:

  • Limit what triggers a draft: Use path filters so only changes to public surfaces, such as API specs, SDK exports, CLI commands, and config schemas, start a docs job.
  • Generate what can be generated: Anything with a machine-readable source of truth should be built from it, not written or reviewed by hand.
  • Require evidence on every edit: Evidence turns review into checking, not investigating.

With that in place, most merges produce no docs PR at all, and the ones that do take minutes.

Illustration of Approve only what should publish

Leave unapproved drafts unpublished in Git

Sometimes the answer is "not yet" or "not at all." The draft then stays where it is, as an open or closed pull request, and nothing changes on the live site.

That's the advantage of keeping docs in Git. An unmerged branch is a safe place for uncertain content. To keep it that way:

  • Protect the publishing branch: Require an approving review so no drafted change can merge on its own.
  • Label parked drafts: Record the reason, such as "waiting on release," "needs engineering confirmation," or "flag not enabled."
  • Close drafts that are wrong: Add a one-line explanation. A closed PR with a reason is a useful record, and a stale open one is noise.
  • Revisit on a schedule: A weekly pass through open docs PRs catches the ones whose release has since gone out.

If you use Thally, this is the default behavior. Drafts arrive as pull requests, content stays in Git, and nothing publishes without human approval.

The review itself is simple: read the code change first, demand evidence for each edit, cut what the diff doesn't support, publish only what's live, and leave the rest in a branch. If you do that on every drafted PR, your docs describe the product as it actually ships.

Sources

  1. Stack Overflow's 2025 Developer Survey Reveals Trust in AI at an All Time Low
  2. How are developers using AI? Inside Google's 2025 DORA report
  3. 2025 State of the API Report (Postman)
  4. Reviewing a pull request created by GitHub Copilot (GitHub Docs)
  5. What to look for in a code review (Google Engineering Practices)
  6. Keep Your Docs Site in Sync With Code Changes | Thally
  7. Thally Automation: Ship the Code. Docs Follow. | Thally
  8. Set Up CI to Trigger Documentation Updates | Thally

Published under the Thally editorial policy. Technical conformance is defined in the agent-readiness methodology.

Build docs that stay close to your product.

Create a managed site, or use the open-source engine to run Thally yourself.