Review R Scripts
SkillAI & modelsLets your agent review R scripts for quality and reproducibility and write a report without changing the code.
Then ask your AI: use the Review R Scripts skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.
About this skill
Read-only R code review protocol for `.R` scripts. Checks code quality, reproducibility, domain correctness, tidyverse idioms, and professional standards; produces a report without editing. Use when user says "review this R script", "check the R code", "audit the analysis code", "code review on the
What this skill tells your AI
The instructions your AI receives, as published by pedrohcgs/claude-code-my-workflow in .claude/skills/review-r/SKILL.md and read by Ahel’s review.
Run the comprehensive R code review protocol.
Steps
-
Identify scripts to review:
- If
$ARGUMENTSis a specific.Rfilename: review that file only - If
$ARGUMENTSisLectureN: review all R scripts matching that lecture - If
$ARGUMENTSisall: review all R scripts inscripts/R/andFigures/*/
- If
-
For each script, launch the
r-revieweragent with instructions to:- Follow the full protocol in the agent instructions
- Read
.claude/rules/r-code-conventions.mdfor current standards - Return its report as its final response (ending with the findings
jsonblock); this skill saves it toquality_reports/[script_name]_r_review.md— the agent is read-only
-
After all reviews complete, present a summary:
- Total issues found per script
- Breakdown by severity (Critical / High / Medium / Low)
- Top 3 most critical issues
-
Leave the R source files unchanged — the report goes to the user, who decides what to fix. Only produce reports. Fixes are applied after user review.
Signals
- GitHub stars
- 2k
- Forks
- 3k
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
review-r-pedrohcgs- Source
- github.com/pedrohcgs/claude-code-my-workflow
github.com/pedrohcgs/claude-code-my-workflow