Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/review-r-alohays-paper2pr
SKILL.md
Review R Scripts
Run the comprehensive R code review protocol.
Steps
-
Identify scripts to review:
- If
$ARGUMENTSis a specific.Rfilename: review that file only - If
$ARGUMENTSisPaperName: review all R scripts matching that paper - 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 - Save report to
quality_reports/[script_name]_r_review.md
-
After all reviews complete, present a summary:
- Total issues found per script
- Breakdown by severity (Critical / High / Medium / Low)
- Top 3 most critical issues
-
IMPORTANT: Do NOT edit any R source files. Only produce reports. Fixes are applied after user review.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?