/skills:maintain-pluginfrom skills
This skill should be used when adding a new skill to this repository, removing one, or otherwise changing which skills exist, so that .claude-plugin/marketplace.json and the README stay in sync with the skills on disk. Triggers on requests like "add a skill", "register this skill in the marketplace", "I added a new skill, update the docs", or "remove a skill from the plugin". Keeps the Claude Code plugin manifest consistent as the collection of skills grows over time.
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.
Keep the Claude Code plugin for this repository consistent with the skills that actually exist on disk. The repo is distributed as one plugin ("skills") that bundles many skills: every immediate subfolder of the repo root containing a SKILL.md is one skill, and Claude Code discovers them all because plugin.json sets "skills": ".". The marketplace therefore lists a single entry named skills with source: "./", and each skill must also be documented in README.md.
SKILL.md) has been added.<repo-root>/
├── .claude-plugin/
│ ├── plugin.json # plugin manifest — name, version, author, skills: "."
│ └── marketplace.json # lists every skill as a plugins[] entry with source "./"
├── <skill-name>/SKILL.md # one folder per skill (this is what gets discovered)
├── README.md # human-facing catalog of the skills
└── AGENTS.md
Because plugin.json sets "skills": ".", Claude Code discovers every top-level <name>/SKILL.md automatically — adding a skill folder is enough for the plugin to load it. The files that need upkeep are marketplace.json (machine-readable; keep its single entry and version in sync) and README.md (human-readable catalog).
<repo-root>/<skill-name>/SKILL.md with valid YAML front-matter (name, description; optionally trigger). The folder name must equal the front-matter name.<skill-name>/ directory.Run the bundled script to reconcile marketplace.json with the repo. It ensures the single skills entry exists, keeps its source at ./, refreshes its description from the README, and syncs its version with plugin.json. It also prints every skill folder it discovered so you can confirm nothing was missed:
python3 maintain-plugin/scripts/sync_marketplace.py # apply changes
python3 maintain-plugin/scripts/sync_marketplace.py --dry-run # preview only
The script locates the repo root by walking up to the directory containing .claude-plugin/marketplace.json, so it works from any working directory. The entry it maintains looks like:
{ "name": "skills", "source": "./", "description": "...", "version": "1.0.0" }
The script does not touch README.md. Edit it by hand to keep the human-facing catalog accurate:
| [name](<name>/SKILL.md) | \trigger` | description |`).### <Category> heading with its own table.Keep descriptions in the README consistent with each skill's front-matter description.
If the claude CLI is available, validate the marketplace:
claude plugin validate .
Otherwise confirm both JSON files parse and that every <name>/SKILL.md has a matching entry in marketplace.json:
python3 -c "import json; json.load(open('.claude-plugin/marketplace.json')); print('ok')"
plugin.json per skill or add a marketplace entry per skill. This repo is a single plugin whose skills: "." discovers every top-level <name>/SKILL.md; the marketplace lists exactly one entry named skills. Only split into multiple plugins if the user explicitly wants that.skills@<marketplace>; keep the plugin.json name, the marketplace entry name, and the marketplace name consistent. Plugin names are immutable once published — renaming breaks existing installs..claude-plugin/plugin.json's version, also bump the matching entry's version in marketplace.json (the script does this for you).sync_marketplace.py — Keeps the single skills marketplace entry in sync with the repo (ensures it exists, fixes source, refreshes description from README, syncs version) and lists every discovered skill folder. Supports --dry-run and --root PATH.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./app-screenshotThis 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./documentThis skill should be used when documentation for R package functions is requested or required.