Agent skill
gh-cli
Interact with GitHub repositories, PRs, and issues using the `gh` CLI. Use when the user asks to "list PRs", "check out PR", "view issue", or "create release".
Install this agent skill to your Project
npx add-skill https://github.com/lollipopkit/cc-skills/tree/main/gh-cli
SKILL.md
Use GitHub CLI
Instructions
- Ensure gh is available and authenticated: run
gh auth status(do not use --show-token); respect GH_HOST if set. Prefer GH_TOKEN/GITHUB_TOKEN env auth; never print tokens or add them to files. - Set repo context explicitly with
--repo owner/nameor by checking the current repo viagh repo view; avoid assuming defaults. - Prefer structured output with
--jsonfields and--limitto keep responses concise (e.g.,gh pr list --state open --json number,title,author,headRefName,baseRefName,url --limit 20). - Common reads:
gh pr view <number> --json number,title,state,author,mergedAt,commits,files,comments,url,gh issue list --state all --json number,title,state,author,url --limit 30,gh release list --limit 20,gh release view <tag> --json tagName,name,publishedAt,url. - For write operations (create/update PRs, issues, comments, releases), confirm intent and required fields; use
--title,--body, or--body-filewithout secrets. Avoid noisy outputs; capture URLs/results only. - When checking out PRs locally, use
gh pr checkout <number>and handle branch existence gracefully; do not alter remotes or push unless explicitly requested.
Example prompts
- "List open PRs with authors for repo owner/name using gh"
- "Show issue 42 details and comments via gh"
- "Checkout PR 17 locally with gh"
- "Draft release v1.2.0 on repo owner/name using gh"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
use-zfeats
Plan and execute complex features using markdown checklists. Use when the user asks to "plan a feature", "create a checklist", or "break down a task".
use-fllib
Use fl_lib stores, widgets, utils, and extensions in Flutter apps. Use when requests mention fl_lib APIs or integration.
supabase-rest
Inspect Supabase database schemas and data. Use when the user asks to "check table", "list columns", or "query data" in Supabase. READ-ONLY.
flutter-std
Build and debug Flutter/Dart apps with Riverpod (codegen), Freezed, and GoRouter. Use when implementing Flutter features, running apps, hot reload/restart, or debugging UI.
context7-mcp
Retrieve official library documentation and API references. Use when the user asks for "docs", "API signature", "usage examples", or "how to use" a specific package.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?