AGENT SKILL
代码审查
code-review
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 816
- Forks
- 92
02 资源文件 4
- 参考文档comdev-mcp.md1.7 KB
- 参考文档runtime-routing.md2.0 KB
- 参考文档script-inventory.md4.3 KB
- 参考文档vetted-ops-drift.md4.5 KB
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).