スキル一覧に戻る

c-github

daxaur
更新日 Yesterday
2 閲覧
143
6
143
GitHubで表示
デザインgithubgitprsissuesactionscireposapi

について

このClaudeスキルは、開発者が`gh` CLIと`jq`を使用してGitHubと対話し、PR、イシュー、リポジトリ、およびActionsワークフローを管理できるようにします。これらの操作のための一般的なコマンドを提供し、高度なシナリオや未対応のケースに対しては生のAPI呼び出しをサポートします。Claude Code内で直接GitHubタスクを自動化するためにご利用ください。

クイックインストール

Claude Code

推奨
メイン
npx skills add daxaur/openpaw -a claude-code
プラグインコマンド代替
/plugin add https://github.com/daxaur/openpaw
Git クローン代替
git 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

  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 リポジトリ

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

関連スキル

executing-plans

デザイン

executing-plansスキルは、完全な実装計画があり、それを管理されたバッチでレビューチェックポイントを設けながら実行する場合に使用します。このスキルは計画を読み込んで批判的にレビューした後、小さなバッチ(デフォルトは3タスク)でタスクを実行し、各バッチの間に進捗状況を報告してアーキテクトのレビューを受けます。これにより、品質管理チェックポイントが組み込まれた体系的な実装が保証されます。

スキルを見る

requesting-code-review

デザイン

このスキルは、コードレビュアーサブエージェントを起動し、処理を進める前に要件に対してコード変更を分析します。タスク完了後、主要な機能の実装後、またはmainブランチへのマージ前などに使用すべきです。このレビューは、現在の実装と元の計画を比較することで、問題を早期に発見するのに役立ちます。

スキルを見る

connect-mcp-server

デザイン

このスキルは、開発者がHTTP、stdio、またはSSEトランスポートを使用してMCPサーバーをClaude Codeに接続するための包括的なガイドを提供します。GitHub、Notion、カスタムAPIなどの外部サービスを統合するためのインストール、設定、認証、セキュリティについて解説しています。MCP統合のセットアップ、外部ツールの設定、またはClaudeのModel Context Protocolを扱う際にご利用ください。

スキルを見る

web-cli-teleport

デザイン

このスキルは、タスク分析に基づいて開発者がClaude Code WebとCLIインターフェースの選択を支援し、これらの環境間でのシームレスなセッションテレポーテーションを可能にします。Web、CLI、モバイル環境を切り替える際のセッション状態とコンテキストを管理することで、ワークフローを最適化します。様々な段階で異なるツールを必要とする複雑なプロジェクトにご活用ください。

スキルを見る