flyeric0212-cursor-history-links-git-rule.ocm.json json Copy{
"ocm": "1",
"id": "flyeric0212-cursor-history-links-git-rule",
"kind": "skill",
"name": "git",
"description": "辅助生成 git 提交信息",
"publisher": "flyeric0212",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-cursor-rules"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"辅助生成 git 提交信息"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-cursor-rules",
"repository": "https://github.com/flyeric0212/cursor-history-links",
"path": ".cursor/rules/git.mdc",
"ref": "90cd47d686c0e4bbe2ed5a1b7db920fe60254bab",
"url": "https://github.com/flyeric0212/cursor-history-links/blob/90cd47d686c0e4bbe2ed5a1b7db920fe60254bab/.cursor/rules/git.mdc",
"key": "flyeric0212/cursor-history-links/.cursor/rules/git.mdc"
}
},
"instructions": "# Git 规范\n\n## 提交规范\ngit 提交记录样例:[type]: [description]。一个具体的例子, docs: 更新 README 文件。\n以下是 type 的枚举值:\n- feat: 新增功能\n- fix: 修复 bug\n- docs: 文档注释\n- style: 代码格式(不影响代码运行的变动)\n- refactor: 重构、优化(既不增加新功能, 也不是修复bug)\n- perf: 性能优化\n- test: 增加测试\n- chore: 构建过程或辅助工具的变动\n- revert: 回退\n- build: 打包\n\n## 分支管理\n- main/master: 主分支,保持稳定可发布状态\n- develop: 开发分支,包含最新开发特性\n- feature/*: 功能分支,用于开发新功能\n- bugfix/*: 修复分支,用于修复bug\n- release/*: 发布分支,用于准备发布\n\n## 重要原则\n- **重要**:不要自动提交 git 代码,除非有明确的提示\n- 提交前确保代码通过所有测试\n- 保持提交信息简洁明了,描述清楚变更内容\n- 避免大型提交,尽量将变更分解为小的、相关的提交",
"cost": {
"context_tokens": 128
}
}