技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
review-r【数据与研究】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 …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
.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.
argument-hint: "[filename or 'all' or 'LectureN']"
allowed-tools: ["Read", "Grep", "Glob", "Write", "Agent", "Task"]
disallowed-tools: ["Edit", "MultiEdit"]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 standardsjson block); this skill saves it to quality_reports/[script_name]_r_review.md — the agent is read-onlyAfter all reviews complete, present a summary:
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.