Skip to content
R for the Rest of Us Logo

Ally AI skill

Review R Scripts

Description

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.

Installation

There are a number of ways to install skills. We made {ally}, an R package that simplifies the process. Learn more

Install {pak}:

install.packages("pak")

Then install {ally}:

pak::pak("rfortherestofus/ally")

You only need to do this once per computer.

After you've installed the {ally} package, choose whether you want to install the skill in this project or in all of your projects, then run the command.

ally::install_skill("https://github.com/pedrohcgs/claude-code-my-workflow/blob/main/.claude/skills/review-r/SKILL.md")

This puts the skill in locations that all agents can read, inside this project, so anyone you're working with on the project can use it.

ally::install_skill("https://github.com/pedrohcgs/claude-code-my-workflow/blob/main/.claude/skills/review-r/SKILL.md", scope = "user")

This puts the skill in locations that all agents can read, in your home folder, so every project you work on can use it.

Source Code

Name Last commit message Last commit date
SKILL.md Slides are measured in a browser, reviewer quotes are checked against their source, and research logs are append-only (v2.6.0) 1 week ago