Skip to content

/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.

From plugin
1511 skills3 agents6 commands1 hooks
shell
$ npx -y skills add hyhmrright/logic-lens --skill bump-version --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/bump-version
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

bump-version.SKILL.md
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

1. **Pick the target version.** If the user passed one in `$ARGUMENTS`, use it. Otherwise read `package.json`'s current `version` and ask whether to bump patch / minor / major. 2. **Run the bump** from the repo root:

   npm run bump-version -- <new-version>     # e.g. npm run bump-version -- 0.7.0

It rewrites the `version` field in `package.json`, `.claude-plugin/plugin.json`, `.claude-plugin/marketplace.json`, `.codex-plugin/plugin.json`, `gemini-extension.json`, and the `README.md` badge — preserving formatting — then runs `validate-repo.sh`. 3. **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. 4. **CHANGELOG.md is not touched.** For a real release, add a `CHANGELOG.md` entry for the new version yourself.

Read it on GitHub ↗
Ships withlogic-lens

Logic-first AI code review via semi-formal execution tracing (Premises → Trace → Divergence → Trigger → Remedy). Catches behavioral bugs, type-contract breaches & async hazards that linters miss. Six skills · Claude Code · Codex CLI · Gemini CLI.

Get the whole plugin, auto-invoked
Stats
15
Stars
0
Views
1
Forks
Maintained
Maintenance
Python
Language
MIT
License
2mo ago
Last commit
3mo ago
Created

Repo: hyhmrright/logic-lens

Other skills on logic-lens.