Zeke Sikelianos
@zeke
Skill 发布消息管理依赖分支与 PR
帖子摘要
为 faster-gh-cli-skill 增加叠加 PR 指南,通过相互依赖的 PR 拆分大型改动,具体内容见关联的修订版。
用于 gh 操作的参考型 Skill,涵盖结构化读取、PR、issue 和 Actions 诊断。
zeke
仓库 zeke/faster-gh-cli-skill
适合代理需要核对 gh 命令写法、JSON 字段,或安全处理 Markdown 正文中的 shell 引号时使用。
源文档要求 gh、git、GitHub 网络访问和已认证的 gh 会话;部分示例还使用 jq。
指南首先核对当前账号与仓库:
gh auth status
gh repo view --json nameWithOwner,url,defaultBranchRef
git status
不在目标仓库的工作目录中操作时,示例使用 --repo owner/name 明确目标。
目录目前展示较早的源码。Zeke 在 10 月 7 日的 GitHub 修订版中增加了叠加 PR 指南,新增章节尚未进入本页展示的目录源码。指南要求在修改 GitHub 状态前先检查目标。
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
| name | faster-gh-cli-skill |
|---|---|
| description | GitHub CLI gh usage guide for agents. Load this skill whenever you are about to use gh, GitHub CLI, GitHub PRs, issues, comments, reviews, Actions runs, repositories, secrets, gists, stacked PRs, or gh api. Covers reliable command patterns, JSON field gotchas, shell quoting for Markdown bodies, non-interactive auth, pull request workflows, Actions log inspection, and common gh failure modes observed in real OpenCode sessions. |
复制这段 Prompt,发给你正在使用的 AI 助手。
Follow https://skillsmp.com/skill-install/prompt.md to install only the Agent Skill at https://github.com/zeke/faster-gh-cli-skill/tree/main.直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/zeke/faster-gh-cli-skill --skill faster-gh-cli-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
为 faster-gh-cli-skill 增加叠加 PR 指南,通过相互依赖的 PR 拆分大型改动,具体内容见关联的修订版。