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

gh-adding-items-to-projects

将一个问题或PR添加到GitHub项目中。用于将仓库工作链接到项目看板。

person作者: jakexiaohubgithub

Adding Items to Projects

Purpose

Links a resource to a project using the gh project item-add 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 target project (name and number) and the item being added with the user.
  • Verification: Use gh-listing-projects to ensure the project is the intended one.

2. Common Workflows

Workflow: Add Issue

Links an issue to a project.

Command:

gh project item-add <project-number> --owner <owner> --url <issue-url>