resolving-merge-conflicts – skill Lập trình cho agent AI
Dùng khi cần giải quyết xung đột merge/rebase git đang dang dở.
Cài skill resolving-merge-conflicts bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/resolving-merge-conflicts-296cf.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /resolving-merge-conflicts – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/resolving-merge-conflicts-296cf.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $resolving-merge-conflicts – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/resolving-merge-conflicts-296cf.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /resolving-merge-conflicts – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/resolving-merge-conflicts-296cf.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /resolving-merge-conflicts – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
When to Use
Use when you need to resolve an in-progress git merge/rebase conflict.
1. See the current state of the merge/rebase. Check git history, and the conflicting files.
2. Find the primary sources for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, check the PRs, check original issues/tickets.
3. Resolve each hunk. Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do not invent new behaviour. If the intents cannot be reconciled from evidence, preserve the conflicted state and explain the unresolved choice. Honor a user-requested abort after checking what it would restore.
4. Discover the project's automated checks and run them — typically typecheck, then tests, then format. Fix anything the merge broke.
5. Finish the merge/rebase. Stage only the reviewed conflict resolutions, inspect the staged diff for unrelated work, and commit within the authorized scope and repository policy. If rebasing, continue the rebase process until all commits are rebased.
Example
User request:
> Use @resolving-merge-conflicts for this task: Use when you need to resolve an in-progress git merge/rebase conflict.
Limitations
- Use this skill only when the task clearly matches its upstream source and local project context.
- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
Skill liên quan
- review-and-simplify-changes – Đánh giá git diff hoặc phạm vi tệp được chỉ định về khả năng tái sử dụng, chất lượng mã…
- review-animations – Dùng khi cần đánh giá mã animation và chuyển động theo tiêu chuẩn nghiêm ngặt về thủ…
- review-response-generator – Review Response Generator. Dùng khi làm việc với nội dung đánh giá và ngữ cảnh kinh…
- review-swarm – Đánh giá song song chỉ đọc bằng nhiều agent trên git diff hiện tại hoặc phạm vi tệp được…
- robius-app-architecture – CRITICAL: Dùng cho các mẫu kiến trúc ứng dụng Robius. Kích hoạt khi có: Tokio, async…
- robius-matrix-integration – CRITICAL: Dùng để tích hợp Matrix SDK với Makepad. Kích hoạt khi có: Matrix SDK, sliding…
- robot-framework-skill – Tạo test Robot Framework theo cú pháp keyword-driven bằng Python. Hỗ trợ…
- robots-txt-validator – Robots.txt Validator. Dùng khi làm việc với nội dung robots.txt, crawler và URL cần kiểm…