Index of every page on this site: llms.txt
All skills
tracer-cloud avatar

/repair-github-ci

@df137ad
by Tracertracer-cloud/opensre15k stars
1,982
Run it yourself

Fix failing GitHub CI / Actions checks via fix_github_pr_ci and push to the existing PR head, or fix a branch's failing CI via a linked repair worktree

Use this Skill: https://skilld.dev/gh/tracer-cloud/opensre/repair-github-ci

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈42 tokens for metadata: the name and description. ≈810 when used: this file. ≈1k more on demand in 1 file.

Description uses 2.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈170 characters, or 2.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

GitHub CI fix

Use fix_github_pr_ci to repair failing checks on a pull request or a named branch.

When to use

  • The user asks to fix failing CI, broken GitHub Actions checks, failing PR checks, a red pull request branch, or CI on a named branch such as main.
  • 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.
  • The user asks to fix failing CI on a branch itself — "fix the CI on main", "main is red, fix it", or "fix CI on the default branch and push" — with no PR involved.

Related workflows

  • Ordinary PR reads, comments, closes, merges, labels, or issue work. Use github_cli.
  • Security alert remediation. Use fix_github_security_alert.

Workflow 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)
  • For "fix the CI on main" (or any named branch with no PR), call: fix_github_pr_ci(branch="main") Never pass branch together with a PR selector, and never invent a branch the user did not name.
  • 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.
  • A PR that is behind its base branch, or conflicts with it (GitHub shows it as not mergeable and starts no checks), is handled by the tool: it merges the base branch into the PR branch, resolves conflicts, regenerates lockfiles, pushes, and waits for the checks — also when the conflict only appears after its own push. Never run git merge, git rebase, or conflict edits around it. If it reports blocked files, relay that one line and stop.
  • For branch targets such as main, the tool creates a separate linked git worktree, commits on a fresh opensre/ci-fix-* branch, and pushes that branch. It never pushes directly to protected branches.
  • 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.

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)
  • "fix CI on main in Tracer-Cloud/opensre and push"

    fix_github_pr_ci(owner="Tracer-Cloud", repo="opensre", branch="main")
  • "the current PR CI is failing, fix and push"

    fix_github_pr_ci()
  • "fix the CI on main"

    fix_github_pr_ci(branch="main")

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning4d3 checks · Risk SAFE
  • Gen Agent Trust Hub4d

    The skill automates GitHub CI repairs and merge conflict resolution. It is classified as low risk because it processes external data like build logs and code hunks which could theoretically contain malicious instructions, though it employs specialized tools and prohibits raw shell access.

  • Socket4d

    No alerts

  • Snyk4d

    Risk: MEDIUM · 1 issue

Signed by skilld at df137ad. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 18 hours ago.

Activeupdated 2 months ago
Other metadata
metadata
{
  "owner": "Vaibhav",
  "last_changed_by": "Jan",
  "last_changed_at": "2026-09-14",
  "usecases": [
    "For repository contributors repairing failed CI on a pull request.",
    "For maintainers repairing a named branch through a linked local worktree."
  ],
  "requires": [
    "GitHub authentication with write access to the target repository.",
    "A local checkout whose origin matches the target repository.",
    "An installed and authenticated coding agent.",
    "The fix_github_pr_ci tool and its supported local execution environment."
  ],
  "version": "2.0"
}

README badge

README badge for tracer-cloud/opensre/repair-github-ci