What problem does it solve?
Open pull requests that conflict with master stall until a human manually rebases or merges, and unattended automation often flattens merges or blindly picks one side. This Skill defines a conservative, unattended sweep that finds conflicting PRs, resolves safe conflicts, and flags everything else for a human.
Core Features & Use Cases
- Conflict sweep: Lists open, non-draft, same-repo PRs targeting master, checks each with git merge-tree, and processes at most 10 per run, newest first.
- Safe resolution: Resolves source conflicts with judgment, regenerates lockfiles and generated artifacts deterministically inside a credentialless Docker container, and lands exactly one two-parent merge commit on the PR head branch.
- Attempt deduplication: Tracks each attempt with a sticky marker comment keyed to the head and master OIDs, so unchanged conflicts are never retried.
- Use Case: A scheduled hourly routine sweeps PostHog/posthog, auto-resolves a PR whose only conflict is pnpm-lock.yaml, pushes the merge commit, and posts a review-before-merging comment.
Quick Start
Ask the agent to read .agents/skills/autoresolving-pr-conflicts/SKILL.md and execute exactly one conflict sweep against the repository's open pull requests.