GitHub platform features - PRs, issues, actions, projects, and automation
Interacts with GitHub platform features including PRs, issues, actions, projects, and releases. Used when you need to create, view, list, update, close, or merge GitHub resources via API.
/plugin marketplace add pluginagentmarketplace/custom-plugin-git-github/plugin install custom-plugin-git-github@pluginagentmarketplace-git-githubThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/github_config.yamlreferences/GITHUB_GUIDE.mdscripts/github_helper.pyProduction-Grade Platform Skill | Version 2.0.0
Leveraging GitHub platform capabilities.
input:
type: object
properties:
feature:
type: string
enum: [pr, issue, actions, projects, releases]
operation:
type: string
enum: [create, list, view, update, close, merge]
target:
type: object
properties:
owner:
type: string
repo:
type: string
number:
type: integer
output:
type: object
required: [result, success]
properties:
result:
type: string
success:
type: boolean
url:
type: string
format: uri
rate_limit:
type: object
properties:
remaining: integer
retry_config:
max_attempts: 4
backoff_type: exponential
initial_delay_ms: 2000
max_delay_ms: 16000
jitter: true
retryable:
- 502_bad_gateway
- 503_service_unavailable
- 429_rate_limited
non_retryable:
- 401_unauthorized
- 404_not_found
rate_limit:
check_before_request: true
buffer_percentage: 10
on_limit_reached:
- wait_for_reset
- batch_remaining_operations
gh)# Auth
gh auth login
gh auth status
# PRs
gh pr create --title "Title" --body "Body"
gh pr list
gh pr merge 123 --squash
# Issues
gh issue create --title "Bug" --body "Description"
gh issue list --state open
# Actions
gh run list
gh run view 123
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: npm test
protection_rules:
- require_pull_request_reviews:
required_approving_review_count: 2
- require_status_checks:
strict: true
contexts: [ci, lint, test]
- allow_force_pushes: false
□ 1. Auth status: gh auth status
□ 2. Rate limits: gh api rate_limit
□ 3. CLI version: gh --version
| Error | Cause | Solution |
|---|---|---|
| "401 Unauthorized" | Invalid token | gh auth refresh |
| "403 Forbidden" | No permission | Check token scopes |
| "rate limit exceeded" | Too many calls | Wait for reset |
| Feature | CLI Command | Use Case |
|---|---|---|
| PRs | gh pr | Code review |
| Issues | gh issue | Bug tracking |
| Actions | gh run | CI/CD |
| Releases | gh release | Distribution |
logging:
events:
- api_call_completed
- rate_limit_warning
metrics:
- api_calls_per_session
- rate_limit_usage
"GitHub is not just hosting - it's a complete development platform."
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.