c-github
About
This Claude Skill enables developers to interact with GitHub via the `gh` CLI and `jq` to manage PRs, issues, repositories, and Actions workflows. It provides common commands for these operations and supports raw API calls for advanced or uncovered scenarios. Use it for automating GitHub tasks directly within Claude Code.
Quick Install
Claude Code
Recommendednpx skills add daxaur/openpaw -a claude-code/plugin add https://github.com/daxaur/openpawgit clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-githubCopy and paste this command in Claude Code to install this skill
Documentation
What This Skill Does
Uses gh (GitHub CLI) and jq to manage GitHub resources including pull requests, issues, repositories, and Actions. Supports raw API calls for advanced queries.
CLI Tools: gh + jq
Pull Requests
gh pr list # List open PRs
gh pr view 123 # View PR details
gh pr create --title "Fix bug" --body "..." --base main
gh pr merge 123 --squash
gh pr checkout 123
gh pr review 123 --approve
Issues
gh issue list --state open
gh issue view 42
gh issue create --title "Bug" --body "..." --label bug
gh issue close 42
gh issue comment 42 --body "Fixed in #123"
Actions / CI
gh run list # List recent workflow runs
gh run view 123456789 # View run details
gh run watch # Watch current run live
gh workflow run deploy.yml
API Calls with jq
gh api repos/{owner}/{repo}/pulls | jq '.[].title'
gh api /user/repos | jq '.[].full_name'
gh api graphql -f query='{ viewer { login } }'
Usage Guidelines
- Default to the current repo context when no
--repoflag is specified. - Use
jqto filter and formatgh apiJSON output for readability. - For bulk operations, pipe
gh issue list --json number,titleintojq. - Always confirm before closing issues or merging PRs.
Notes
- Requires
gh auth loginto be completed before use. - Install:
brew install ghandbrew install jq
GitHub Repository
Related Skills
executing-plans
DesignUse the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
requesting-code-review
DesignThis skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.
connect-mcp-server
DesignThis skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.
web-cli-teleport
DesignThis skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.
