What problem does it solve?
The review-r Skill automates a structured, checklist-driven code review for R scripts and Quarto (.qmd) chapters to surface reproducibility, correctness, and style problems that can cause silent errors or non-reproducible results.
Core Features & Use Cases
- Reproducibility checks: Verifies presence of set.seed when randomness is used, deterministic data loading patterns, and centralized library calls.
- Correctness validation: Flags mismatches in regression specifications, missing-value handling issues, and risky joins that may duplicate rows.
- Conventions & Quarto checks: Enforces project conventions (naming, preferred functions) and Quarto-specific requirements like unique chunk labels and proper captions.
- Use Case: Run on an analysis chapter before merging to ensure code matches the paper's TWFE specifications, uses consistent naming, and will execute reproducibly on another machine.
Quick Start
Ask the review-r skill to audit path/to/chapter.qmd for reproducibility, correctness, and convention violations.