SuperAPI AI 工具集

conventional-commit

编程与开发

查看项目

更新于 10-16 05:47

技能介绍

用途:按照 Conventional Commits 规范(https://www.conventionalcommits.org/en/v1.0.0/)组织提交信息,使提交历史清晰、一致且可机器读取。适用于编码前起草提交信息、评审提交信息质量、建立团队提交约定,以及生成自动化变更日志或版本管理。

主要能力:提供提交类型表(feat、fix、docs、style、refactor、perf、test、build、ci、chore、revert)及各自含义;规定头部格式 <type>[optional scope]: <description>,描述须用祈使句现在时、首字母不大写、结尾不加句号、通常控制在 50 字符内;正文用项目符号列出具体改动,说明 what 与 why,每项也用祈使句,每行 72 字符换行;页脚用于破坏性变更与问题引用,破坏性变更必须以 BREAKING CHANGE: 开头,可写 Closes #123 或 Related to #456;scope 为可选,放在类型后的括号内,标识受影响的代码部分,如 auth、ui、api、database、docs。

使用方式:按类型模板编写,例如 feat: <short description>、fix: <short description>、docs: <short description>、style: <short description>、refactor: <short description>、perf: <short description>、test: <short description>、build: <short description>、ci: <short description>、chore: <short description>、revert: <original commit message>。

限制:资料未提供安装命令、平台支持、收费或价格信息;该技能本身不执行代码,仅用于提交信息的编写与审查。