---
title: "How do I exclude generated files from AI code review? | Proofline"
description: "Exclude the generated output directory and keep the input schema and generator under review."
url: https://proofline.sh/learn/exclude-generated-review-files/
---

[Learning center](/learn/)

# How do I exclude generated files from AI code review?

Exclude the generated output directory and keep the input schema and generator under review. First check a real diff to see whether the reviewer already skips the generated files.

Code review The Proofline team November 19, 2026 1 min read

## Review the input that changes the output

A schema edit might change one field in an API definition and rewrite hundreds of lines in the generated client. In CodeRabbit, a V2 review path filter such as `!sdk/generated/**` excludes files below that directory. A positive include pattern also narrows which other files qualify, so adding the schema as an explicit include could accidentally leave out the generator.

Try a change touching the schema, the generated client, and a handwritten client wrapper. The wrapper and schema should still receive review. A regeneration check in CI can separately rebuild the client and compare it with the committed output. [Choose which files CodeRabbit reviews](https://docs.coderabbit.ai/pr-reviews/which-files)

## 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](/free-code-review/).

[Start free with GitHub](https://proofline.sh/orgs/plan?offer=free_month)

## Related reading

-   ### [Can different packages in a monorepo have different AI review rules?](/learn/monorepo-review-rules/)
    
    Code review The Proofline team November 19, 2026 1 min read
    
-   ### [How can I stop an AI reviewer from repeating low-value comments?](/learn/reduce-ai-review-noise/)
    
    Code review The Proofline team November 19, 2026 1 min read
