
Pull Changes Resolve Conflicts
- 1.9k installs
- 5 repo stars
- Updated August 4, 2026
- cognitedata/builder-skills
pull-changes-resolve-conflicts is an agent skill that >-.
About
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 Preserve intentional work on the current branch do not assume main wins or ours wins without analysis Make trade offs visible to the user before any conflict resolution edits Order discussion by impact structural feature API data model changes before styling copy or spacing 1 No silent resolution Do not remove or run git add on conflicted files until the user has agreed to the plan or explicitly says use your recommendations 2 Stop at conflicts If a merge or rebase introduces conflicts pause and report do not bulldoze through large files by picking one side wholesale unless the user explicitly requests that 3 Prioritize impact When presenting conflicts group and order roughly as P0 Structural product removed routes deleted modules
- name: pull-changes-resolve-conflicts
- Standard workflow for pulling updates from main or other branches on multi-contributor
- projects (including Flows apps) without silently discarding work. Guides fetching/merging,
- Follow pull-changes-resolve-conflicts SKILL.md steps and documented constraints.
- Follow pull-changes-resolve-conflicts SKILL.md steps and documented constraints.
Pull Changes Resolve Conflicts by the numbers
- 1,866 all-time installs (skills.sh)
- +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #688 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
pull-changes-resolve-conflicts capabilities & compatibility
- Capabilities
- name: pull changes resolve conflicts · standard workflow for pulling updates from main · projects (including flows apps) without silently · follow pull changes resolve conflicts skill.md s
- Use cases
- orchestration
What pull-changes-resolve-conflicts says it does
name: pull-changes-resolve-conflicts
Standard workflow for pulling updates from main or other branches on multi-contributor
projects (including Flows apps) without silently discarding work. Guides fetching/merging,
npx skills add https://github.com/cognitedata/builder-skills --skill pull-changes-resolve-conflictsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.9k |
|---|---|
| repo stars | ★ 5 |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 4, 2026 |
| Repository | cognitedata/builder-skills ↗ |
When should an agent use pull-changes-resolve-conflicts and what problem does it solve?
>-
Who is it for?
Developers invoking pull-changes-resolve-conflicts as documented in the skill source.
Skip if: Skip when requirements fall outside pull-changes-resolve-conflicts documented scope.
When should I use this skill?
>-
What you get
Outputs aligned with the pull-changes-resolve-conflicts SKILL.md workflow and stated deliverables.
- Resolved files
- Merge commit
Files
Pull changes & resolve merge conflicts
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.
Goals
- Preserve intentional work on the current branch; do not assume “main wins” or “ours wins” without analysis.
- Make trade-offs visible to the user before any conflict resolution edits.
- Order discussion by impact: structural / feature / API / data-model changes before styling, copy, or spacing.
Hard rules
1. No silent resolution — Do not remove <<<<<<< / ======= / >>>>>>> or run git add on conflicted files until the user has agreed to the plan (or explicitly says “use your recommendations”). 2. Stop at conflicts — If a merge or rebase introduces conflicts, pause and report; do not bulldoze through large files by picking one side wholesale unless the user explicitly requests that. 3. Prioritize impact — When presenting conflicts, group and order roughly as:
- P0 — Structural / product: removed routes, deleted modules, dropped features, changed data or API contracts, SDK or schema changes, auth or routing shell.
- P1 — Behavior: logic, hooks, queries, filters, error handling, loading states.
- P2 — UI structure: layout regions, new or removed sections, navigation.
- P3 — Presentation: tokens, spacing, class names, copy tweaks.
Workflow
1. Fetch and integrate (or diagnose)
- Prefer
git fetchthengit merge origin/main(or the named branch) unless the user asked for rebase. - If merge is already in progress, run
git statusand list every unmerged file.
2. Report conflicts to the user (explicit)
Output a clear list:
- Branch state: current branch, target branch (e.g.
origin/main), merge vs rebase. - Unmerged files: paths only, then optionally
git diff --name-only --diff-filter=U. - Per file (short): one line on what diverged (e.g. “
AlertsPage— layout + new data scope”) if inferable from paths andgit diffwithout resolving.
3. Analyze before editing
Use all of:
- Conversation history — What was the user or team trying to ship on this branch?
- Repo signals — Product or architecture docs if present (e.g.
PRD.md), recent commits on the current branch, file ownership (e.g. large feature module vs sharedlib/). - Conflict hunks —
git show :2:path(ours) vsgit show :3:path(theirs) during merge, or read conflict markers; identify duplicated vs orthogonal changes.
Classify each conflicted area as:
- Orthogonal — safe to combine (e.g. import sort + new prop).
- Overlapping — must choose or manually merge (same lines).
- Corruption risk — duplicated blocks (common after bad merges); flag and recommend reconstructing from one side then re-applying the other side’s intent manually.
4. Recommendations + questions (required)
Present to the user:
1. Summary table or bullets — file → recommended side or “manual merge” → one-line why. 2. Ordered by P0 → P3 — call out anything that removes a feature or changes public behavior first. 3. Explicit questions — anything ambiguous (e.g. “Keep main’s global behavior or the branch’s scoped variant?”). 4. Ask for direction — e.g. “Reply with: (a) follow recommendations, (b) keep branch for file X, (c) keep main for file Y, (d) abort merge.”
Only after the user confirms (or gives a precise mapping), apply resolutions:
- Prefer small, surgical edits; preserve both sides’ intent when possible.
- Re-run
git status; ensure no conflict markers remain; run tests or lint the user cares about for touched areas.
5. If the user wants to abort
git merge --abortorgit rebase --abortas appropriate; confirm they lose in-progress integration state for that operation.
Anti-patterns (do not do)
- Picking
--ours/--theirson the whole repo without user approval. - “Resolving” by deleting a feature branch’s work because main touched the same file.
- Hiding conflict lists inside a long code dump without a short executive summary.
- Fixing low-impact style conflicts first while leaving P0 decisions implicit.
Quick reference
- Ours vs theirs (merge): stage 2 = current branch (
HEAD), stage 3 = incoming (MERGE_HEAD). Verify withgit checkout --conflict=merge <file>if needed. - Typical high-touch paths in full-stack or Flows apps: root app shell, top navigation, route modules, and shared
lib/orhooks/.
For optional command snippets and a merge message template, see reference.md.
Reference: git commands & merge stages
Useful commands
git status
git diff --name-only --diff-filter=U
git diff path/to/file
git show :2:path/to/file # ours (HEAD) during merge
git show :3:path/to/file # theirs (MERGE_HEAD) during merge
git log --oneline -5 HEAD MERGE_HEADAbort
git merge --abort
git rebase --abortAfter user approves resolution
git add <resolved-files>
git commit # completes merge; use message that states target branchSuggested merge commit message shape
Merge origin/main into <branch>
<one line: what was integrated>
Conflict resolutions: <brief list or "per user direction in chat">.Related skills
How it compares
Use pull-changes-resolve-conflicts for guided merge resolution with approval gates; generic git skills without conflict-stage commands are weaker for active MERGE_HEAD states.
FAQ
What is pull-changes-resolve-conflicts?
>-
When should I use pull-changes-resolve-conflicts?
>-
Is pull-changes-resolve-conflicts safe to install?
Review the Security Audits panel on this page before production use.