From tsuga
GitHub CLI for inspecting workflow runs, PRs, commits, releases, and deployments. Use to correlate an incident window with what changed, verify whether a merged PR actually deployed, inspect a specific commit, list recent releases, or check workflow run status. Read-only by default.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tsuga:ghThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Answer "what changed and what shipped." Pair with local `git` for exact file diffs.
Answer "what changed and what shipped." Pair with local git for exact file diffs.
Authenticated from GH_TOKEN at container start. Smoke-test: gh auth status.
gh run list -R owner/repo --created ">=2026-04-20T14:00" --json name,status,conclusion,createdAt,headSha,url,event
gh run list -R owner/repo --workflow deploy.yml --branch main --limit 20 --json conclusion,createdAt,headSha,url
gh run view <run-id> -R owner/repo --log
gh run view <run-id> -R owner/repo --json jobs
Green run ≠ change in prod. Red run ≠ nothing rolled out. Check per-env deploy status.
# PRs merged in a window
gh search prs --repo owner/repo --merged --merged-at "2026-04-20..2026-04-21" --json number,title,mergedAt,url,author
# PRs touching a path
gh search prs --repo owner/repo --merged -- "path/to/service"
# PR matching a SHA
gh pr list -R owner/repo --state merged --search "<sha>" --json number,title,mergedAt,url
# PR details
gh pr view <number> -R owner/repo --json files,title,body,mergedAt,author,url
gh pr diff <number> -R owner/repo
gh release list -R owner/repo --limit 10 --json tagName,name,publishedAt,isLatest
gh release view <tag> -R owner/repo --json body,tagName,publishedAt,assets
gh api repos/owner/repo/commits --jq '.[] | {sha, author: .commit.author.name, date: .commit.author.date, message: .commit.message | split("\n")[0]}' --paginate | head -40
gh api repos/owner/repo/commits/<sha> --jq '.files[] | .filename'
gh api repos/owner/repo/deployments --paginate --jq '.[] | {id, environment, created_at, sha, ref}' | head -20
gh api repos/owner/repo/deployments/<id>/statuses --jq '.[] | {state, created_at, description}'
gh issue list -R owner/repo --search "<keyword> in:title,body" --state open --json number,title,url,createdAt
gh issue view <number> -R owner/repo --json title,body,comments
gh api repos/OWNER/REPO/actions/runs --jq '.workflow_runs[0]'
gh api 'repos/OWNER/REPO/commits?since=2026-04-20T00:00:00Z&until=2026-04-21T00:00:00Z' --paginate
gh = remote history. git = exact file content in the incident window.
git log --since="2026-04-20 09:00" --until="2026-04-20 12:00" --oneline --decorate
git show <sha> --stat
git diff <old_sha>..<new_sha> -- path/to/config path/to/helm
git blame path/to/file.yaml
If git status is dirty, the working tree is NOT a safe proxy for the incident window. Warn before drawing conclusions.
merged ≠ deployed. Check workflow run / release / deployment status.main ≠ prod on every repo. Some deploy from release branch or tagged commit.Every change candidate includes:
deployed | merged only | unknown)Example citation: PR #4421 merged 2026-04-20T13:45Z, deployed via run #8192 at 14:02Z, touched services/payments/db.py [evidence: gh_pr, gh_run].
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub tsuga-dev/agent-plugins --plugin tsuga