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

gh-linking-branches-to-issues

创建并链接一个开发分支到一个问题。用于开始实现工作。

person作者: jakexiaohubgithub

Linking Branches to Issues

Purpose

Manages development branches using the gh issue develop command.

1. Safety & Verification

  • Mandatory Context: Ensure gh-verifying-context has been run and confirmed by the user.
  • Human-in-the-Loop: You MUST confirm the branch name and the target issue with the user before creation.
  • Repository Check: Ensure you are in the correct repository (work vs personal) before creating a branch.

2. Common Workflows

Workflow: Create Linked Branch

Creates a new branch and links it to the issue.

Command:

gh issue develop <issue-number> --name "feature-x"