Review r
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.From its SKILL.md
npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill review-rAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.3 KB, 232 tokens by cl100k_base, as published. Nobody here has run it
Review R Code
Run a comprehensive R code review on the specified script(s). Do NOT edit any R source files -- produce a report only.
Steps
-
Identify target: Use
$ARGUMENTSto find the R file(s). Ifall, scan all.Rfiles inscripts/and project subdirectories. -
Launch r-reviewer agent following the full protocol from
.claude/agents/r-reviewer.md. -
Read standards from
.claude/rules/r-code-conventions.md. -
Check 10 categories: Structure & Header, Console Output Hygiene, Reproducibility, Function Design, Domain Correctness, Figure Quality, RDS Data Pattern, Comment Quality, Error Handling, Professional Polish.
-
Save report to
quality_reports/[script_name]_r_review.md. -
Present summary: Total issues per script, severity breakdown (Critical/High/Medium/Low), top 3 critical issues.
Important
- NEVER edit source files. Report only.
- Prioritize correctness over style.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.