A solid GitHub CLI wrapper that covers the full spectrum of gh operations, from PR creation to API calls. The standout bit is the NOJIRA prefix convention for bypassing JIRA enforcement, which tells you this came from a real enterprise environment. It bundles five reference docs covering PR workflows, issue management, Actions, API endpoints, and shell scripting patterns for bulk operations. Most useful when you're automating GitHub tasks or working in an org with specific conventions around PR titles and workflow triggers. The quick reference section alone will save you from googling gh syntax constantly.
npx -y skills add daymade/claude-code-skills --skill github-ops --agent claude-codeInstalls into .claude/skills of the current project.
This skill provides comprehensive guidance for GitHub operations using the gh CLI tool and GitHub REST/GraphQL APIs. Use this skill when performing any GitHub-related tasks including pull request management, issue tracking, repository operations, workflow automation, and API interactions.
This skill activates for tasks involving:
# Create PR with NOJIRA prefix (bypasses JIRA enforcement checks)
gh pr create --title "NOJIRA: Your PR title" --body "PR description"
# List and view PRs
gh pr list --state open
gh pr view 123
# Manage PRs
gh pr merge 123 --squash
gh pr review 123 --approve
gh pr comment 123 --body "LGTM"
📚 See references/pr_operations.md for comprehensive PR workflows
PR Title Convention:
GR-1234: Descriptive titleNOJIRA: Descriptive title# Create and manage issues
gh issue create --title "Bug: Issue title" --body "Issue description"
gh issue list --state open --label bug
gh issue edit 456 --add-label "priority-high"
gh issue close 456
📚 See references/issue_operations.md for detailed issue management
# View and manage repos
gh repo view --web
gh repo clone owner/repo
gh repo create my-new-repo --public
# Manage GitHub Actions
gh workflow list
gh workflow run workflow-name
gh run watch run-id
gh run download run-id
📚 See references/workflow_operations.md for advanced workflow operations
The gh api command provides direct access to GitHub REST API endpoints. Refer to references/api_reference.md for comprehensive API endpoint documentation.
Basic API operations:
# Get PR details via API
gh api repos/{owner}/{repo}/pulls/{pr_number}
# Add PR comment
gh api repos/{owner}/{repo}/issues/{pr_number}/comments \
-f body="Comment text"
# List workflow runs
gh api repos/{owner}/{repo}/actions/runs
For complex queries requiring multiple related resources, use GraphQL. See references/api_reference.md for GraphQL examples.
# Login to GitHub
gh auth login
# Login to GitHub Enterprise
gh auth login --hostname github.enterprise.com
# Check authentication status
gh auth status
# Set default repository
gh repo set-default owner/repo
# Configure gh settings
gh config set editor vim
gh config set git_protocol ssh
gh config list
Control output format for programmatic processing:
# JSON output
gh pr list --json number,title,state,author
# JSON with jq processing
gh pr list --json number,title | jq '.[] | select(.title | contains("bug"))'
# Template output
gh pr list --template '{{range .}}{{.number}}: {{.title}}{{"\n"}}{{end}}'
📚 See references/best_practices.md for shell patterns and automation strategies
Most Common Operations:
gh pr create --title "NOJIRA: Title" --body "Description" # Create PR
gh pr list # List PRs
gh pr view 123 # View PR details
gh pr checks 123 # Check PR status
gh pr merge 123 --squash # Merge PR
gh pr comment 123 --body "LGTM" # Comment on PR
gh issue create --title "Title" --body "Description" # Create issue
gh workflow run workflow-name # Run workflow
gh repo view --web # Open repo in browser
gh api repos/{owner}/{repo}/pulls/{pr_number} # Direct API call
Comprehensive pull request operations including:
Load this reference when working with complex PR workflows or bulk operations.
Detailed issue management examples including:
Load this reference when managing issues at scale or setting up issue workflows.
Advanced GitHub Actions workflow operations including:
Load this reference when working with CI/CD workflows or debugging failed runs.
Shell scripting patterns and automation strategies including:
Load this reference when building automation scripts or handling enterprise deployments.
Contains comprehensive GitHub REST API endpoint documentation including:
Load this reference when performing complex API operations or when needing detailed endpoint specifications.
cursor/plugins
github/awesome-copilot
alirezarezvani/claude-skills
microsoft/win-dev-skills