Fix Ci

作者 cursorccb5507cec15無授權條款10K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Find failing PR checks, inspect logs or external check links, and apply focused fixes

僅含說明DevOps & Cloud
AI 產生的概覽

找出失敗的 PR 檢查,檢視日誌或檢查連結,並套用最小修正直到 CI 通過。

功能
此技能引導代理透過迭代循環,讓分支或拉取請求的 CI 恢復綠燈。它會解析目前的 PR,使用 gh pr checks 檢查檢查集,檢視失敗的工作以從 GitHub Actions 日誌或檢查連結中擷取第一個可處理的錯誤,並套用最小的安全修正。接著推送、重新檢查 PR 檢查集並重複,回報主要失敗工作、根本錯誤、依迭代順序的修正以及目前 CI 狀態。
適用情境
當分支或拉取請求的 CI 檢查失敗,需要快速迭代恢復綠燈時使用。適合希望一次修正一個可處理的失敗、採取最小低風險變更而非大範圍重構的情境。
執行需求
需要 GitHub CLI(gh)並具備目標儲存庫與 PR 的存取權限,以及連線至 GitHub 及其 Actions 日誌或外部檢查連結的網路存取。不附帶指令碼,僅為指示文件。

Fix CI

Trigger

Branch or PR CI is failing and needs a fast, iterative path to green checks.

Workflow

  1. Resolve the active PR and inspect gh pr checks --json name,bucket,state,workflow,link.
  2. Inspect failed jobs and extract the first actionable error. Use GitHub Actions logs when available; otherwise use the check link to identify the failing command or service.
  3. Apply the smallest safe fix.
  4. Push, re-check the PR check set, and repeat until green.

Guardrails

  • Fix one actionable failure at a time.
  • Prefer minimal, low-risk changes before broader refactors.
  • Keep gh pr checks as the source of truth for overall PR CI state.

Output

  • Primary failing job and root error
  • Fixes applied in iteration order
  • Current CI status and next action

來源與署名

來源:cursor/plugins位於cursor-team-kit/skills/fix-ci提交ccb5507

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架