GitHub状态审计
sodejm2026-10-25查看 845复制 1831
当托管状态很重要时,生成一份聚焦的、只读的 GitHub issues、pull requests、reviews、checks、branches 和可合并性快照。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md980 chars
--- name: github-state-audit description: Produce a focused, read-only snapshot of GitHub issues, pull requests, reviews, checks, branches, and mergeability when hosted state matters. --- # GitHub state audit Use only when current GitHub state is relevant and network access is authorized. This workflow is read-only. 1. Confirm the repository and smallest relevant issue, PR, branch, or workflow. 2. Query live GitHub state with `gh` or the GitHub API; do not substitute local or remembered state for current hosted evidence. 3. Reconcile head/base commits, PR state, review decision, unresolved threads, required checks, mergeability, and branch protection as applicable. 4. Distinguish missing evidence from a negative result and note the observation timestamp when the state may change. 5. Report concise evidence and the next decision. Do not comment, rerun, label, close, merge, or otherwise mutate GitHub. Never expose authentication output or credentials.