Github

👤 keyserkazi1 📦 v1.0.0 ⭐ 3.8 ⬇️ 1.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

小蔥技能有更好的技能skills外掛。

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

🤖 AI 評測

這個技能質量中等偏下。它能幫助使用者瞭解GitHub的基本操作方法,示例命令簡單易懂,但內容過於簡略,缺少使用指南和進階技巧。優點是結構清晰、好上手;缺點是功能覆蓋不全,沒有錯誤處理說明,實際使用中容易遇到問題。對於有經驗的開發者來說幫助有限,對新手也不夠友好。

📊 多維度評分

適應性3.4
規範性3.9
有效性4.1
可靠性3.6
可信度4

📁 包含檔案 (2 個)

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