What problem does it solve?
Promoting code from main to production often requires local checkouts and manual merges, and discovering merge conflicts only after starting the process wastes time. This Skill performs a server-side merge through the GitHub merges API and detects conflicts before attempting anything.
Core Features & Use Cases
- Server-Side Merge: Creates the merge commit on production via the GitHub merges API without touching your local working tree.
- Conflict Pre-Check: Uses git merge-tree to detect conflicting paths before merging and exits with a clear list of files to resolve manually.
- Configurable Branches: Override the repository, base, and head branches through environment variables for staging or other promotion flows.
- Use Case: After a release is approved on main, run the Skill to fast-track the merge into production; if it conflicts, you get the exact conflicting paths and manual resolution steps instead of a failed deploy.
Quick Start
Ask the AI to sync the main branch into production and report whether the merge succeeded or which files conflict.