# Github

> Manage GitHub repositories via the gh CLI. Use when working with issues, PRs, releases, or repository settings.

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

---


# gh

Use `gh` to interact with GitHub.

## Common Commands

### Issues
- List issues: `gh issue list`
- View issue: `gh issue view <number>`
- Create issue: `gh issue create --title "Title" --body "Description"`
- Close issue: `gh issue close <number>`

### Pull Requests
- List PRs: `gh pr list`
- View PR: `gh pr view <number>`
- Create PR: `gh pr create --title "Title" --body "Description"`
- Checkout PR: `gh pr checkout <number>`
- Merge PR: `gh pr merge <number> --merge`
- Review PR: `gh pr review <number> --approve`

### Repositories
- Clone: `gh repo clone <owner>/<repo>`
- View repo: `gh repo view`
- Create repo: `gh repo create <name> --public`

### Releases
- List releases: `gh release list`
- Create release: `gh release create v1.0.0 --title "Release" --notes "Notes"`

## Notes
- Requires `gh auth login` for authentication
- Use `--json` flag for machine-readable output

