Use the GitHub CLI (gh) to perform core GitHub operations: auth status, repo create/clone/fork, issues, pull requests, releases, and basic repo management. Trigger for requests to use gh, manage GitHub repos, PRs, or issues from the CLI.
Use `gh` for authenticated GitHub operations from the terminal. Prefer explicit, idempotent commands and report URLs back to the user.
```bash
gh auth status
```
```bash
gh repo view --json nameWithOwner,url,defaultBranchRef
```
```bash
gh repo create OWNER/NAME --private --confirm --description "..."
```
If running inside a local repo, use `--source . --remote origin --push`.
```bash
gh repo clone OWNER/NAME
```
```bash
gh repo fork OWNER/NAME --clone
```
```bash
gh issue list --limit 20
```
```bash
gh issue create --title "..." --body "..."
```
```bash
gh issue comment <num> --body "..."
```
```bash
gh pr create --title "..." --body "..."
```
```bash
gh pr list --limit 20
```
```bash
gh pr view <num> --web
```
```bash
gh pr merge <num> --merge
```
```bash
gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."
```
Leave a review
No reviews yet. Be the first to review this skill!