# Github Tool

> GitHub連携ツール。Issue・PRの一覧取得・作成をgh CLI経由で行う。 Use when: IssueやPRの作成・一覧、リポジトリ操作、GitHub上のタスク確認が必要なとき。

- Skill: `xuiltul/github-tool-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add xuiltul/github-tool-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xuiltul/github-tool-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: xuiltul (https://skillmd.com/u/xuiltul)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/xuiltul/github-tool-2

---


# GitHub ツール

GitHubのIssue・PRをgh CLI経由で操作する外部ツール。

## 呼び出し方法

**Bash**: `animaworks-tool github <サブコマンド> [引数]` で実行

## アクション一覧

### list_issues — Issue一覧
```bash
animaworks-tool github issues [--repo OWNER/REPO] [--state open] [--limit 20]
```

### create_issue — Issue作成
```bash
animaworks-tool github create-issue --title TITLE --body BODY [--labels LABELS]
```

### list_prs — PR一覧
```bash
animaworks-tool github prs [--repo OWNER/REPO] [--state open] [--limit 20]
```

### create_pr — PR作成
```bash
animaworks-tool github create-pr --title TITLE --body BODY --head BRANCH [--base main]
```
- `draft` (任意, デフォルト: false): ドラフトPRとして作成するか

## CLI使用法

```bash
animaworks-tool github issues [--repo OWNER/REPO] [--state open] [--limit 20]
animaworks-tool github create-issue --title TITLE --body BODY [--labels LABELS]
animaworks-tool github prs [--repo OWNER/REPO] [--state open] [--limit 20]
animaworks-tool github create-pr --title TITLE --body BODY --head BRANCH [--base main]
```

## 注意事項

- gh CLI がインストール済みで認証済みであること
- --repo 省略時はカレントディレクトリのリポジトリを使用

