GitHub Operations
Unified GitHub workflow skill for Claude Code. Covers the functionality of:
github:github— repo, PR, issue managementgithub:gh-address-comments— address PR review commentsgithub:gh-fix-ci— diagnose and fix CI failuresgithub:yeet— quick commit + push + draft PR
All operations use the gh CLI (GitHub CLI) and standard git commands.
Commands
/github-ops yeet
Quick ship: stage → commit → push → open draft PR.
git statusto see changesgit diff --stagedandgit diffto understand changes- Stage relevant files (prefer explicit paths over
git add -A) - Commit with a descriptive message
- Push to remote with
-uflag gh pr create --draftwith auto-generated title and body
/github-ops fix-ci
Diagnose and fix CI/GitHub Actions failures.
gh run list --limit 5to find recent runsgh run view <id> --log-failedto get failure logs- Analyze the failure (build error, test failure, lint issue, etc.)
- Fix the root cause in code
- Commit and push the fix
- Verify with
gh run watchif applicable
/github-ops address-comments
Address PR review comments.
gh pr view <number>to get PR detailsgh api repos/{owner}/{repo}/pulls/{number}/commentsto get review comments- For each comment:
- Read the referenced file and line
- Implement the requested change
- Stage the fix
- Commit all fixes with a message referencing the review
- Push to the PR branch
/github-ops pr [action]
PR management.
create— create PR with summary and test planview [number]— view PR details and statusmerge [number]— merge PR (after checks pass)list— list open PRs
/github-ops issue [action]
Issue management.
create— create issue from descriptionview [number]— view issue detailslist— list open issuesclose [number]— close issue with comment
Rules
- Never force push without user confirmation
- Never skip hooks (--no-verify) without user confirmation
- Prefer specific file staging over
git add -A - Always include Co-Authored-By in commits when Claude Code writes the code
- Check
git statusbefore any destructive operation