github

GitHub

提供GitHub CLI工具gh的使用指南,涵盖PR检查、工作流运行查看及API高级查询等场景,辅助开发者高效管理代码仓库与协作流程。

bot/workspace/skills/github/SKILL.md volcengine/OpenViking

触发场景

需要查看或管理Pull Request状态 查询CI/CD工作流运行记录与日志 通过API获取GitHub结构化数据

安装

npx skills add volcengine/OpenViking --skill github -g -y
更多选项

非标准路径

npx skills add https://github.com/volcengine/OpenViking/tree/main/bot/workspace/skills/github -g -y

不安装直接使用

npx skills use volcengine/OpenViking@github

指定 Agent (Claude Code)

npx skills add volcengine/OpenViking --skill github -a claude-code -g -y

安装 repo 全部 skill

npx skills add volcengine/OpenViking --all -g -y

预览 repo 内 skill

npx skills add volcengine/OpenViking --list

SKILL.md

Frontmatter
{
    "name": "github",
    "metadata": {
        "vikingbot": {
            "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)"'

版本历史

  • 98a0104 当前 2026-08-20 08:54

同 Skill 集合

agent-plugins/skills/openviking-memory/SKILL.md
benchmark/tau2/train/experience_loader_template/SKILL.md
bot/workspace/skills/github-proxy/SKILL.md
bot/workspace/skills/opencode/SKILL.md
bot/workspace/skills/skill-creator/SKILL.md
bot/workspace/skills/summarize/SKILL.md
bot/workspace/skills/tmux/SKILL.md
bot/workspace/skills/weather/SKILL.md
examples/claude-code-memory-plugin/skills/openviking-memory/SKILL.md
examples/claude-code-memory-plugin/skills/ov-experience-memory/SKILL.md
examples/codex-memory-plugin/skills/openviking-memory/SKILL.md
examples/codex-memory-plugin/skills/ov-experience-memory/SKILL.md
examples/compile/ov-compile-skills/daily-report/SKILL.md
examples/compile/ov-compile-skills/knowledge-distillation/SKILL.md
examples/compile/ov-compile-skills/llm-wiki/SKILL.md
examples/cursor-memory-plugin/skills/openviking-memory/SKILL.md
examples/dsh-memory-plugin/skills/openviking-memory/SKILL.md
examples/openclaw-plugin/skills/openviking-context-database/SKILL.md
examples/openclaw-plugin/skills/ov-experience-memory/SKILL.md
examples/skills/openviking-memory/SKILL.md
examples/skills/ov_dream/SKILL.md
examples/skills/ov-add-paper/SKILL.md
examples/skills/ov-experience-memory/SKILL.md
examples/skills/ov-server-operate/SKILL.md
examples/skills/ov-skills/SKILL.md
bot/workspace/skills/cron/SKILL.md
examples/claude-code-memory-plugin/skills/ov-memory-doctor/SKILL.md
examples/codex-memory-plugin/skills/ov-memory-doctor/SKILL.md
examples/compile/ov-compile-skills/knowledge-graph/SKILL.md
examples/openclaw-plugin/skills/install-openviking-memory/SKILL.md
examples/skills/ov-resources/SKILL.md

元信息

文件数
0
版本
460f57c
Hash
acea175f
收录时间
2026-08-20 08:54

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-03 12:23
浙ICP备14020137号-1 $访客地图$