Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计提醒

gh-fix-cigh 修复 ci

Agent Skill

gh-fix-ci 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

734

周安装

30

GitHub Stars

14

下载量

238
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gh-fix-ci(gh 修复 ci)
来源仓库:https://github.com/bahayonghang/my-claude-code-settings
仓库路径:skills/gh-fix-ci
安装命令:
npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill gh-fix-ci
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill gh-fix-ci

简介

gh-fix-ci 诊断 CI 失败原因并提供本地复现线索与修复建议。

  • 收集检查状态、日志片段与测试失败详情,输出机器友好 JSON。
  • 支持指定 PR 号或沿用当前分支,优先使用 rtk 工具链探索。
  • 需 gh auth login 认证后方可获取远程检查结果。
  • 修复方案仅为引导,最终变更应由开发者人工审核提交。

SKILL.md

  1. Verify gh auth status. If unauthenticated, ask user to run gh auth login.
  2. Identify PR using gh pr view --json number,url or $ARGUMENTS. If no PR is found on the current branch and no number was given, stop and ask the user to specify one.
  3. If rtk is available, prefer rtk gh..., rtk read, and rtk grep for exploratory steps. Use raw gh or the bundled script when another command needs machine-friendly JSON or uncompressed logs.
  4. Run python "$SKILL_DIR/scripts/inspect_pr_checks.py" --repo "." [--pr "$ARGUMENTS"] --json to collect failing checks, log snippets, and local reproduction hints. If the script exits non-zero, fall back to the manual workflow in references/BACKGROUND.md.
  5. Branch on the result:

- All checks pass → report "all checks green" and stop. - Checks still in progress → report running checks and suggest waiting, or offer to inspect already-failed ones. - Only external provider failures (e.g. Buildkite) → report URLs and mark out-of-scope unless the user explicitly asks. - GitHub Actions failures exist → continue to step 6.

  1. Summarize failures with: check name, the smallest useful log snippet (cap at 50 lines; if logs exceed this, extract only the error block), and the suggested local repro command.
  2. Propose a concise fix plan and request explicit approval before editing when the user asked only for diagnosis. Otherwise proceed to fix.
  3. Implement the approved fix and rerun the relevant local repro commands. If the local repro still fails, diagnose the new error and iterate (max 2 retries) before reporting back. After local success, re-run gh pr checks to confirm.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude

34.62%
按下载量换算82

Codex

34.16%
按下载量换算81

Cursor

18.19%
按下载量换算43

Gemini CLI

9.62%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills