.claude/skills/review-r/SKILL.md
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.
npx skillsauth add pedrohcgs/claude-code-my-workflow review-rInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the comprehensive R code review protocol.
Identify scripts to review:
$ARGUMENTS is a specific .R filename: review that file only$ARGUMENTS is LectureN: review all R scripts matching that lecture$ARGUMENTS is all: review all R scripts in scripts/R/ and Figures/*/For each script, launch the r-reviewer agent with instructions to:
.claude/rules/r-code-conventions.md for current standardsquality_reports/[script_name]_r_review.mdAfter all reviews complete, present a summary:
IMPORTANT: Do NOT edit any R source files. Only produce reports. Fixes are applied after user review.
testing
Stage, commit, push, open a PR, and merge to main. Use ONLY on explicit commit intent — user says "commit", "ship it", "push this", "open a PR", "merge to main", "let's commit this", or prefixes with `/commit`. Do NOT auto-invoke on vague end-of-task phrases ("we're done", "wrap up") — those require explicit confirmation first. Runs the standard commit-PR-merge cycle; never force-pushes or skips hooks.
testing
Perform adversarial visual audit of Quarto or Beamer slides checking for overflow, font consistency, box fatigue, and layout issues.
testing
Validate bibliography entries against citations in all lecture files. Structural checks (missing/unused entries, malformed fields) by default; `--semantic` adds citation-drift detection, DOI verification, and style-consistency checks.
testing
Translate Beamer LaTeX to Quarto RevealJS. Multi-phase workflow with TikZ extraction and QA.