BeClaude

r-skills

New
3Community RegistryGeneralby jsperger · MIT

Skills for R programming covering tidyverse patterns, rlang conditions, targets pipelines, metaprogramming, ggplot2, and tidymodels

First seen 6/6/2026

Overview

Claude Code plugin providing skills for R programming. Complementary to Posit skills.

Installation

Via Marketplace (recommended)

After pushing to GitHub:

code
/plugin marketplace add jsperger/llm-r-skills
/plugin install r-skills@r-skills

Local Development

bash
claude --plugin-dir /path/to/r-skills

Dependencies

For full functionality, the following are required:

  • languageserver - R package for LSP support
  • jq - JSON processor for hooks
  • air - R code formatter

Skills

designing-tidy-r-functions

Guidelines for designing user-friendly R function APIs, covering naming conventions, argument ordering, and output stability.

ggplot2

ggplot2 4.0+ features including S7 migration, theme defaults, and new scale/position aesthetics.

hardhat

Infrastructure for building tidymodels-compatible modeling packages using mold() and forge().

metaprogramming

Techniques for manipulating R expressions using rlang: defuse-and-inject pattern, quosures, and symbol construction.

rlang-conditions

Error handling with rlang and cli: formatted output, error chaining, and input validation.

targets-pipelines

Complex targets patterns: static branching, dynamic branching, hybrid patterns, and custom target factories.

tidy-evaluation

Programming patterns for data-masked functions in the tidyverse using {{}} and managing variable ambiguity.

tidymodels-overview

Overview of the tidymodels ecosystem for machine learning in R.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/r-skills.md https://raw.githubusercontent.com/jsperger/llm-r-skills/main/SKILL.md
3
Invoke in Claude Code
/r-skills
View source on GitHub
rrlangtidyversetidymodelstargetsggplot2programming

Security Audits

LicensePassSourceWarnRepositoryPass

Frequently Asked Questions

What is r-skills?

Skills for R programming covering tidyverse patterns, rlang conditions, targets pipelines, metaprogramming, ggplot2, and tidymodels

How to install r-skills?

To install r-skills: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/r-skills.md https://raw.githubusercontent.com/jsperger/llm-r-skills/main/SKILL.md. Finally, /r-skills in Claude Code.

What is r-skills best for?

r-skills is a skill categorized under General. It is designed for: r, rlang, tidyverse, tidymodels, targets, ggplot2, programming. Created by jsperger.