Github

👤 nidhov01 📦 v1.0.0 ⭐ 3.9 ⬇️ 1K 下載
💻 開發程式設計 免費

📖 技能介紹


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.

更多技能請訪問小蔥技能站7w4.net。

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

🤖 AI 評測

這個 Skill 質量中規中矩,提供了基本的 GitHub 操作指南,文件清晰易懂,示例可以直接使用。但內容比較基礎,只覆蓋了 PR 檢查和 CI 查詢等幾個場景,缺少對其他常用功能的說明。對於想深入使用 GitHub 的使用者來說,指導內容可能不夠全面,需要配合官方文件一起使用。整體而言,作為入門參考尚可,但還有較大的改進空間。

📊 多維度評分

適應性3.8
規範性3.8
有效性4
可靠性3.7
可信度4.3

📁 包含檔案 (2 個)

📄 SKILL.md 1.1 KB
📄 _meta.json 134 B