/skills:app-screenshotfrom skills
This skill should be used when capturing screenshots of R Shiny apps for documentation — vignettes, READMEs, and app tours. Covers driving a live app with shinytest2's AppDriver, isolating demo state from real data, and producing numbered PNGs ready to embed.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Capture deterministic screenshots of a running Shiny app for documentation. Drive the live app with shinytest2::AppDriver, keep demo runs isolated from real data, and write numbered PNGs in user-journey order ready to embed in vignettes or READMEs.
references/naming_embedding.md.app.R into a temp directory that points the app at temp state before starting it — options() set in this session do NOT reach the process shinytest2 launches. See references/state_isolation.md.scripts/capture_app_screenshots.R into the target package and fill in every TODO: output directory, entry point, input names, selectors, shot list.references/troubleshooting.md.images/01_...png inside vignettes, vignettes/images/... from a root README).| Script | Purpose |
|---|---|
scripts/capture_app_screenshots.R | Parameterized template: copy into the target package and fill in every TODO before running. Not part of any package build. |
references/appdriver_api.md — AppDriver methods, selectors, waiting behaviorreferences/state_isolation.md — keeping capture runs away from real datareferences/naming_embedding.md — filename and embedding conventionsreferences/troubleshooting.md — load failures, stale screenshots, selector problemsset_inputs(), element id= attributes for clicks, a[data-value='TabName'] for default Shiny tabs.shinytest2, chromote, and webshot2 out of Imports; they are dev-only (Suggests) dependencies used by this script alone.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pbulsink/skills --plugin skills16 skills in this plugin
/agent-md-refactorRefactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation./documentThis skill should be used when documentation for R package functions is requested or required./generate-agents-mdGenerate a project-specific AGENTS.md file by analyzing the local R package structure. Reads DESCRIPTION, catalogs /R/, /.github/, tests/testthat/, and vignettes/ directories, reverse-engineers architecture from R/*.R roxygen docs, and produces a structured template emphasizing Standard Workflow for AI agents.