From r-docs-guide
Query tidyverse package documentation (dplyr, ggplot2, tidyr, purrr, readr, stringr, forcats, tibble, lubridate). Use this skill proactively when the conversation involves: - tidyverse packages or pipe workflows (%>%, |>) - dplyr verbs (filter, mutate, summarise, group_by, join) - ggplot2 plotting (geom_, aes, theme, scale_) - tidyr reshaping (pivot_longer, pivot_wider, nest, unnest) - purrr functional programming (map, walk, reduce) - readr/readxl data import - stringr string manipulation - lubridate date/time handling
How this skill is triggered — by the user, by Claude, or both
Slash command
/r-docs-guide:tidyverse-guideThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query tidyverse package documentation directly via WebFetch.
Query tidyverse package documentation directly via WebFetch.
When the user works with any tidyverse package or asks about tidy data workflows.
You MUST WebFetch official documentation - never answer from memory!
The user's query: $ARGUMENTS
Tidyverse package sites:
| Package | Reference URL | Cheatsheet |
|---|---|---|
| dplyr | https://dplyr.tidyverse.org/reference/index.html | https://dplyr.tidyverse.org/articles/dplyr.html |
| ggplot2 | https://ggplot2.tidyverse.org/reference/index.html | https://ggplot2.tidyverse.org/articles/ggplot2.html |
| tidyr | https://tidyr.tidyverse.org/reference/index.html | https://tidyr.tidyverse.org/articles/tidy-data.html |
| purrr | https://purrr.tidyverse.org/reference/index.html | https://purrr.tidyverse.org/articles/base.html |
| readr | https://readr.tidyverse.org/reference/index.html | — |
| stringr | https://stringr.tidyverse.org/reference/index.html | — |
| forcats | https://forcats.tidyverse.org/reference/index.html | — |
| tibble | https://tibble.tidyverse.org/reference/index.html | — |
| lubridate | https://lubridate.tidyverse.org/reference/index.html | — |
| readxl | https://readxl.tidyverse.org/reference/index.html | — |
| haven | https://haven.tidyverse.org/reference/index.html | — |
| glue | https://glue.tidyverse.org/reference/index.html | — |
For a specific function:
https://{pkg}.tidyverse.org/reference/{function}.html
For articles/vignettes:
https://{pkg}.tidyverse.org/articles/
Include: function signature, parameters, return value, and a working example from the docs.
https://www.rdocumentation.org/packages/{pkg}/topics/{function}npx claudepluginhub psychquant/psychquant-claude-plugins --plugin r-docs-guideModern tidyverse patterns for R including pipes, joins, grouping, purrr, and stringr. Use when writing tidyverse R code.
Modern R operations for data analysis, statistics, and reproducible work. Use for: R, Rstats, tidyverse, dplyr, tidyr, ggplot2, the native pipe |>, tibbles, data wrangling (filter/mutate/summarise/group_by/across/joins/pivot), reading and writing data (readr, readxl, arrow/Parquet, DBI/dbplyr databases, data.table::fread, rvest scraping), strings (stringr) and regex, dates/times (lubridate), factors (forcats), iteration and functional programming (purrr map family, list-columns), statistics and modeling (t.test/lm/glm, formulas, broom, tidymodels), high-performance data.table, time series (tsibble/fable, zoo/xts), and project workflow (renv, Quarto, here, testthat, styler, RStudio/Posit Projects). Covers tidyverse-first idioms with base R and data.table as named alternatives.
Creates R package vignettes using R Markdown or Quarto. Covers setup, YAML configuration, code chunk options, building, testing, and CRAN requirements.