Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By jsperger
Improves R code quality by automatically correcting tidyverse, rlang, and targets patterns after every file edit, reducing manual debugging for R developers.
npx claudepluginhub jsperger/llm-r-skills --plugin r-skillsUse when designing R function APIs, reviewing R code for design issues, writing functions for R packages, or evaluating argument ordering and naming decisions. Does NOT cover: style/linting, error handling (rlang-conditions), CLI output (r-lib:cli), testing (testing-r-packages), CRAN compliance (cran-extrachecks).
Use when working with R ggplot2 package, especially ggplot2 4.0+ features. Covers S7 migration (@ property access), theme defaults with ink/paper/accent, element_geom(), from_theme(), theme shortcuts (theme_sub_*), palette themes, labels with dictionary/attributes, discrete scale improvements (palette, continuous.limits, minor_breaks, sec.axis), position aesthetics (nudge_x/nudge_y, order), facet_wrap dir/space/layout, boxplot/violin/label styling, stat_manual(), stat_connect(), coord reversal.
Use when creating an R modeling package that needs standardized preprocessing for formula, data frame, matrix, and recipe interfaces. Covers: mold() for training data preprocessing, forge() for prediction data validation, blueprints, model constructors, spruce functions for output formatting.
Use when writing R code that manipulates expressions, builds code programmatically, or needs to understand rlang's defuse/inject mechanics. Covers: defusing with expr()/enquo()/enquos(), quosure environment tracking, injection with !!/!!!/{{, symbol construction with sym()/syms(). Does NOT cover: data-mask programming patterns (tidy-evaluation), error handling (rlang-conditions), function design (designing-tidy-r-functions).
Use when developing R packages that need to handle errors, warnings, and conditions properly. Covers: (1) cli_abort/cli_warn/cli_inform for throwing conditions with formatting, (2) Error call context with caller_env() and caller_arg(), (3) Input validation helpers that report the right function, (4) Error chaining with try_fetch() and parent argument, (5) Testing error conditions with testthat snapshots.
Modifies files
Hook triggers on file write and edit operations
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Modern R development skills for Claude Code - tidyverse patterns, rlang metaprogramming, Bayesian inference, performance optimization, and more
Opinionated R skills: collapse, mapgl, flextable, r-ai for fast data ops, interactive maps, LLM integration, and skill creation
Collection of skills for Shiny app development
Multi-agent workflow framework for building, testing, and shipping statistical software packages
350 agentic skills across 64 domains, 72 agent personas, and 16 team compositions following the agentskills.io open standard
Integrated Rust development skills for multiple domains (UI, Robotics, etc.)
R language server for code intelligence and analysis
Claude Code plugin providing skills for R programming. Complementary to Posit skills.
After pushing to GitHub:
/plugin marketplace add jsperger/llm-r-skills
/plugin install r-skills@r-skills
claude --plugin-dir /path/to/r-skills
For full functionality, the following are required:
Guidelines for designing user-friendly R function APIs, covering naming conventions, argument ordering, and output stability.
ggplot2 4.0+ features including S7 migration, theme defaults, and new scale/position aesthetics.
Infrastructure for building tidymodels-compatible modeling packages using mold() and forge().
Techniques for manipulating R expressions using rlang: defuse-and-inject pattern, quosures, and symbol construction.
Error handling with rlang and cli: formatted output, error chaining, and input validation.
Complex targets patterns: static branching, dynamic branching, hybrid patterns, and custom target factories.
Programming patterns for data-masked functions in the tidyverse using {{}} and managing variable ambiguity.
Overview of the tidymodels ecosystem for machine learning in R.