Back to Skills

c-github

daxaur
Updated 2 days ago
3 views
143
6
143
View on GitHub
Designgithubgitprsissuesactionscireposapi

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

Recommended
Primary
npx skills add daxaur/openpaw -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/daxaur/openpaw
Git CloneAlternative
git clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-github

Copy 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

  1. Default to the current repo context when no --repo flag is specified.
  2. Use jq to filter and format gh api JSON output for readability.
  3. For bulk operations, pipe gh issue list --json number,title into jq.
  4. Always confirm before closing issues or merging PRs.

Notes

  • Requires gh auth login to be completed before use.
  • Install: brew install gh and brew install jq

GitHub Repository

daxaur/openpaw
Path: skills/c-github
0
ai-agentanthropicautomationclaudeclaude-codecli

Related Skills

executing-plans

Design

Use 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.

View skill

requesting-code-review

Design

This 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.

View skill

connect-mcp-server

Design

This 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.

View skill

web-cli-teleport

Design

This 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.

View skill