Merge

From divad12/dotfiles · View interactive version

Merge is an AI agent skill from the GitHub repository divad12/dotfiles. Use when the user asks to merge, land, rebase before landing, resolve landing conflicts, or advance an integration branch such as main, master, or m3.

How to use this skill

Skill file

Merge Workflow

Read ~/dotfiles/docs/ai/git.md first. It is the canonical contract for target

selection, squash audits, local-target-only landing, rebase conflict handling,

and merge-commit exceptions.

Default path: inspect <target>..HEAD, squash noisy commits when needed,

rebase onto the local target branch, fast-forward the target worktree with

git merge --ff-only <branch>, then verify both refs.

Capture landing learnings

Do not run learn --repo "$PWD" check-merge as a required merge gate.

Branch-relevant learnings can be captured during normal closeout without

blocking unrelated landings.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.