AGENT SKILL

bump-package-version

暂无简介

License 许可
MIT
最近更新
2026-05-27
Stars
★ 0
Forks
0

03 SKILL.md 正文

Bump package versions when changing extension or API

Use this skill when a change touches code or runtime behavior under extension/ or api/ in this repository.

Rule

  • Every edit to extension/ must include a version bump in extension/package.json.
  • Every edit to api/ must include a version bump in api/package.json.
  • If a change touches both, bump both packages in the same work.

How to apply it

  1. Decide the smallest valid semver bump for the affected package.
  2. If the latest released version is already ahead of the repo file, bump past the released version.
  3. Update the matching package.json before finishing the task.
  4. Mention the bump explicitly in the summary so it is visible in review.

Default policy

  • Use a patch bump for internal fixes, tooling changes, tests, or UX polish.
  • Use a minor bump for clearly user-visible new capability.
  • Do not leave extension or API edits behind without a package version change.

Validation checklist

  • [ ] extension/package.json version changed if anything under extension/ changed.
  • [ ] api/package.json version changed if anything under api/ changed.
  • [ ] The final summary calls out which package versions were bumped.

04 同仓库更多 Skills