Claude-night-market version-updates
Bump versions, update changelogs, and coordinate version changes across files for releases
install
source · Clone the upstream repo
git clone https://github.com/athola/claude-night-market
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/athola/claude-night-market "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/sanctum/skills/version-updates" ~/.claude/skills/athola-claude-night-market-version-updates && rm -rf "$T"
manifest:
plugins/sanctum/skills/version-updates/SKILL.mdsource content
Version Update Workflow
When To Use
Use this skill when preparing a release or bumping the project version. Run
Skill(sanctum:git-workspace-review) first to capture current changes.
When NOT To Use
- Just documentation updates - use doc-updates
- Full PR preparation - use pr-prep
Required TodoWrite Items
version-update:context-collectedversion-update:target-filesversion-update:version-setversion-update:docs-updatedversion-update:verification
Step 1: Collect Context (context-collected
)
context-collected- Confirm which version to apply (default: bump patch).
- If the prompt provides an explicit version, note it.
- validate
has already captured the repository status.Skill(sanctum:git-workspace-review)
Step 2: Identify Targets (target-files
)
target-files- Find ALL configuration files that store versions using recursive search:
- Root level:
,Cargo.toml
,package.jsonpyproject.toml - Nested directories: Use glob to find
,*/pyproject.toml
,*/Cargo.toml*/package.json - Example:
must be includedplugins/memory-palace/hooks/pyproject.toml - Exclude virtual environments (
,.venv
,node_modules
) using grep -vtarget/
- Root level:
- Include changelog and README references that mention the version.
- Use:
find plugins -name "pyproject.toml" -o -name "Cargo.toml" | grep -v ".venv"
Step 3: Update Versions (version-set
)
version-set- Automated approach: Use
to update all version filesplugins/sanctum/scripts/update_versions.py <version>- Supports pyproject.toml, Cargo.toml, package.json
- Automatically excludes virtual environments
- Finds nested version files (e.g.,
)plugins/memory-palace/hooks/pyproject.toml - Use
flag first to preview changes--dry-run
- Manual approach: Update each target file with the new version
- For semantic versions, follow
or the specified formatMAJOR.MINOR.PATCH - If the project supports multiple packages, document each update
- For semantic versions, follow
Step 4: Update Documentation (docs-updated
)
docs-updated- Add or update changelog entries with today's date.
- Refresh README and docs references to mention the new version and any release notes.
Critical Documentation Files with Version References
These files contain version numbers and MUST be checked during version bumps:
| File | Content |
|---|---|
| Plugin inventory table with all plugin versions |
| Version history and release notes |
| May reference version-specific features |
| Plugin READMEs | May mention plugin versions |
Scan for Additional Version References
# Find all docs mentioning the OLD version grep -r "1\.2\.6" docs/ book/ --include="*.md" | grep -v node_modules # Common patterns to search: # - "v1.2.6", "1.2.6", "(v1.2.6)" # - Version tables in markdown # - "Added in X.Y.Z" annotations
Update Sequence
- Update config files (pyproject.toml, plugin.json, etc.) - automated
- Update
- add new version sectionCHANGELOG.md - Update
- update version table and plugin detailsdocs/api-overview.md - Scan for other version references and update as needed
Step 5: Verification (verification
)
verification- Run relevant builds or tests if version bumps require them (e.g.,
,cargo test
).npm test - Show
andgit status -sb
excerpts to confirm the version bumps.git diff
Output Instructions
- Summarize the files changed and the new version number.
- Mention follow-up steps, such as publishing or tagging, if applicable.