Fähigkeiten gh-fix-ci
🔧

gh-fix-ci

Niedriges Risiko ⚙️ Externe Befehle

除錯並修復失敗的 GitHub CI 檢查

失敗的 CI/CD 檢查會阻擋 PR 合併並浪費開發者時間。此技能會檢查失敗的 GitHub Actions 工作流程、提取錯誤日誌,並在實施變更前建立修復計畫供您核准。

Unterstützt: Claude Codex Code(CC)
📊 69 Angemessen
1

Die Skill-ZIP herunterladen

2

In Claude hochladen

Gehe zu Einstellungen → Fähigkeiten → Skills → Skill hochladen

3

Einschalten und loslegen

Teste es

Verwendung von "gh-fix-ci". gh-fix-ci on PR #234 to fix the failing tests

Erwartetes Ergebnis:

  • Found 2 failing GitHub Actions checks:
  • build-and-test - Error: ModuleNotFoundError: No module named 'requests'
  • lint-check - Error: E501 line too long (90 > 79 characters)
  • Fix plan: 1. Add 'requests' to requirements.txt, 2. Split long lines in src/api.py (lines 45, 67, 89)
  • Waiting for your approval before implementing...

Verwendung von "gh-fix-ci". gh-fix-ci on my PR to check why the build is failing

Erwartetes Ergebnis:

  • Found 1 failing check: docker-build - Error: failed to solve with frontend dockerfile.v0
  • The Dockerfile references a base image that does not exist: python:3.12-slim
  • Fix plan: Update base image to python:3.11-slim or remove version constraint
  • Do you approve this fix?

Sicherheitsaudit

Niedriges Risiko
v5 • 1/17/2026

Documentation-only skill containing SKILL.md metadata. References gh CLI for GitHub operations. The static scanner misidentified GitHub CLI commands as cryptographic algorithms and command documentation as shell execution. This is a legitimate DevOps workflow automation tool with no executable code. All 41 findings are false positives.

2
Gescannte Dateien
264
Analysierte Zeilen
1
befunde
5
Gesamtzahl Audits

Risikofaktoren

⚙️ Externe Befehle (1)
Auditiert von: claude Audit-Verlauf anzeigen →

Qualitätsbewertung

38
Architektur
100
Wartbarkeit
85
Inhalt
31
Community
90
Sicherheit
91
Spezifikationskonformität

Was du bauen kannst

除錯正式環境 CI 失敗

快速診斷正式環境 CI 檢查失敗的原因,並獲得可執行的修復方案,無需手動搜尋日誌

修復您的 PR CI 問題

在請求審查前,理解並解決拉取請求上的 CI 失敗

審查 CI 修復提案

獲得 CI 失敗的清晰摘要,並在實施前核准提議的修復方案

Probiere diese Prompts

基本 CI 修復
gh-fix-ci on this PR to check for failing CI jobs, summarize the errors, and create a plan to fix them.
特定 PR 除錯
Use gh-fix-ci to inspect PR #42, pull the failing GitHub Actions logs, and explain what needs to change.
以日誌為重點的分析
Run gh-fix-ci on this repo with --max-lines 100 to get detailed log context for the failing test job.
完整工作流程修復
gh-fix-ci on this PR: find all failing checks, summarize each failure, propose a fix plan, and apply the fixes after I approve.

Bewährte Verfahren

  • 先執行 gh auth login 以確保使用 workflow 範圍進行適當的身份驗證
  • 提供特定的 PR 編號或 URL 以加快解決速度
  • 在給予核准前仔細審查修復計畫

Vermeiden

  • 在未安裝或未驗證 gh CLI 的情況下執行
  • 跳過有風險的程式碼變更的核准步驟
  • 期望支援非 GitHub CI 提供商

Häufig gestellte Fragen

此技能是否適用於 GitHub Enterprise?
可以,如果 gh CLI 已為您的 Enterprise 執行個體設定完成。執行前請確保已進行適當的身份驗證。
它能修復 Buildkite 或 CircleCI 的失敗嗎?
不可以,此技能僅處理 GitHub Actions。外部 CI 失敗會回報詳細資訊 URL 但不會進行修復。
gh 需要什麼權限?
gh 需要 repo 和 workflow 範圍。執行 'gh auth login' 然後使用提升的權限執行 'gh auth status'。
我的 GitHub token 是否安全儲存?
可以,此技能使用的 gh CLI 會將憑證安全地儲存在您的系統金鑰鏈中。
為什麼無法存取某些工作流程日誌?
日誌可能已過期、被刪除或需要額外權限。此技能會明確回報缺少的日誌。
與 GitHub 自己的除錯相比如何?
此技能自動化日誌擷取和錯誤分析,節省在 GitHub 網頁介面中搜尋的時間。