github

GitHub

提供GitHub CLI工具gh的使用指南,涵盖PR检查、工作流运行监控、日志查看及高级API查询,辅助开发者高效管理代码仓库与CI状态。

bundled-workspaces/mino/.claude/skills/github/SKILL.md hAcKlyc/MyAgents

Trigger Scenarios

查询PR的CI检查结果 查看或过滤GitHub Actions运行日志 通过API获取仓库或Issue结构化数据

Install

npx skills add hAcKlyc/MyAgents --skill github -g -y
More Options

Non-standard path

npx skills add https://github.com/hAcKlyc/MyAgents/tree/main/bundled-workspaces/mino/.claude/skills/github -g -y

Use without installing

npx skills use hAcKlyc/MyAgents@github

指定 Agent (Claude Code)

npx skills add hAcKlyc/MyAgents --skill github -a claude-code -g -y

安装 repo 全部 skill

npx skills add hAcKlyc/MyAgents --all -g -y

预览 repo 内 skill

npx skills add hAcKlyc/MyAgents --list

SKILL.md

Frontmatter
{
    "name": "github",
    "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

  • fbbd574 Current 2026-11-24 23:45

Same Skill Collection

bundled-agents/myagents_helper/.claude/skills/support/SKILL.md
bundled-agents/myagents_helper/.claude/skills/tool-install/SKILL.md
bundled-guides/external-myagents-cli/SKILL.md
bundled-skills/myagents-anydoc/SKILL.md
bundled-skills/myagents-docs/SKILL.md
bundled-skills/myagents-memory-gardener/SKILL.md
bundled-skills/myagents-memory-molt/SKILL.md
bundled-skills/myagents-memory-update/SKILL.md
bundled-skills/myagents-speech-recognition/SKILL.md
bundled-skills/myagents-task-alignment/SKILL.md
bundled-skills/myagents-task-automation/SKILL.md
bundled-skills/officecli/SKILL.md
bundled-skills/skill-creator/SKILL.md
bundled-skills/tool-creator/SKILL.md
bundled-workspaces/mino/.claude/skills/apple-notes/SKILL.md
bundled-workspaces/mino/.claude/skills/apple-reminders/SKILL.md
bundled-workspaces/mino/.claude/skills/bird/SKILL.md
bundled-workspaces/mino/.claude/skills/peekaboo/SKILL.md
bundled-workspaces/mino/.claude/skills/remotion-best-practices/SKILL.md
bundled-skills/download-anything/SKILL.md
bundled-skills/hatch-pet/SKILL.md
bundled-skills/prompt-writer/SKILL.md
bundled-skills/myagents-cli/SKILL.md

Metadata

Files
0
Version
fbbd574
Hash
1b891a48
Indexed
2026-11-24 23:45

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-25 02:04
浙ICP备14020137号-1