github
GitHub Skill
Use the gh CLI to interact with GitHub. Always specify --repo owner/repo when not in a git directory, or use URLs directly.
Pull Requests
Check CI status on a PR:
gh pr checks 55 --repo owner/repo
List recent workflow runs:
gh run list --repo owner/repo --limit 10
View a run and see which steps failed:
gh run view <run-id> --repo owner/repo
View logs for failed steps only:
gh run view <run-id> --repo owner/repo --log-failed
API for Advanced Queries
The gh api command is useful for accessing data not available through other subcommands.
Get PR with specific fields:
gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
JSON Output
Most commands support --json for structured output. You can use --jq to filter:
gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'
More from wanikua/danghuangshang
novel-prose
小说写作技法 - 当需要逐章执笔创作小说正文时触发。关键词:写作、执笔、章节、正文、创作。
39novel-memory
小说记忆系统 - 基于工作区文件的持久化记忆,管理角色设定、章节摘要、伏笔追踪等。关键词:记忆、存储、查询、设定、知识管理。
28novel-worldbuilding
小说架构设计 - 当用户需要设计小说大纲、人物档案、世界观、伏笔台账时触发。关键词:大纲、世界观、人物设定、架构设计、故事规划。
21novel-review
小说章节审核 - 当需要校对、审核小说章节质量时触发。关键词:审核、校对、审稿、检查、质量评估。
20weather
Get current weather and forecasts (no API key required).
5notion
Notion API for creating and managing pages, databases, and blocks.
5