返回 Skill 列表
extension
分类: 开发与工程无需 API Key

branch-name

在为Git分支命名时,提供项目推荐的分支命名约定指南。

person作者: jakexiaohubgithub

Basic Policy

  • Prioritize branch names that clearly indicate their purpose at a glance
  • Use a structure of prefix + / + identifier
  • Use lowercase and kebab-case for the identifier
  • Do not use characters other than alphanumeric and allowed symbols

Prefix List

  • feat: Add new features
  • fix: Fix bugs in existing features
  • hotfix: Urgent fixes that need immediate deployment
  • refactor: Refactoring without changing functionality
  • chore: Non-functional tasks such as dependency updates and CI configuration adjustments
  • docs: Adding or modifying documentation (not related to functionality)
  • test: Adding or modifying test code (not related to functionality)
  • release: Release preparation tasks

Identifier Naming Rules

  • Keep branch names short and meaningful
  • Connect words using kebab-case
  • Include the issue number at the beginning if the branch is based on an issue
  • Write identifiers in English