Agent skill

r-btw-cli

Use the `btw` CLI to access R documentation, manage R package development, query CRAN, and inspect the R environment from the command line. Use when you need to: (1) read R help pages or vignettes, (2) run R CMD check, tests, or devtools::document(), (3) search CRAN for packages, (4) check installed package versions or R platform info.

Stars 117
Forks 8

Install this agent skill to your Project

npx add-skill https://github.com/posit-dev/btw/tree/main/inst/cli-skill/r-btw-cli

SKILL.md

btw CLI

btw is a command-line interface for accessing R documentation, package development, CRAN search, and R environment info.

Commands

btw docs help <topic> [-p <pkg>]     Read an R help page (tries topic first, falls back to package listing)
btw docs help {<pkg>}                List help topics for a package
btw docs help <pkg>::<topic>         Read a specific help page (scoped)
btw docs vignette <pkg> [-n <name>]  Read a vignette (--list to list available)
btw docs news <pkg> [-s <term>]      Read package NEWS/changelog

btw pkg document [--path <dir>]      Generate roxygen2 docs
btw pkg check [--path <dir>]         Run R CMD check
btw pkg test [-f <filter>] [--path <dir>]  Run testthat tests
btw pkg load [--path <dir>]          Load package with pkgload
btw pkg coverage [--file <f>] [--json]  Compute test coverage

btw info platform [--json]              R version, OS, locale
btw info packages [<pkg>...] [--json]   Installed package details (--check for quick lookup, --deps for dep types)

btw cran search <query> [-n <count>] [--json]  Search CRAN for packages
btw cran info <pkg> [--json]            CRAN package details

Run btw --help, btw <group> --help, or btw <group> <cmd> --help for full usage details.

Expand your agent's capabilities with these related and highly-rated skills.

posit-dev/btw

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

117 8
Explore
posit-dev/skills

create-release-checklist

Create a release checklist and GitHub issue for an R package. Use when the user asks to "create a release checklist" or "start a release" for an R package.

224 13
Explore
posit-dev/skills

release-post

Create professional package release blog posts following Tidyverse or Shiny blog conventions. Use when the user needs to: (1) Write a release announcement blog post for an R or Python package for tidyverse.org or shiny.posit.co, (2) Transform NEWS/changelog content into blog format, (3) Generate acknowledgments sections with contributor lists, (4) Format posts following specific blog platform requirements. Supports both Tidyverse (hugodown) and Shiny (Quarto) blog formats with automated contributor fetching and comprehensive style guidance.

224 13
Explore
posit-dev/skills

shiny-bslib-theming

Advanced theming for Shiny apps using bslib and Bootstrap 5. Use when customizing app appearance with bs_theme(), Bootswatch themes, custom colors, typography, brand.yml integration, Bootstrap Sass variables, custom Sass/CSS rules, dark mode and color modes, dynamic theme switching, real-time theming, theme inspection, or making R plots match the app theme with thematic.

224 13
Explore
posit-dev/skills

shiny-bslib

Build modern Shiny dashboards and applications using bslib (Bootstrap 5). Use when creating new Shiny apps, modernizing legacy apps (fluidPage, fluidRow/column, tabsetPanel, wellPanel, shinythemes), or working with bslib page layouts, grid systems, cards, value boxes, navigation, sidebars, filling layouts, theming, accordions, tooltips, popovers, toasts, or bslib inputs. Assumes familiarity with basic Shiny.

224 13
Explore
posit-dev/skills

quarto-alt-text

Generate accessible alt text for data visualizations in Quarto documents. Use when the user wants to add, improve, or review alt text for figures in .qmd files. Triggers for requests about accessibility, figure descriptions, fig-alt, screen reader support, or making Quarto documents more accessible.

224 13
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results