-
Notifications
You must be signed in to change notification settings - Fork 0
Add Quarto review prompt, skip-cp-setup label, and render QA guidance #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| --- | ||
| mode: agent | ||
| description: Quarto-first PR review for this repository — content, rendering correctness, links, and validation gaps. Use when preparing or checking a PR that touches pages, rendering logic, or workflow files. | ||
| --- | ||
|
|
||
| Review the requested changes as a Quarto-first code review for this repository. | ||
|
|
||
| Scope: | ||
|
|
||
| - Prioritize changed `.qmd`, `.R`, `.Rmd`, `.yml`, and `.yaml` files. | ||
| - Treat files under `_extensions/` as vendored third-party code. Read them for | ||
| context if needed, but do not flag or request changes there. | ||
| - Focus on behavior, rendering correctness, broken links or references, and | ||
| validation gaps. | ||
|
|
||
| Review checklist: | ||
|
|
||
| 1. Links point to source `.qmd` targets, not rendered `.html` files; cross-refs | ||
| (`@fig-`, `@tbl-`, `@sec-`) resolve to defined labels. | ||
| 2. Lists of three or more items use bullets with a blank line above them. | ||
| 3. `code-fold: true` is used where the *output* is the point and avoided on | ||
| tutorial code; chunk options use `#|` directives, not inline `r, opt = val`. | ||
| 4. Narrative text does not hard-code computed values — they are computed in a | ||
| chunk and referenced with inline R. | ||
| 5. Citations and attribution are present where adapted content or factual | ||
| claims appear, and only sources in `references.bib` are used. | ||
| 6. No new R package or Quarto extension is added without a clear reason (this is | ||
| a template — every dependency lands in every downstream book). | ||
| 7. No generated files are edited (`README.md` from `README.Rmd`; `_site/`, | ||
| `_freeze/`, `.quarto/`), and spell/link-check failures are fixed at the | ||
| source (wordlist or content), not suppressed. | ||
| 8. The author ran the required local validation: | ||
| - render of the touched page | ||
| - `lintr` | ||
| - `spelling::spell_check_package()` | ||
|
|
||
| Output format: | ||
|
|
||
| - Findings first, ordered by severity, with file references. | ||
| - Then open questions or assumptions. | ||
| - Then a short change summary only if useful. | ||
| - If there are no findings, say so explicitly and note any residual testing gaps. | ||
|
|
||
| Base the review on [copilot-instructions.md](../copilot-instructions.md) and | ||
| [CLAUDE.md](../../CLAUDE.md), plus any path-scoped rules under | ||
| `.github/instructions/` (if present) that apply to the changed files. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.