Learning center

Can an AI review rule catch outdated documentation?

Yes. Give the reviewer a public behavior to compare with a specific guide or example. A documentation warning earns its place when it shows what a reader would do differently because the text is stale.

Check a changed default from the reader's side#

Suppose a CLI changes its default output from a table to JSON. A guide that omits the format flag and promises a table now describes the wrong output. A reference page showing an explicit table flag can remain correct. Ask the reviewer to cite the changed default and the example that depends on it.

CodeRabbit publishes a documentation-site configuration that checks for related facts across pages. Include changes to the source of a public default in your rule's scope as well as edits to documentation. Otherwise the review most likely to need the rule could touch no prose at all. CodeRabbit’s documentation-site example

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading