github-cli
paulanunes85/three-horizons-accelerator/.github/skills/github-cli/SKILL.md
GitHub CLI operations for repository and workflow management
Skill2 starsChanged 8 months ago
- Commits and pushes
What's in it
- When to Use
- Prerequisites
- Commands
- Authentication
- Repository Operations
- Pull Request Operations
- Workflow Operations
- Issue Operations
- Best Practices
- Output Format
- Integration with Agents
--- name: github-cli description: GitHub CLI operations for repository and workflow management --- ## When to Use - GitHub API operations - Pull request management - Workflow triggering - Issue management ## Prerequisites - GitHub CLI installed and authenticated - Appropriate repository permissions ## Commands ### Authentication ```bash # Check auth status gh auth status # Login gh auth login ``` ### Repository Operations ```bash # Clone repository gh repo clone <owner/repo> # View repository gh repo view # Create repository gh repo create <name> --public --description "Description" ``` ### Pull Request Operations ```bash # Create PR gh pr create --title "Title" --body "Description" # List PRs gh pr list # View PR gh pr view <number> # Merge PR gh pr merge <number> --merge ``` ### Workflow Operations ```bash # List workflows gh workflow list # Run workflow gh workflow run <workflow-name> # View workflow run gh run view <run-id> # Watch workflow run gh run watch <run-id> ``` ### Issue Operations ```bash # Create issue gh issue create --title "Title" --body "Description" # List issues gh issue list # Close issue gh issue close <number> ``` ## Best Practices 1. Use gh api for advanced operations 2. Set default repository with gh repo set-default 3. Use --json flag for scripting 4. Authenticate with tokens for CI/CD ## Output Format 1. Command executed 2. Operation result 3. URLs for created resources 4. Next steps ## Integration with Agents Used by: @devops, @reviewer
More agent context in paulanunes85/three-horizons-accelerator
19 other files this repository gives its agents.
AGENTS.md
Copilot instructions
Skill
- ai-foundry-operations.github/skills/ai-foundry-operations/SKILL.md
- argocd-cli.github/skills/argocd-cli/SKILL.md
- aro-deployment.github/skills/aro-deployment/SKILL.md
- azure-cli.github/skills/azure-cli/SKILL.md
- azure-infrastructure.github/skills/azure-infrastructure/SKILL.md
- database-management.github/skills/database-management/SKILL.md
- deploy-orchestration.github/skills/deploy-orchestration/SKILL.md
- helm-cli.github/skills/helm-cli/SKILL.md
- kubectl-cli.github/skills/kubectl-cli/SKILL.md
- mcp-cli.github/skills/mcp-cli/SKILL.md
- observability-stack.github/skills/observability-stack/SKILL.md
- oc-cli.github/skills/oc-cli/SKILL.md
- openshift-operations.github/skills/openshift-operations/SKILL.md
- prerequisites.github/skills/prerequisites/SKILL.md
- rhdh-portal.github/skills/rhdh-portal/SKILL.md
- terraform-cli.github/skills/terraform-cli/SKILL.md
- validation-scripts.github/skills/validation-scripts/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

