SuperAPI AI 工具集

kf-g-github-operations-bot-workflow

办公与效率

查看项目

更新于 10-15 20:24

技能介绍

用途:该 SKILL.md 作为入口,处理 GitHub 操作全般(issue / PR / comment / review、repository metadata 与 remote context),以及 AI agent 以 GitHub App bot 凭证进行投稿的场景,还包括判断 ~/.agents/credentials/github 的有无与 setup 方法、处理 commit / push 时的 gitleaks 检测。

主要能力与规则:写入 gate 规定 AI agent 的 GitHub 写入仅可在同一 session 内首次写入前完成完整 bot preflight 成功之后执行;调用方需设置唯一的 AI_AGENT_GITHUB_SESSION_ID,后续写入即使有有效 session marker 也每次重新发行 installation token;未设置 session ID 时每次写入都执行完整 preflight;preflight 失败则显示 setup 步骤并停止,禁止回退到人工 gh / GH_TOKEN。

使用方式:先读 basic-policy.md;GitHub 写入前读 preflight-write-gate.md;确认操作目标读 repository-context.md;确认 GitHub App 凭证 setup 读 github-app-credentials.md;投稿 issue / PR comment 或 PR review 读 bot-comment-review.md;在 description、comment、reply 中写 URL 读 description-comment-links.md;处理 gitleaks 检测读 gitleaks.md;作业完成前确认 checklist.md。其他参考文件包括 rollout.md(本地 / CI 分阶段导入步骤)。

限制:资料仅给出上述规则与阅读顺序,未提供具体命令、价格、平台或效果信息,暂未提供。