upgrade-playbooks
(project) Use when upgrading install tasks in playbooks/roles/ against upstream docs — bumping a pinned version, adopting a newly…
(project) Use when editing any file under skills/ or plugins/ to bump the plugin version and check the manifests
$ npx -y skills add vinta/hal-9000 --skill publish-plugins --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/publish-pluginsContext preview
The summary Claude sees to decide when to auto-load this skill.
(project) Use when editing any file under skills/ or plugins/ to bump the plugin version and check the manifests
name: publish-plugins description: (project) Use when editing any file under skills/ or plugins/ to bump the plugin version and check the manifests user-invocable: true model: sonnet effort: medium allowed-tools: - Edit(**/.claude-plugin/*.json) - Bash(python3 .claude/skills/publish-plugins/scripts/check_manifest_sync.py:*) - Bash(python3 .claude/skills/publish-plugins/scripts/check_skill_descriptions_sync.py:*) - Bash(claude plugin validate:*) - Bash(claude plugin test:*) - Bash(npx -y skills@latest add . -l) metadata: internal: true
Prepare the repo's plugins for release: work out which ones changed, bump their versions, and check the manifests still describe what is on disk.
Each plugin owns its version in its own `.claude-plugin/plugin.json`, and the repo-root `.claude-plugin/marketplace.json` carries no `version` fields:
| Plugin | Manifest | | ------------------------- | ------------------------------------------------------------ | | `hal-skills` | `skills/.claude-plugin/plugin.json` | | `hal-output-styles` | `plugins/hal-output-styles/.claude-plugin/plugin.json` | | `hal-grammar-check` | `plugins/hal-grammar-check/.claude-plugin/plugin.json` | | `hal-session-auto-rename` | `plugins/hal-session-auto-rename/.claude-plugin/plugin.json` | | `hal-voice` | `plugins/hal-voice/.claude-plugin/plugin.json` |
git diff --name-only origin/main...
`skills/**` belongs to `hal-skills`, `plugins/<name>/**` to that plugin. Only the plugins with changes are candidates for a bump.
For each candidate, compare the working-tree version against `origin/main`:
git show origin/main:skills/.claude-plugin/plugin.json
If a plugin's version already differs from `origin/main`, it was bumped for unreleased work. **Do not bump it again.** Only bump a plugin whose version still matches `origin/main`. Check each candidate independently — a change under `skills/` says nothing about whether `hal-voice` needs a bump.
Commit a bump made on its own through the `commit` skill with no argument: its subject already says why a bump exists.
python3 .claude/skills/publish-plugins/scripts/check_manifest_sync.py
Every plugin is described twice on purpose: once in its own `.claude-plugin/plugin.json` and once as an entry in `.claude-plugin/marketplace.json`. For each plugin the script checks that
It exits non-zero naming each problem. Fix the manifests it names, then run it again.
python3 .claude/skills/publish-plugins/scripts/check_skill_descriptions_sync.py
For every skill under `skills/`, check that `interface.short_description` in `agents/openai.yaml` matches its description in both `README.md` and `skills/README.md` exactly. Treat the README descriptions as the source of truth. Keep descriptions as single-line double-quoted strings. Fix missing entries or mismatches, then rerun until the check passes.
claude plugin validate . claude plugin validate ./skills claude plugin validate ./plugins/hal-output-styles claude plugin validate ./plugins/hal-grammar-check claude plugin validate ./plugins/hal-session-auto-rename claude plugin validate ./plugins/hal-voice
The first call validates the marketplace manifest; the rest validate each plugin manifest.
claude plugin test ./plugins/hal-grammar-check claude plugin test ./plugins/hal-session-auto-rename
These two plugins are mods (hooks modules with `tests/*.test.ts`); `make test` and CI run only the Python tests. Fix the failing test or the module, then rerun until every test passes; a command that fails to start is not a pass.
npx -y skills@latest add . -l
This lists what `npx skills add vinta/hal-9000` will offer, reading the working tree instead of the published repo, and installs nothing. Every skill has to appear under the `Hal Skills` heading with a count matching the `skills` list. A skill listed without that heading means the `hal-skills` marketplace entry lost its `name` or its `skills` array — that CLI reads only the two manifests at the repo root, so it never sees `skills/.claude-plugin/plugin.json`.
Opinionated AI coding agent and dev environment automation for macOS that dominates your dev setup like cats rule the Internet. This project is named after Arthur C.
(project) Use when upgrading install tasks in playbooks/roles/ against upstream docs — bumping a pinned version, adopting a newly…
Use when auditing Claude Code or Codex settings and env vars against the latest docs to suggest tailored changes
Use when about to choose, configure, or refine a tool, library, config format, API pattern, or project setup, or before proposing…
Use when the user asks for a blindspot pass or to find their unknown unknowns, or signals unfamiliarity with a domain, tool, or…
Use when making any git commit. Pass the failure, false claim, or risk the changes fix as the argument; for an addition or a…
Compare A vs B, weigh pros and cons of A, B, C, ..., or explain the nuance between sentences — a quick answer from what the model…