Agent SkillsTracer-Cloud/opensre › github-ci-fix

github-ci-fix

GitHub

修复 GitHub PR 中失败的 CI/Actions 检查,自动分析失败日志并推送修复代码至原 PR 分支。

core/agent_harness/prompts/skills/github_ci_fix/SKILL.md Tracer-Cloud/opensre

Trigger Scenarios

用户请求修复 PR 的 CI 检查失败 提供 GitHub PR URL 并要求修复 CI

Install

npx skills add Tracer-Cloud/opensre --skill github-ci-fix -g -y
More Options

Non-standard path

npx skills add https://github.com/Tracer-Cloud/opensre/tree/main/core/agent_harness/prompts/skills/github_ci_fix -g -y

Use without installing

npx skills use Tracer-Cloud/opensre@github-ci-fix

指定 Agent (Claude Code)

npx skills add Tracer-Cloud/opensre --skill github-ci-fix -a claude-code -g -y

安装 repo 全部 skill

npx skills add Tracer-Cloud/opensre --all -g -y

预览 repo 内 skill

npx skills add Tracer-Cloud/opensre --list

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#123 or "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_cli or shell_run to run raw gh 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_kind is set, reply in one short line from error. 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:

  1. "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")
  2. "fix failing checks on Tracer-Cloud/opensre#4597" → fix_github_pr_ci(owner="Tracer-Cloud", repo="opensre", pr_number=4597)
  3. "the current PR CI is failing, fix and push" → fix_github_pr_ci()

Version History

  • 8bfe7b1 Current 2026-08-19 21:46

Same Skill Collection

core/agent_harness/prompts/skills/architecture_audit/SKILL.md
core/agent_harness/prompts/skills/github_ci_fix_onboarding/SKILL.md
core/agent_harness/prompts/skills/github_cli/SKILL.md
core/agent_harness/prompts/skills/github_security_fix/SKILL.md
core/agent_harness/prompts/skills/morning_report/SKILL.md
integrations/github/tools/ci_fix/SKILL.md
integrations/github/tools/github_cli/SKILL.md
integrations/github/tools/security_fix/SKILL.md
integrations/github/tools/workflow/SKILL.md
integrations/posthog/tools/skills/posthog-summary/SKILL.md
integrations/sentry/tools/skills/sentry-summary/SKILL.md
integrations/yandex_cloud/tools/SKILL.md
tools/github_cli/SKILL.md
tools/system/python_execution_tool/skills/github-star-velocity/SKILL.md

Metadata

Files
0
Version
8bfe7b1
Hash
4e49b910
Indexed
2026-08-19 21:46

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 21:33
浙ICP备14020137号-1 $mapa de visitantes$