AgentSkillsCN

lazy-bump

快速进行补丁版本升级流程——运行测试、在package.json及所有版本引用中更新版本号、提交更改、推送代码、重新链接二进制文件,并进行验证。在被要求升级版本、发布补丁版本、增加版本号、制作补丁,或发布新版本时使用此流程。

SKILL.md
--- frontmatter
name: lazy-bump
description: Quick patch version bump workflow — run tests, bump version in package.json and all version references, commit, push, relink binaries, and verify. Use when asked to bump the version, do a patch release, increment the version number, cut a patch, or publish a new version.

Lazy Bump

Quick patch bump workflow for projects with a package.json.

Steps

  1. Check current version in package.json BEFORE bumping
  2. Run all tests
  3. Patch bump version (package.json and any other version references in the repo)
  4. Commit and push
  5. Update binary links using the project's standard toolchain (e.g., bun link / npm link / install -g)
  6. Verify version from global PATH with the installed binary: <binary> --version