Data & analytics
name: bump-version
description: Bump the Logic-Lens version across all six metadata locations at once (package.json, the four plugin manifests, and the README badge), then validate. Use when cutting a release or when
bump-version
Bump the Logic-Lens version across all six metadata locations at once (package.json, the four plugin manifests, and the README badge), then validate. Use when cutting a release or when `npm run validate` reports a version mismatch.
hyhmrright · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add hyhmrright/logic-lens --skill bump-versionAbout this skill
name: bump-version
description: Bump the Logic-Lens version across all six metadata locations at once (package.json, the four plugin manifests, and the README badge), then validate. Use when cutting a release or when npm run validate reports a version mismatch.
disable-model-invocation: true
bump-version
Logic-Lens keeps the version in six places (see CLAUDE.md → Version Sync). Hand-editing them drifts; validate-repo.sh only detects drift. This skill rewrites all six atomically via scripts/bump-version.py.
Steps
- Pick the target version. If the user passed one in
$ARGUMENTS, use it. Otherwise readpackage.json's currentversionand ask whether to bump patch / minor / major. - Run the bump from the repo root:
It rewrites thenpm run bump-version -- <new-version> # e.g. npm run bump-version -- 0.7.0versionfield inpackage.json,.claude-plugin/plugin.json,.claude-plugin/marketplace.json,.codex-plugin/plugin.json,gemini-extension.json, and theREADME.mdbadge — preserving formatting — then runsvalidate-repo.sh. - Confirm the run ends with "All checks passed." If any file is reported as a mismatch, stop and report which one — do not hand-edit around the script.
- CHANGELOG.md is not touched. For a real release, add a
CHANGELOG.mdentry for the new version yourself.