matchai/dotfiles/merge-in-main
Claude Code and agent skill by matchai/dotfiles
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Merge the current branch with the latest version of the repository's default branch and resolve conflicts. Use when the user asks to merge or update from main, bring their branch up to date, resolve merge conflicts from main, or invokes $merge-in-main.
Install
npx vskill@latest install matchai/dotfiles/merge-in-mainSKILL.md
Merge In Main
- Inspect the repository before changing it:
- Run
git status --shortandgit branch --show-current. - Stop and ask before proceeding if HEAD is detached or uncommitted user changes could be overwritten. Do not stash, reset, or discard changes without explicit instruction.
- Determine the default branch from
origin/HEAD. If it is unavailable, use the repository metadata; usemainonly when it is the confirmed default branch.
- Fetch the latest default branch, then merge
origin/<default-branch>into the current branch. Preserve merge commits; do not rebase unless the user asks for a rebase.
- If conflicts occur:
- List all unmerged files and inspect both sides of each conflict.
- Resolve them according to the surrounding code and the intent of the incoming default-branch change. Never blindly accept one side.
- Stage every resolved file and complete the merge commit. Pause only when the intended behavior is materially ambiguous.
- Verify the completed merge with
git diff --check,git status, and the most relevant repository checks. Report the merge result and any remaining ambiguity. Do not push unless the user asks.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingfiles/skills/merge-in-main/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/matchai/dotfiles/merge-in-main)