·gh-cli
</>

gh-cli

strantalis/agent-skills

通过 GitHub CLI (`gh`) 标准化所有 GitHub 交互,而不是临时 URL、UI 点击或直接 REST API 调用。在需要读取或更改 GitHub 状态(仓库、issues、PR、审查、检查状态、Actions 工作流/运行、发布、标签、里程碑、讨论、gists)并需要确定性输出时使用(首选 `--json` + `--jq`)。当用户提供 GitHub URL(包括深层链接如 `https://github.com/OWNER/REPO/pull/123`、`.../issues/123`、`.../pull/123/files` 或评论永久链接如 `#issuecomment-...`)并需要获取底层 PR/issue/线程并回复时也使用。仅当没有一级 `gh NOUN VERB` 命令时才回退到 `gh api`。

3安装·0热度·@strantalis

安装

$npx skills add https://github.com/strantalis/agent-skills --skill gh-cli

SKILL.md

Use gh for GitHub operations with explicit repo targeting, JSON output, and command help-driven discovery of flags/fields. Avoid scraping human-readable output and avoid raw REST calls unless you must (use gh api as the controlled fallback).

Use skills/gh-cli/references/gh-commands.md for a categorized command reference with examples for:

Run a quick environment/context capture when debugging auth/repo targeting problems:

通过 GitHub CLI (`gh`) 标准化所有 GitHub 交互,而不是临时 URL、UI 点击或直接 REST API 调用。在需要读取或更改 GitHub 状态(仓库、issues、PR、审查、检查状态、Actions 工作流/运行、发布、标签、里程碑、讨论、gists)并需要确定性输出时使用(首选 `--json` + `--jq`)。当用户提供 GitHub URL(包括深层链接如 `https://github.com/OWNER/REPO/pull/123`、`.../issues/123`、`.../pull/123/files` 或评论永久链接如 `#issuecomment-...`)并需要获取底层 PR/issue/线程并回复时也使用。仅当没有一级 `gh NOUN VERB` 命令时才回退到 `gh api`。 来源:strantalis/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/strantalis/agent-skills --skill gh-cli
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 gh-cli?

通过 GitHub CLI (`gh`) 标准化所有 GitHub 交互,而不是临时 URL、UI 点击或直接 REST API 调用。在需要读取或更改 GitHub 状态(仓库、issues、PR、审查、检查状态、Actions 工作流/运行、发布、标签、里程碑、讨论、gists)并需要确定性输出时使用(首选 `--json` + `--jq`)。当用户提供 GitHub URL(包括深层链接如 `https://github.com/OWNER/REPO/pull/123`、`.../issues/123`、`.../pull/123/files` 或评论永久链接如 `#issuecomment-...`)并需要获取底层 PR/issue/线程并回复时也使用。仅当没有一级 `gh NOUN VERB` 命令时才回退到 `gh api`。 来源:strantalis/agent-skills。

如何安装 gh-cli?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/strantalis/agent-skills --skill gh-cli 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/strantalis/agent-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01

相关 Skills

暂无