# Github

GitHub via gh, issues, PRs, reviews, search, and CI runs.

- Repository: https://github.com/codewhale-hq/Codewhale (41164 stars)
- Category: Git and review
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add codewhale-hq/Codewhale --skill github -g -a claude-code -y`
Codex: `npx skills add codewhale-hq/Codewhale --skill github -g -a codex -y`
Cursor: `npx skills add codewhale-hq/Codewhale --skill github -g -a cursor -y`
Gemini CLI: `npx skills add codewhale-hq/Codewhale --skill github -g -a gemini-cli -y`

## Description

GitHub via gh, issues, PRs, reviews, search, and CI runs. Use when: user mentions a repo, issue, PR, review, release, workflow run, or anything on github.com.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# GitHub

## When to use
Any GitHub work: read or triage issues, open or review PRs, search code,
check CI runs, manage releases.

## Setup
Requires the `gh` CLI, authenticated. Fail loud when it is missing:

```
gh auth status || gh auth login
```

Never proceed with `curl` against api.github.com as a silent fallback, `gh` owns auth, pagination, and output shape.

## Workflow
1. Confirm the repo (`owner/name`) and, for mutations, the exact target.
2. Read: `gh issue view`, `gh pr view`, `gh pr diff`, `gh search`, `gh run view`.
3. Mutate only when asked: `gh issue create`, `gh pr create`, `gh pr review`,
   `gh pr merge`. Mutations need explicit user intent, not inference.
4. Quote what `gh` returned; never summarize a diff or check rollup you did not read.

## Non-goals
- Do not merge, close, or approve on your own initiative.
- Do not invent issue/PR numbers or check conclusions.
- Do not push, retag, or rewrite history without explicit authorization.

