Back to skills
extension
Category: Development & EngineeringNo API key required

gh-adding-items-to-projects

Adds an issue or PR to a GitHub Project. Use to link repository work to a project board.

personAuthor: 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>