AGENT SKILL

代码审查

code-review

暂无简介

License 许可
MIT
最近更新
2026-11-13
Stars
★ 816
Forks
92

02 资源文件 4

03 SKILL.md 正文

Validating of change file (change/*.json) change type

To determine correctness of a package's semver change type in a beachball change file, first read its package.json to get the version and private values.

If the package is private, it should not have a change file.

For non-private packages, the minimum type should be as follows depending on the package's version (the user may also specify a more significant type):

Package version Consumer impact Minimum type
Any No consumer-visible effect (e.g. test-only or internal doc changes) none
Prerelease Any consumer-visible effect prerelease
Stable 0.x Breaking API or behavior change minor
Stable 0.x Any other consumer-visible change patch
Stable >=1.0.0 Breaking API or behavior change major
Stable >=1.0.0 New backward-compatible public functionality minor
Stable >=1.0.0 Backward-compatible fix or behavior correction patch

For stable 0.x packages, they should not use type: "minor" unless there are breaking changes (this is a common mistake).

04 同仓库更多 Skills