github

GitHub

通过 gh CLI 管理 GitHub PR、Issue、CI 运行及 API 查询,支持日志查看与 JSON 过滤。

skills/github/SKILL.md wukongrobot/wukongbot

Trigger Scenarios

检查 PR CI 状态 列出工作流运行 查看失败步骤日志 使用 gh api 进行高级数据查询

Install

npx skills add wukongrobot/wukongbot --skill github -g -y
More Options

Use without installing

npx skills use wukongrobot/wukongbot@github

指定 Agent (Claude Code)

npx skills add wukongrobot/wukongbot --skill github -a claude-code -g -y

安装 repo 全部 skill

npx skills add wukongrobot/wukongbot --all -g -y

预览 repo 内 skill

npx skills add wukongrobot/wukongbot --list

SKILL.md

Frontmatter
{
    "name": "github",
    "metadata": {
        "moltbot": {
            "emoji": "🐙",
            "install": [
                {
                    "id": "brew",
                    "bins": [
                        "gh"
                    ],
                    "kind": "brew",
                    "label": "Install GitHub CLI (brew)",
                    "formula": "gh"
                },
                {
                    "id": "apt",
                    "bins": [
                        "gh"
                    ],
                    "kind": "apt",
                    "label": "Install GitHub CLI (apt)",
                    "package": "gh"
                }
            ],
            "requires": {
                "bins": [
                    "gh"
                ]
            }
        }
    },
    "description": "Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries."
}

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)"'

Version History

  • 2a72816 Current 2026-08-20 10:14

Same Skill Collection

extensions/open-prose/skills/prose/SKILL.md
skills/1password/SKILL.md
skills/apple-notes/SKILL.md
skills/apple-reminders/SKILL.md
skills/bear-notes/SKILL.md
skills/bird/SKILL.md
skills/blogwatcher/SKILL.md
skills/blucli/SKILL.md
skills/bluebubbles/SKILL.md
skills/browserwing-executor/SKILL.md
skills/clawdhub/SKILL.md
skills/coding-agent/SKILL.md
skills/eightctl/SKILL.md
skills/gemini/SKILL.md
skills/gifgrep/SKILL.md
skills/gog/SKILL.md
skills/goplaces/SKILL.md
skills/himalaya/SKILL.md
skills/imsg/SKILL.md
skills/local-places/SKILL.md
skills/mcporter/SKILL.md
skills/model-usage/SKILL.md
skills/nano-banana-pro/SKILL.md
skills/nano-pdf/SKILL.md
skills/notion/SKILL.md
skills/obsidian/SKILL.md
skills/openai-image-gen/SKILL.md
skills/openai-whisper-api/SKILL.md
skills/openai-whisper/SKILL.md
skills/openhue/SKILL.md
skills/oracle/SKILL.md
skills/ordercli/SKILL.md
skills/peekaboo/SKILL.md
skills/session-logs/SKILL.md
skills/sherpa-onnx-tts/SKILL.md
skills/skill-creator/SKILL.md
skills/slack/SKILL.md
skills/songsee/SKILL.md
skills/sonoscli/SKILL.md
skills/spotify-player/SKILL.md
skills/summarize/SKILL.md
skills/things-mac/SKILL.md
skills/tmux/SKILL.md
skills/trello/SKILL.md
skills/video-frames/SKILL.md
skills/voice-call/SKILL.md
skills/wacli/SKILL.md
skills/weather/SKILL.md
skills/camsnap/SKILL.md

Metadata

Files
0
Version
2a72816
Hash
d746070b
Indexed
2026-08-20 10:14

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 05:18
浙ICP备14020137号-1