From 3bd488eb82aa5dcad0abb190ef25a759158b93ca Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Mon, 19 Jan 2026 10:10:09 +0100 Subject: [PATCH] docs: Document AI config file exclusion (CLAUDE.md, AGENTS.md) Document that CLAUDE.md and AGENTS.md files are automatically excluded from project render targets and extension starter templates. --- docs/extensions/starter-templates.qmd | 2 ++ docs/projects/_render-targets.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/extensions/starter-templates.qmd b/docs/extensions/starter-templates.qmd index 3e144b169d..02a964e10e 100644 --- a/docs/extensions/starter-templates.qmd +++ b/docs/extensions/starter-templates.qmd @@ -25,6 +25,8 @@ To create a starter template, just create a GitHub repository that includes the 2. Common GitHub repository files like `README.md` and `LICENSE`. +3. AI assistant configuration files (`CLAUDE.md`, `AGENTS.md`). + If you'd like, you can also include a `.quartoignore` file in the root of your repository listing other files or directories you'd like to exclude. Each line of the file should be a glob describing file(s) to ignore (using syntax like a `.gitignore` file). ### template.qmd diff --git a/docs/projects/_render-targets.md b/docs/projects/_render-targets.md index 2060921ec7..c5f2ed082b 100644 --- a/docs/projects/_render-targets.md +++ b/docs/projects/_render-targets.md @@ -8,6 +8,8 @@ By default, all valid Quarto input files (.qmd, .ipynb, .md, .Rmd) in the projec 3. Files named `README.md` or `README.qmd` (which are typically not actual render targets but rather informational content about the source code to be viewed in the version control web UI). +4. AI assistant configuration files (`CLAUDE.md`, `AGENTS.md`) which provide instructions for AI coding assistants and are not intended as rendered content. + If you don't want to render all of the target documents in a project, or you wish to control the order of rendering more precisely, you can add a `project: render: [files]` entry to your project metadata. For example: ``` yaml