r-skills
NewSkills for R programming covering tidyverse patterns, rlang conditions, targets pipelines, metaprogramming, ggplot2, and tidymodels
Overview
Claude Code plugin providing skills for R programming. Complementary to Posit skills.
Installation
Via Marketplace (recommended)
After pushing to GitHub:
/plugin marketplace add jsperger/llm-r-skills
/plugin install r-skills@r-skillsLocal Development
claude --plugin-dir /path/to/r-skillsDependencies
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
mkdir -p .claude/skillsmkdir -p .claude/skills && curl -o .claude/skills/r-skills.md https://raw.githubusercontent.com/jsperger/llm-r-skills/main/SKILL.md/r-skillsSecurity Audits
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.