Creating GitHub Issues
Purpose
Enables the creation of new issues using the gh issue create command.
1. Safety & Verification
- •Mandatory Context: Ensure
gh-verifying-contexthas been run and confirmed by the user. - •Human-in-the-Loop: You MUST present the full command and the issue content (Title, Body) to the user before execution.
- •Repository Check: Confirm the target repository name and owner with the user.
- •Sensitivity Check: Do not include internal credentials, server IPs, or proprietary snippets in the issue body.
2. Common Workflows
Workflow: Create Basic Issue
Creates an issue with a title and body.
Command:
bash
gh issue create --title "My Title" --body "My Description"
Workflow: Create with Labels, Assignees, and Projects
Sets metadata and links to a project board at creation time.
Command:
bash
gh issue create --title "Bug Report" --body "Steps to repro..." --label "bug" --assignee "@me" --project "Roadmap"
3. Output Handling
Returns the URL of the created issue.