模板详情

Conventional Commits 与发布说明规则

轻量模板,用于保持 AI 生成的提交和发布总结一致,而不增加过多流程负担。

CursorClaude CodeCodexContinueCLAUDE.mdAGENTS.md.cursorrules
365投票
6,190安装量
已验证状态

安装预览

命令仍是 MVP 预览。真实使用前请检查目标文件和覆盖行为。

npx rulesmarket add conventional-commits-release
返回模板库
AGENTS.md or CLAUDE.md
# Commit and Release Rules

- Use Conventional Commits when writing commit messages: feat, fix, docs, refactor, test, chore.
- Keep the subject line concise and imperative.
- Mention user-facing behavior changes before implementation details.
- For PR summaries, include what changed, how it was verified and known risks.
- Do not claim tests passed unless they were actually run.
- Keep changelog entries factual and grouped by feature, fix and maintenance.

它会强制提交风格吗?

它只指导 AI 输出,真正的强制仍由仓库 hooks 或 CI 决定。

可以配合 semantic-release 使用吗?

可以,但需要把 scope 和 release rules 映射到你的项目配置。