Skip to content
Skill

Conflicted PR starts no ci run push resolution first

Guides an agent through resolving a conflicted PR that stops producing CI runs

Conflicted PR starts no ci run push resolution first is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Conflicted PR starts no ci run push resolution first

This skill covers a specific CI trap: when a pull request conflicts with its base branch, the provider stops creating new workflow runs, while the old pre-conflict run remains and can be misread as the blocker. It explains how to tell the real state apart from misleading status fields, and why the run's creation time matters more than the run count.

The workflow asks the agent to check mergeability directly with git merge-tree instead of trusting an UNKNOWN value from the provider, then merge the base into the branch, verify the resolution by counting entries in shared files, and push before local test suites finish so a cheap draft run can start. It also warns against concluding a run is missing when it is only slow to appear, and against rebasing shared branches that are squash-merged.

It expects git and the GitHub CLI or API, along with access to the repository's Actions runs. The skill contains no scripts and cross-references several related skills for adjacent merge problems.

When your agent uses it

A conflicted pull request stops producing NEW CI runs for as long as the conflict stands, because the provider rebuilds the synthetic merge ref whenever either side moves and cannot build it for a conflicting PR. The run list is usually NOT empty: it still holds the head's PRE-conflict run, and that run's red is then read as the blocker. Use when: (1) a landing script refuses to step a PR and prints something like `DRAFT UNKNOWN (git: CONFLICTED vs origin/main <sha>) gates=failure auto-merge=NOT armed`, (2) the newest run on your head predates the base branch's last merge and no new one arrives, (3) `gh pr view N --json mergeable,mergeStateStatus` returns `UNKNOWN` and you are about to read that as "not conflicted", (4) a coordinator reports it cannot land your work because it is "conflicted, not merely behind". Two of the three fields in that status line are non-facts: the red required check can be a draft's designed red or a stale pre-conflict run, and `UNKNOWN` most often means only "not recomputed sinc

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (13 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the agent-traffic-control plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add wan-huiyan/agent-traffic-control
/plugin install agent-traffic-control@wan-huiyan-agent-traffic-control

Or copy only this skill to ~/.claude/skills/conflicted-pr-starts-no-ci-run-push-resolution-first:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/conflicted-pr-starts-no-ci-run-push-resolution-first &&
cp -R "$tmp/plugins/agent-traffic-control/skills/conflicted-pr-starts-no-ci-run-push-resolution-first" ~/.claude/skills/conflicted-pr-starts-no-ci-run-push-resolution-first &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/conflicted-pr-starts-no-ci-run-push-resolution-first inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/conflicted-pr-starts-no-ci-run-push-resolution-first to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/conflicted-pr-starts-no-ci-run-push-resolution-first &&
cp -R "$tmp/plugins/agent-traffic-control/skills/conflicted-pr-starts-no-ci-run-push-resolution-first" ~/.agents/skills/conflicted-pr-starts-no-ci-run-push-resolution-first &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/conflicted-pr-starts-no-ci-run-push-resolution-first inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/conflicted-pr-starts-no-ci-run-push-resolution-first to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/conflicted-pr-starts-no-ci-run-push-resolution-first &&
cp -R "$tmp/plugins/agent-traffic-control/skills/conflicted-pr-starts-no-ci-run-push-resolution-first" ~/.cursor/skills/conflicted-pr-starts-no-ci-run-push-resolution-first &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/conflicted-pr-starts-no-ci-run-push-resolution-first inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/wan-huiyan/agent-traffic-control.git --path plugins/agent-traffic-control/skills/conflicted-pr-starts-no-ci-run-push-resolution-first

Or copy the folder to ~/.gemini/skills/conflicted-pr-starts-no-ci-run-push-resolution-first yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/conflicted-pr-starts-no-ci-run-push-resolution-first:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/conflicted-pr-starts-no-ci-run-push-resolution-first &&
cp -R "$tmp/plugins/agent-traffic-control/skills/conflicted-pr-starts-no-ci-run-push-resolution-first" ~/.copilot/skills/conflicted-pr-starts-no-ci-run-push-resolution-first &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/conflicted-pr-starts-no-ci-run-push-resolution-first inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git

Then copy agent-traffic-control/plugins/agent-traffic-control/skills/conflicted-pr-starts-no-ci-run-push-resolution-first into your agent's skills folder as conflicted-pr-starts-no-ci-run-push-resolution-first. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Real conflict detection
Uses git merge-tree to confirm whether a pull request truly conflicts with its base, bypassing unreliable provider status.
Stale run diagnosis
Explains how to recognise an old pre-conflict CI run by its creation time instead of trusting the run count.
Resolution verification
Recommends counting entries in shared hand-edited files on both sides and in the result before committing.
Early push strategy
Describes pushing the resolution before local tests finish so a draft run can check whole-diff guards sooner.
Missing versus slow runs
Gives a method for telling a run that is absent because of the conflict from one that is merely delayed.

Good for

  • Check whether my pull request is actually conflicted with main
  • Figure out why no new CI run appears after I resolved a merge conflict
  • Resolve a conflict in a shared changelog or tracker file and push it quickly
  • Decide whether a red required check on my draft PR is the real blocker

Conflicted PR starts no ci run push resolution first FAQ

What does Conflicted PR starts no ci run push resolution first change in my repository?

It gives the agent a procedure for diagnosing and resolving a conflicted pull request, including git merge-tree checks, a local merge, and a push. It contains no scripts of its own.

Why does the run count mislead me on a conflicted PR?

The head keeps the run it earned before the conflict, so the run list is not empty. The run's creation time compared with the base branch's last merge shows whether it is stale.

Should I rebase or merge when resolving?

The skill recommends merging when the base branch is shared, and warns against rebasing a branch whose base is squash-merged.

Does this apply when my branch is only behind the base?

No. The skill says it is not for a PR that is merely behind, since there is nothing to resolve.

How do I install Conflicted PR starts no ci run push resolution first in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/conflicted-pr-starts-no-ci-run-push-resolution-first to use it in all your projects, or to .claude/skills/conflicted-pr-starts-no-ci-run-push-resolution-first in one project. Or install the agent-traffic-control plugin, which includes it: /plugin marketplace add wan-huiyan/agent-traffic-control, then /plugin install agent-traffic-control@wan-huiyan-agent-traffic-control.

Does Conflicted PR starts no ci run push resolution first run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Conflicted PR starts no ci run push resolution first?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Conflicted PR starts no ci run push resolution first?

The closest alternatives to Conflicted PR starts no ci run push resolution first are Fix merge conflicts, Resolve merge conflicts, Gha PR merge ref shows upstream changes, Merge PR and Gh PR merge worktree checkout trap.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from wan-huiyan/agent-traffic-control