/toolsmith:edit-plugin [plugin-name] [bump-type: patch|minor] [changelog]from toolsmith
Automates agent-skills plugin version bumps and release metadata. Use when adding/removing/updating skills or commands, bumping plugin version, or preparing a release.
Ships in toolsmith. 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.
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 reminderWhat SKILL.md sets; muted values are Claude Code's defaults
sonnet5 skills in this plugin
/edit-claudeCreates, updates, or optimizes CLAUDE.md files following Anthropic best practices. Use when user requests creating, updating, improving, or optimizing CLAUDE.md files for project context, coding standards, or persistent memory./edit-toolCreates, modifies, and orchestrates Claude Code tools (skills, agents, scripts). Use when user requests creating, updating, improving, or editing any Claude Code extension — skills, sub-agents, slash commands, script wrappers. Triggers include "create/make/new skill/command/agent/script", "tool for X", "slash command", "sub-agent", "prompt audit", "audit prompt", file paths with /skills/, /agents/. For plugin version bumps and release metadata, route directly to edit-plugin./npx claudepluginhub digital-stoic-org/agent-skills --plugin toolsmithOther plugins' skills for the same job