github - Manage GitHub repositories, issues, pull requests, and stacks
Use gh CLI recipes to query and modify GitHub repositories, issues, labels, pull requests, and native stacked pull requests.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Manage repositories
- Create and edit labels
- Create and query issues
- Comment on issues
- Create and update pull requests
- Initialize and synchronize stacks
- Normalize stack metadata
- Classify retryable failures
Inputs
- Repository identifier
- Repository checkout
- Git remote name
- Issue or pull request data
- Branch topology
- Label taxonomy
- GitHub account
Outputs
- Repository changes
- Issue changes
- Label changes
- Pull request records
- Stack metadata
- Publication failure records
- Command status
Requirements
- GitHub CLI 2.0+
- github/gh-stack extension
- jq
- GitHub authentication
- Target repository access
