From 8725a79135bf0df608d38277833fbaf442d860cb Mon Sep 17 00:00:00 2001 From: Action <2848154284@qq.com> Date: Tue, 24 Mar 2026 21:25:54 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=20Conventional=20Com?= =?UTF-8?q?mits=20=E6=8F=90=E4=BA=A4=E8=A7=84=E8=8C=83=20steering=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .kiro/steering/commit-convention.md | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .kiro/steering/commit-convention.md diff --git a/.kiro/steering/commit-convention.md b/.kiro/steering/commit-convention.md new file mode 100644 index 0000000..59eaa51 --- /dev/null +++ b/.kiro/steering/commit-convention.md @@ -0,0 +1,33 @@ +--- +inclusion: always +--- + +# 提交规范(Conventional Commits) + +所有 git commit 必须遵循以下格式: + +``` +(): <描述> + +[可选正文] +``` + +## 类型说明 + +| 类型 | 含义 | +|------|------| +| feat | 新功能 | +| fix | Bug 修复 | +| refactor | 重构(不改变功能) | +| docs | 文档更新 | +| chore | 构建脚本、依赖更新等 | +| style | 代码格式(不影响逻辑) | +| perf | 性能优化 | + +## 示例 + +``` +feat(danmaku): 添加弹幕字体大小设置 +fix(player): 修复 DASH MPD 解析在 Android 12 上崩溃的问题 +docs: 更新 README 快速开始步骤 +```