AgentSkillsCN

jira:branch

创建与 Jira 问题关联的 Git 分支。当用户希望“创建分支”、“为问题新建分支”、“Jira 分支”或“功能分支”时使用此技能。

SKILL.md
--- frontmatter
name: jira:branch
description: Create git branch linked to Jira issue. Use when the user wants to "create branch", "new branch for issue", "jira branch", or "feature branch".
version: 4.0.0

Jira Branch Creation

Create a git branch with naming convention linked to a Jira issue.

Usage

code
/jira:branch <issue-key>

Branch Naming

Format: [type]/[issue-key]-[short-description]

Examples:

  • feature/PROJ-123-user-authentication
  • bugfix/PROJ-456-login-timeout
  • hotfix/PROJ-789-security-patch

Features

  • Creates properly named branch
  • Links branch to Jira
  • Sets up tracking
  • Checks out branch

Related Commands

  • /jira:work - Start working on issue
  • /jira:commit - Commit to branch