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.
Creates R package vignettes using R Markdown or Quarto. Covers setup, YAML configuration, code chunk options, building, testing, and CRAN requirements.
Use when code loads or uses btw (library(btw), btw::), providing R session context to LLMs, registering tools for ellmer chat, or copying R object descriptions to clipboard