1---2name: github-workflow3description: GitHub interactions for issues, PRs, releases, and repository management4---56# GitHub Workflow78A comprehensive suite of GitHub workflow skills using the `gh` CLI and GitHub MCP tools.910## Input Sanitization1112- Repository names: `owner/repo` format, alphanumeric with hyphens and underscores only — reject shell metacharacters and null bytes13- Issue/PR numbers: positive integers only14- Labels and milestone names: alphanumeric, hyphens, underscores, spaces, and colons only1516## Available Skills1718### Issue Management19| Skill | Purpose | Invoke |20|-------|---------|--------|21| `/gh-issue` | Create/link/close issues | `gh-issue`, `create issue` |22| `/gh-triage` | Batch label and prioritize | `gh-triage`, `triage issues` |2324### Pull Request Workflow25| Skill | Purpose | Invoke |26|-------|---------|--------|27| `/gh-pr-status` | Check PR status, CI, merge readiness | `gh-pr-status`, `pr status` |28| `/gh-pr-request` | Request reviewers | `gh-pr-request`, `request review` |29| `/gh-pr-respond` | View/respond to review comments | `gh-pr-respond`, `pr comments` |30| `/gh-pr-merge` | Merge PR with strategy | `gh-pr-merge`, `merge pr` |31| `/gh-pr-update` | Update PR branch with base | `gh-pr-update`, `update pr` |3233### Releases & Tags34| Skill | Purpose | Invoke |35|-------|---------|--------|36| `/gh-release` | Create release with changelog | `gh-release`, `new release` |37| `/gh-tag` | Semantic version tagging | `gh-tag`, `create tag` |38| `/gh-changelog` | Generate changelog from PRs | `gh-changelog`, `release notes` |3940### Repository Status41| Skill | Purpose | Invoke |42|-------|---------|--------|43| `/gh-health` | Repository health dashboard | `gh-health`, `repo status` |44| `/gh-mine` | My assigned/mentioned items | `gh-mine`, `my issues` |45| `/gh-activity` | Recent activity summary | `gh-activity`, `what happened` |4647## Quick Reference4849```bash50# Issue workflow51/gh-issue create # Create new issue52/gh-triage # Triage open issues5354# PR workflow55/gh-pr-status # Check current PR56/gh-pr-request @user # Request review57/gh-pr-respond # Handle comments58/gh-pr-merge # Merge when ready5960# Release workflow61/gh-changelog # Generate notes62/gh-tag v1.2.0 # Create tag63/gh-release # Create release6465# Dashboard66/gh-health # Repo overview67/gh-mine # My items68/gh-activity # Recent activity69```7071## Gotchas7273- `gh` commands without `--json` output human-readable tables that are unreliable to parse — always use `--json field1,field2` for programmatic use74- `gh api` results are paginated (30 items default) — use `--paginate` for complete results or `--jq` to filter75- `gh pr create` from a branch with no upstream fails — always `git push -u origin <branch>` first76- `gh pr merge --auto` requires branch protection rules enabled on the repo — fails silently without them77- `hub` CLI syntax is deprecated and incompatible with `gh` — never suggest `hub` commands78- `gh issue create --label` fails if the label doesn't exist — create labels first with `gh label create`7980## Related Skills8182- `/commit` - Create commits with conventional messages83- `/commit-push-pr` - Full commit, push, and PR workflow84- `/git-*` - Local git operations85- `/review-pr` - Review pull requests