SuperAPI AI 工具集

gh-cli

编程与开发

查看项目

更新于 10-16 03:43

技能介绍

用途:GitHub CLI 技能用于在命令行中连接本地开发与 GitHub 远程仓库,覆盖 Issue、PR、仓库操作、工作流触发与 API 查询。主要能力包括:管理 Issue(gh issue list、gh issue create --title "Bug" --body "Description"、gh issue view 123);管理 Pull Request(gh pr list、gh pr create --fill、gh pr checkout 456、gh pr merge --squash);管理 Release(gh release list、gh release create v1.0.0 --generate-notes);以及 API 查询(gh api repos/{owner}/{repo}/issues、gh api graphql -f query='{ viewer { login } }')。支持扩展,可安装并运行,例如 gh extension install dlvhdr/gh-dash 与 gh dash。资料还提到 GF(3) 集成,可用标签标注三元状态,例如 gh issue edit 123 --add-label "ternary:+",以及 canonical triads 的示例组合。使用方式:在已配置 GitHub 认证的环境中直接执行上述 gh 命令。适用场景:需要在终端中完成仓库协作、代码审查、发布与自动化查询的开发者与团队。限制:资料未提供具体认证步骤、平台支持范围、权限要求、收费信息及版本兼容性,相关细节暂未提供。