Skip to content
Agentmart
Submit a tool

gh-fix-ci

GitHub Actions CI 失败时使用 — 用 gh CLI 检查 PR checks、拉日志、总结失败原因、生成修复方案

Skill by noobke

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/noobke-gh-fix-ci

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

GitHub Actions CI 失败时使用 — 用 gh CLI 检查 PR checks、拉日志、总结失败原因、生成修复方案

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gh-fix-ci

What's inside

Skill name
gh-fix-ci
Description
GitHub Actions CI 失败时使用 — 用 gh CLI 检查 PR checks、拉日志、总结失败原因、生成修复方案
License
MIT
Instructions
24 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Gh Fix CI — 修复 CI

用 `gh` CLI 定位失败的 PR checks,获取 GitHub Actions 日志,总结失败原因,生成修复方案。

**前置:** `gh auth login` + `gh auth status`(需要 repo + workflow 权限)。

## 流程

1. 验证 gh 认证:`gh auth status`
2. 解析 PR:`gh pr view --json number,url`
3. 检查失败:`gh pr checks <pr> --json name,state,bucket,link`
4. 拉取日志:对每个失败的 check,
   ```bash
   gh run view <run_id> --log
   ```
5. 总结失败 + 提修复方案
6. 用户确认后实施
7. 修复后重新检查

## 外部 CI(Buildkite 等)

只报告 URL,不尝试拉取日志。

From noobke/reasonix-skills, MIT.

More from noobke/reasonix-skills

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
May 28, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from noobke

Cite this page

gh-fix-ci skill. Agent Mart. https://agentmart.dev/skills/noobke-gh-fix-ci (last updated 2026-10-24)