Github

GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries.

Producible Updated

File contents

GitHub Skill

Use the gh CLI to interact with GitHub repositories, issues, PRs, and CI.

Common Commands

Pull Requests

gh pr list --repo owner/repo
gh pr view 55 --repo owner/repo
gh pr create --title "feat: add feature" --body "Description"
gh pr checks 55 --repo owner/repo

Issues

gh issue list --repo owner/repo --state open
gh issue create --title "Bug: something" --body "Details..."
gh issue close 42 --repo owner/repo

CI/Workflow Runs

gh run list --repo owner/repo --limit 10
gh run view <run-id> --repo owner/repo --log-failed

API Queries

gh api repos/owner/repo --jq '{stars: .stargazers_count, forks: .forks_count}'

Producible/cereworker-skills/tree/main/skills/github commit 747cad0b48

Frequently asked questions

npx skillmds@latest add producible/github