gh-cli

仓库创建 2013年3月8日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由

把 gh 的帮助输出整理为机器可用的 API 参考,方便自动化调用

▸ 风险提示

执行 gh 命令可能需要有效的 GitHub 令牌与权限。

这个 Skill 做什么

为 GitHub CLI (gh) 提供结构化的命令参考与用法指南。

把 GitHub CLI(`gh`)的命令和常用 flags 整理成结构化的参考手册,说明每个子命令的用法和常见场景。适合需要快速拼命令、学习新子命令或把操作脚本化时查阅。特点是比原生 --help 更有条理,覆盖认证、repo、PR 等常见工作流。

▸ 展开 SKILL.md 英文原文

A skill for the GitHub CLI (`gh`)

开发编程GitHubCLI命令参考通用
61
Stars
19
Forks
4
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/jeremyckahn/dotfiles/master/opencode/.config/opencode/skills/gh-cli/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/jeremyckahn/dotfiles/master/opencode/.config/opencode/skills/gh-cli/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
## What I do

This skill serves as a comprehensive, structured API guide for the GitHub CLI (`gh`). It synthesizes the full command set, detailing how each command and subcommand works across major functionalities, effectively acting as a structured reference manual derived from the raw `--help` output.

**Command Summaries (Key Usage & Flags):**

- **`gh auth`**: Manages authentication (`login`, `logout`, `refresh`). Use `gh auth status` to check the current state.
- **`gh repo`**: Manages repositories (`create`, `list`, `clone`, `view`, `delete`, `fork`, `rename`). Use `gh repo clone OWNER/REPO` to copy a repository.
- **`gh issue`**: Manages issues (`create`, `list`, `view`, `close`, `com
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有