Agent Skills
› sediman-agent/OpenSkynet
› fix-ci
fix-ci
GitHub用于修复分支或PR中失败的CI检查。通过gh命令获取状态,分析日志定位首个可执行错误,应用最小安全修复并重复验证,直至CI恢复绿色。
Trigger Scenarios
PR CI检查失败
分支CI检查失败
Install
npx skills add sediman-agent/OpenSkynet --skill fix-ci -g -y
SKILL.md
Frontmatter
{
"name": "fix-ci",
"description": "Find failing PR checks, inspect logs or external check links, and apply focused fixes"
}
Fix CI
Trigger
Branch or PR CI is failing and needs a fast, iterative path to green checks.
Workflow
- Resolve the active PR and inspect
gh pr checks --json name,bucket,state,workflow,link. - 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.
- Apply the smallest safe fix.
- 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 checksas 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
Version History
- c9d8953 Current 2026-07-05 19:51


