review-r
仓库创建 2026年2月7日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由
系统化的R审查流程,适合数据分析 / 科研代码审计与改进建议。
这个 Skill 做什么
对.R脚本做只读的全面代码审查,覆盖质量、可重现性与域内正确性。
对 .R 脚本做一轮只读的全面把脉:检查代码风格、可重现性、tidyverse 写法和领域正确性,最后输出问题清单和改进建议。适合在提交论文、交付分析代码或请人审查脚本时用。注意不运行代码,只做静态审查,想要数值复现还得配合 /audit-reproducibility。
▸ 展开 SKILL.md 英文原文
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 R", or when an R file is touched as part of a paper submission. NOT for running the code — pair with `/audit-reproducibility` for numeric verification.
1.4k
Stars
2.8k
Forks
40
仓库内 Skill
+65
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/review-r/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/review-r/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Review R Scripts Run the comprehensive R code review protocol. ## Steps 1. **Identify scripts to review:** - If `$ARGUMENTS` is a specific `.R` filename: review that file only - If `$ARGUMENTS` is `LectureN`: review all R scripts matching that lecture - If `$ARGUMENTS` is `all`: review all R scripts in `scripts/R/` and `Figures/*/` 2. **For each script, launch the `r-reviewer` agent** with instructions to: - Follow the full protocol in the agent instructions - Read `.claude/rules/r-code-conventions.md` for current standards - Save report to `quality_reports/[script_name]_r_review.md` 3. **After all reviews complete**, present a summary: - Total issues found per sc
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有