feat(ai-skills): 添加 AI 全局技能库

创建 ai-skills/ 目录,包含所有 AI 助手共享的技能规范:

- gitea-api.md: Gitea API 使用指南

- issue-workflow.md: 工单处理标准流程

- menu-config.md: 菜单配置规范

- commit-standards.md: 提交规范

- README.md: 使用说明
This commit is contained in:
2026-06-04 10:04:03 +08:00
parent 32c7db7e49
commit 8896b9aa58
5 changed files with 227 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
# 提交规范
## 语义化前缀
| 前缀 | 说明 | 示例 |
|------|------|------|
| `feat:` | 新功能 | feat(menu): 添加收银系统菜单 |
| `fix:` | 修复问题 | fix(order): 修复订单计算错误 |
| `docs:` | 文档更新 | docs: 更新 README |
| `chore:` | 杂项 | chore: 更新依赖版本 |
| `test:` | 测试相关 | test: 添加单元测试 |
| `refactor:` | 重构 | refactor: 优化查询逻辑 |
## 提交信息格式
```
<type>(<scope>): <subject>
<body>
<footer>
```
## 关联工单
在提交信息中关联工单:
```
feat(menu): 添加收银系统菜单配置
- 新增 cashier.json 菜单配置文件
- 包含6个子菜单
对应工单 #2
```
## 推送命令
```bash
# 远程名称是 gitea,不是 origin
git push gitea main
```