From dstoic
Automates agent-skills plugin version bumps and release metadata. Use when: adding/removing/updating skills or commands, bumping plugin version, preparing a release. Triggers: bump version, edit plugin, update plugin, release, version bump, new skill added, new command added.
npx claudepluginhub digital-stoic-org/agent-skills --plugin dstoicThis skill is limited to using the following tools:
Resolve → Detect → Version → Update → Review
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Resolve → Detect → Version → Update → Review
CRITICAL: After EVERY AskUserQuestion call, check if answers are empty/blank. Known Claude Code bug: outside Plan Mode, AskUserQuestion silently returns empty answers without showing UI.
If answers are empty: DO NOT proceed with assumptions. Instead:
Determine PLUGIN_DIR (relative to repo root, e.g. dstoic, biz, gtd):
$ARGUMENTS: If first arg matches a dir with .claude-plugin/plugin.json → use it.claude-plugin/plugin.json → derive plugin name from parent dir.claude-plugin/plugin.json)Read current version from ${PLUGIN_DIR}/.claude-plugin/plugin.json.
${CLAUDE_PLUGIN_ROOT}/skills/edit-plugin/scripts/detect-changes.sh <repo-root> <plugin-dir>
If no changes detected, ask user what to include.
Auto-detect from changes:
minor: new skill/command added, breaking changespatch: updates, bug fixes, doc changesUser override via $ARGUMENTS (e.g., biz minor "Add ux-strategize").
${CLAUDE_PLUGIN_ROOT}/skills/edit-plugin/scripts/bump-version.sh <current-version> <patch|minor>
Atomic — never partially update. Two tiers:
Required: ${PLUGIN_DIR}/.claude-plugin/plugin.json — always update.
Discovered: Grep repo root for old version string. Filter results:
${PLUGIN_DIR}/ + repo-root metadata files referencing this plugin.git/, this skill's SKILL.md, this skill's reference.mdmarketplace.json: Only update plugins[name=${PLUGIN_DIR}].version entry. Update metadata.version only if this plugin is the primary (currently dstoic).Present discovered file list to user before updating. Use Edit tool: old version → new version.
See reference.md for version patterns.
Skip this step if no adds/removes in detected changes.
Grep repo for count patterns (N skills, N commands, N hooks) in files referencing ${PLUGIN_DIR}. Update only matching files. See reference.md for count patterns.
Show summary: version change, changes list, files updated. WAIT for user confirmation before git ops.
$ARGUMENTS, default /home/mat/dev/agent-skills/reference.md for version/count patterns and cache sync reminder