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.

referencesresolve-merge-conflicts.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Resolving merge conflicts

A pull request that conflicts with its base branch gets no checks: GitHub reports "This branch has conflicts that must be resolved" and the CI never starts. Bringing the base branch into the PR branch is then the fix.

Which tool

  • Inside a CI repair, fix_github_pr_ci merges the base branch itself and resolves conflicts before it edits anything; do not add a separate step.
  • When the user is in a checkout and asks to resolve, fix, or finish a merge, or to commit and push a resolved merge, call resolve_merge_conflicts. It works on the merge already in progress in the current directory, or pass ref (for example origin/main) to merge that branch first.
  • Pass the user's decisions in instructions ("keep our version of config.py"); they reach the coding agent word for word.

Never run git merge, git add, git commit, or git push through shell_run for this; the shell refuses them while a merge is in progress. Never resolve conflict markers with code_implement.

What the tool does

  1. Shows each conflict hunk side by side in the shell at once: our side, their side, and "(to decide)". rendered_in_shell is true when this happened, so do not repeat the file contents.
  2. Lets the coding agent resolve every file, the way Claude Code or Cursor would, without asking first. It asks through the shell menu only for a file the agent could not settle (keep ours, take theirs, combine, or free text), or when the user asked to decide file by file (pass decisions={"*": "each"}). When the result says menu: queued, end the turn; the answers arrive as the next user message and the next call with no arguments reads them itself. Pass per-file decisions only for choices the user already stated in words. Never ask a question of your own about how to resolve a file: the tool asks.
  3. Applies "keep ours" and "take theirs" with git, and sends only the files to combine to the coding agent. Lockfiles are regenerated from the resolved manifest, never merged by hand. Then it verifies that no conflict marker or unmerged path remains and shows the result table.
  4. Asks the shell's approval policy to commit the merge and push the branch to the one it tracks. At /auto high (the default) it proceeds; at lower levels the user is asked first; an unattended run proceeds. The remote branch is never a protected base branch.
  5. Waits for the checks of the open pull request whose head is that branch and reports checks_state (passed, failed, timed_out, superseded, conflicted, or not_watched). Pass wait_for_checks=false only when the user asks not to wait.

How to reply

  • Repeat outcome as the first line. It says whether the merge was committed and pushed, and it outranks coding_agent_summary, which the agent wrote before the commit.
  • List resolutions (one line per file: kept ours, took theirs, combined both) so the user sees what was decided.
  • End with next_step.
  • When error_kind is conflicts_remain, ask each entry of questions with ask_user_choice, using its question and options exactly as given (they show what each side contains), then call the tool again with the answers in instructions, naming the file and the chosen side. Never invent a different question or answer it yourself. The merge stays in progress; do not abort it.
  • When error_kind is cancelled, the user pressed ESC: say what was and was not done and wait for their next instruction.
  • When error_kind is confirmation_denied, say the resolved files are in the working tree uncommitted and ask what should change.
  • When error_kind is push_failed, the merge is committed locally; give the push command from next_step.
  • When error_kind starts with checks_, the merge is pushed; name failing_checks and offer to fix the pull request's CI.
  • When checks_state is not_watched, the merge is complete: say why the checks were not watched (from checks_detail) and finish. Do not mark a plan step blocked or ask the user about verification.

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