hydrz/dev-skills/resolving-merge-conflicts

Claude Code and agent skill by hydrz/dev-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

用于解决合并冲突(resolve conflicts),或继续发生冲突的 Git merge 和 rebase。

Install

npx vskill@latest install hydrz/dev-skills/resolving-merge-conflicts

SKILL.md

The same SKILL.md was published earlier as hydrz/dev-skills/resolving-merge-conflicts.

  1. 了解现状。 查看 merge 或 rebase 的当前状态、git 历史和冲突文件。
  1. 找到每处冲突的一手资料。 深入理解每一侧的改动为什么存在、原本的意图是什么。阅读提交信息,查看 PR,查找来源 issue 或开发任务。
  1. 逐个 hunk 解决。 尽量保留两侧的意图。两者不兼容时,选择与本次合并既定目标一致的一侧,并写明取舍。只组合两侧已有的行为,不引入新行为。始终完成冲突解决,不使用 --abort。
  1. 运行自动化检查。 找出项目的检查命令并运行,通常依次是类型检查、测试、格式化。修复合并引入的问题。
  1. 完成 merge 或 rebase。 暂存全部改动并提交。rebase 时继续执行,直到所有提交都完成变基。

完成之前使用 verifying-completion skill;检查命令的输出必须来自本轮运行。

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hydrz/dev-skills/resolving-merge-conflicts/badge)](https://verified-skill.com/skills/hydrz/dev-skills/resolving-merge-conflicts)

Something wrong with this skill or its page? Tell us.