agentleFS
Boom-VittBoom-Vitt/skills-thai/skills/engineering/resolving-merge-conflicts/SKILL.md

resolving-merge-conflicts

Skill5 starsChanged 4 months agoMITView on GitHub

ใช้เมื่อต้อง resolve merge/rebase conflict ของ git ที่ค้างอยู่ระหว่างทาง

138 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-mapping and to-questionnaire.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 5 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 47 projects that use this

The file

Files
SKILL.md
  1. ดูสถานะปัจจุบัน ของ merge/rebase เช็ค git history และไฟล์ที่ conflict
  2. หาแหล่งข้อมูลต้นทาง ของแต่ละ conflict ทำความเข้าใจให้ลึกว่าแต่ละการเปลี่ยนแปลงถูกทำไปทำไม และเจตนาดั้งเดิมคืออะไร อ่าน commit message เช็ค PR เช็ค issue/ticket ต้นทาง
  3. Resolve ทีละ hunk รักษาเจตนาของทั้งสองฝั่งไว้ถ้าเป็นไปได้ ถ้าเข้ากันไม่ได้ ให้เลือกฝั่งที่ตรงกับเป้าหมายที่ประกาศไว้ของ merge แล้วจดบันทึก trade-off ไว้ ห้าม สร้างพฤติกรรมใหม่ขึ้นมาเอง ต้อง resolve เสมอ; ห้าม --abort เด็ดขาด
  4. หา automated checks ของโปรเจกต์แล้วรัน — ปกติคือ typecheck ตามด้วย test แล้วค่อย format แก้ทุกอย่างที่ merge ทำพัง
  5. จบ merge/rebase ให้เรียบร้อย stage ทุกอย่างแล้ว commit ถ้าเป็นการ rebase ให้ rebase ต่อไปจนครบทุก commit

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.