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 从公开仓库中收录这些内容。

举报或申请下架