gh-fix-ci
除錯並修復失敗的 GitHub CI 檢查
失敗的 CI/CD 檢查會阻擋 PR 合併並浪費開發者時間。此技能會檢查失敗的 GitHub Actions 工作流程、提取錯誤日誌,並在實施變更前建立修復計畫供您核准。
Die Skill-ZIP herunterladen
In Claude hochladen
Gehe zu Einstellungen → Fähigkeiten → Skills → Skill hochladen
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 RisikoDocumentation-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.
Risikofaktoren
⚙️ Externe Befehle (1)
Qualitätsbewertung
Was du bauen kannst
除錯正式環境 CI 失敗
快速診斷正式環境 CI 檢查失敗的原因,並獲得可執行的修復方案,無需手動搜尋日誌
修復您的 PR CI 問題
在請求審查前,理解並解決拉取請求上的 CI 失敗
審查 CI 修復提案
獲得 CI 失敗的清晰摘要,並在實施前核准提議的修復方案
Probiere diese Prompts
gh-fix-ci on this PR to check for failing CI jobs, summarize the errors, and create a plan to fix them.
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 提供商