branch-creating

tom237ttkk's avatarfrom tom237ttkk

ブランチ作成時のルール

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 23, 2025

When & Why to Use This Skill

This Claude skill streamlines version control workflows by enforcing standardized Git branching rules and naming conventions. It ensures repository integrity by mandating that all work originates from the main branch, prohibiting direct pushes to production code, and applying a consistent 'type/date-description' format for feature and hotfix branches to improve traceability and team collaboration.

Use Cases

  • Standardizing Team Workflows: Automatically apply consistent branch naming patterns (e.g., feature/251128-add-link-check) across a development team to maintain a clean and searchable Git history.
  • Workflow Governance: Prevent accidental direct commits to the main branch by guiding developers to create appropriate sub-branches for every task or bug fix.
  • Emergency Hotfix Management: Quickly generate correctly formatted hotfix branches for urgent production issues, ensuring they are easily distinguishable from routine feature development.
namebranch-creating
descriptionブランチ作成時のルール

ブランチ運用

  • すべて main から分岐。main への直接 push は禁止。
  • 命名:
    • 通常は、feature/<yymmdd>-<短い説明>(例: feature/251128-add-link-check)
    • 緊急修正は hotfix/<yymmdd番号>-<短い説明>。