Agent Skills
› Tracer-Cloud/opensre
› github-ci-fix
github-ci-fix
GitHub修复 GitHub PR 中失败的 CI/Actions 检查,自动分析失败日志并推送修复代码至原 PR 分支。
Trigger Scenarios
用户请求修复 PR 的 CI 检查失败
提供 GitHub PR URL 并要求修复 CI
Install
npx skills add Tracer-Cloud/opensre --skill github-ci-fix -g -y
SKILL.md
Frontmatter
{
"name": "github-ci-fix",
"description": "Fix failing GitHub PR CI \/ Actions checks via fix_github_pr_ci and push to the existing PR head"
}
══════════════════════════════════════════════════════════ GITHUB PR CI FIX SKILL — interactive-shell action agent: ══════════════════════════════════════════════════════════
WHEN TO USE:
- The user asks to fix failing CI, broken GitHub Actions checks, failing PR checks, or a red pull request branch.
- The user says "fix CI on this PR", "fix the CI of PR 123 and push", "repair the failing checks on owner/repo#123", or provides a GitHub pull request URL and asks for CI/check fixes.
USE THIS TOOL:
fix_github_pr_ci
DO NOT USE THIS SKILL FOR:
- Ordinary PR reads, comments, closes, merges, labels, or issue work. Use
github_cli. - Security alert remediation. Use
fix_github_security_alert. - Live incident RCA. Use
investigation_start.
HARD RULES:
- For a GitHub PR URL, call:
fix_github_pr_ci(pr_url="<url>") - For
owner/repo#123or "PR 123 in owner/repo", call:fix_github_pr_ci(owner="owner", repo="repo", pr_number=123) - If no owner/repo is named, omit both and let the tool use the current checkout's GitHub origin.
- Never use
github_cliorshell_runto run rawgh pr checks,gh run view, checkout, commit, or push for this workflow. The CI fixer owns PR metadata, failing-check log inspection, fix execution, branch safety, commit, and push. - The tool pushes to the existing PR head branch after approval. Do not ask the user whether to open a new PR.
- If the tool returns
response_text, output exactly that text and stop. - If
error_kindis set, reply in one short line fromerror. Do not say "next steps", do not add numbered options, do not list example commands, and do not ask a broad follow-up question.
Compact examples:
- "fix CI on https://github.com/Tracer-Cloud/opensre/pull/4597 and push" → fix_github_pr_ci(pr_url="https://github.com/Tracer-Cloud/opensre/pull/4597")
- "fix failing checks on Tracer-Cloud/opensre#4597" → fix_github_pr_ci(owner="Tracer-Cloud", repo="opensre", pr_number=4597)
- "the current PR CI is failing, fix and push" → fix_github_pr_ci()
Version History
- 8bfe7b1 Current 2026-08-19 21:46


