c-github
关于
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.
快速安装
Claude Code
推荐npx skills add daxaur/openpaw -a claude-code/plugin add https://github.com/daxaur/openpawgit clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-github在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
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 仓库
相关推荐技能
executing-plans
设计该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。
requesting-code-review
设计该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。
connect-mcp-server
设计这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。
web-cli-teleport
设计该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。
