规范分支命名
原名:conventional-branch
根据任务类型生成一致、清楚、便于检索的 Git 分支名称。
中文 Skills 技能说明
适合创建功能、修复、发布或维护分支。先检查仓库当前状态和命名约定;真正创建、切换或删除分支前须确认目标,不覆盖未提交修改。
上游能力依据
上游原始适用说明:Create Git branches following the Conventional Branch specification (feature/, bugfix/, hotfix/, release/, chore/). Use when creating a new branch, naming a branch, or checking whether a branch name complies with the spec.
上游 SKILL.md 主要章节(保留原文标题):
- Branch Name Format
- Branch Types
- Trunk Branches
- Naming Rules
- Valid Examples
- Invalid Examples
- Description Guidelines
- Workflow
- Relationship with Conventional Commits
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/3f0bba475ec40b9680e1d0311b9caffeec5ad4c3/skills/conventional-branch
适用范围
平台:linux、macos、windows;标签:代码协作、规范分支命名
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。