th0rgal/sandboxed-library-template/github-cli
Claude Code and agent skill by th0rgal/sandboxed-library-template
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Interact with GitHub using the gh CLI - PRs, issues, repos, releases, and actions. Trigger terms: github, gh, pull request, PR, issue, release, actions, workflow, repo.
Install
npx vskill@latest install th0rgal/sandboxed-library-template/github-cliSKILL.md
The same SKILL.md was published earlier as th0rgal/sandboxed-library-template/github-cli.
Use when
- Creating, viewing, or merging pull requests
- Managing issues (create, close, comment)
- Checking workflow/action status
- Creating releases
- Cloning or forking repos
Don't use when
- Local git operations (use
gitdirectly) - Non-GitHub remotes (GitLab, Bitbucket)
Outputs
- PRs, issues, releases, or action logs in GitHub (no local files unless explicitly created).
Templates or Examples
- Use the command tables below as templates.
Prerequisites
ghCLI installed- SSH key configured for GitHub access
Quick Reference
Pull Requests
| Action | Command | |
|---|---|---|
| List PRs | gh pr list | |
| View PR | gh pr view <number> | |
| Create PR | gh pr create --title "..." --body "..." | |
| Checkout PR | gh pr checkout <number> | |
| Merge PR | gh pr merge <number> | |
| PR diff | gh pr diff <number> | |
| PR checks | gh pr checks <number> |
Issues
| Action | Command | |
|---|---|---|
| List issues | gh issue list | |
| View issue | gh issue view <number> | |
| Create issue | gh issue create --title "..." --body "..." | |
| Close issue | gh issue close <number> | |
| Comment | gh issue comment <number> --body "..." |
Repos & Releases
| Action | Command | |
|---|---|---|
| Clone | gh repo clone <owner>/<repo> | |
| Fork | gh repo fork <owner>/<repo> | |
| View repo | gh repo view | |
| Create release | gh release create <tag> --title "..." --notes "..." | |
| List releases | gh release list |
Actions & Workflows
| Action | Command | |
|---|---|---|
| List runs | gh run list | |
| View run | gh run view <run-id> | |
| Watch run | gh run watch <run-id> | |
| Rerun failed | gh run rerun <run-id> --failed | |
| List workflows | gh workflow list |
API & GraphQL
REST API:
GraphQL (for data not exposed by gh pr view):
Pagination: If pageInfo.hasNextPage is true, repeat with after: "<endCursor>".
Procedure
- Ensure
gh auth statusshows authenticated - Use
gh pr listorgh issue listto find items - Perform action with appropriate command
- Verify with
gh pr checksorgh run list - Always use a heredoc with --body-file or a specific encoding that supports \n correctly
Checks & Guardrails
- Always check PR status before merging
- Use
--draftfor work-in-progress PRs - Prefer
gh pr merge --squashfor clean history - Check
gh run listafter pushing to verify CI - Use GraphQL for review threads (
gh pr viewdoesn't expose them) - Handle pagination when results exceed 100 items
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill/github-cli/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/th0rgal/sandboxed-library-template/github-cli)