Standard workflow for pulling updates from main or other branches on multi-contributor projects (including Flows apps) without silently discarding work. Guides fetching/merging, requires listing merge conflicts explicitly, analyzing ours vs theirs using conversation history and repo context, presenting prioritized recommendations, and obtaining user answers before editing conflict markers or completing the merge. Triggers: pull main, merge main, merge origin, rebase, merge conflict, unmerged paths, both modified, integrate branch, sync with main, git merge abort, resolve conflicts, UU status, theirs vs ours, feat branch update.
73
92%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Use this skill whenever integrating another branch (usually main) into the current feature branch, or when git status shows unmerged paths after a merge or rebase. Applies to any Git-based team workflow; Flows/React apps are a common case where conflicts cluster in app shells and shared libraries.
<<<<<<< / ======= / >>>>>>> or run git add on conflicted files until the user has agreed to the plan (or explicitly says “use your recommendations”).git fetch then git merge origin/main (or the named branch) unless the user asked for rebase.git status and list every unmerged file.Output a clear list:
origin/main), merge vs rebase.git diff --name-only --diff-filter=U.AlertsPage — layout + new data scope”) if inferable from paths and git diff without resolving.Use all of:
PRD.md), recent commits on the current branch, file ownership (e.g. large feature module vs shared lib/).git show :2:path (ours) vs git show :3:path (theirs) during merge, or read conflict markers; identify duplicated vs orthogonal changes.Classify each conflicted area as:
Present to the user:
Only after the user confirms (or gives a precise mapping), apply resolutions:
git status; ensure no conflict markers remain; run tests or lint the user cares about for touched areas.git merge --abort or git rebase --abort as appropriate; confirm they lose in-progress integration state for that operation.--ours / --theirs on the whole repo without user approval.HEAD), stage 3 = incoming (MERGE_HEAD). Verify with git checkout --conflict=merge <file> if needed.lib/ or hooks/.For optional command snippets and a merge message template, see reference.md.
d6af887
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.