Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

resolve-conflict

/resolve-conflict

Rozwiązuje konflikty scalania w gicie: wskazuje pliki, wyjaśnia obie wersje i kończy scalanie po zgodzie użytkownika.

Licencja
MIT
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść30 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Rozwiązuje konflikty scalania w gicie: wskazuje pliki, wyjaśnia obie wersje i kończy scalanie po zgodzie użytkownika.

Wyzwalacze z opisu

s say-so, and finish the merge. Use when someone saysboth modified
Oryginalny opis (EN)

Resolve git merge conflicts - find the conflicted files, explain both versions, combine them with the user's say-so, and finish the merge. Use when someone says "merge conflict", "both modified", or sees <<<<<<< markers.

Jak działa

  1. 0. Context
  2. 1. Find the conflicted files
  3. 2. Explain each one
  4. 3. Decide with the user
  5. 4. Apply it
  6. 5. Finish the merge
Sekcje z nagłówków SKILL.md, w oryginale · 40 linii, 231 słów
Podgląd SKILL.md
---
name: resolve-conflict
description: Resolve git merge conflicts - find the conflicted files, explain both versions, combine them with the user's say-so, and finish the merge. Use when someone says "merge conflict", "both modified", or sees <<<<<<< markers.
---

# Resolve a merge conflict

Guide: if the repo has a CONTRIBUTING.md, the matching section is "I got a merge conflict". The steps below work without it.

## 0. Context

Confirm a merge is actually in progress: `git status` should say "You have unmerged paths". If not, there's nothing to resolve; explain what `git status` shows instead.

## 1. Find the conflicted files

```bash
git diff --name-only --diff-filter=U
```

## 2. Explain each one

Read the conflict blocks (between `<<<<<<<`, `=======` and `>>>>>>>`). Explain in plain terms what each side does. The top side is the current branch; the bottom is what's being merged in (its name is after `>>>>>>>`). `git log --oneline -3 MERGE_HEAD -- <file>` shows who changed it on the other side.

## 3. Decide with the user

Propose a combined version and show it. If it's not obvious which is right (both sides change behavior), tell them to check with the teammate who wrote the other side. Don't silently pick one.

## 4. Apply it

Remove every `<<<<<<<`, `=======` and `>>>>>>>` line, then confirm none remain:
```bash
git diff --check
```

## 5. Finish the merge

```bash
git add <file> ...
git commit --no-edit
git push
```

**Want to back out instead?** Before step 5, `git merge --abort` returns everything to how it was before the merge. Ask first; it discards any conflict fixes made so far.

Wersje

W bazie nie ma innych skilli o nazwie resolve-conflict.

Migawka bazy z 13.11.2026 · wersja paczki 69f88f9ed1c9 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100hk-merge-resolve
    Rozwiązuje konflikty scalania w bieżącej gałęzi, wyłącznie po jawnym wywołaniu polecenia /hk-merge-resolve.
  • 100hk-merge-resolve
    Rozwiązuje konflikty w trwającym merge, rebase lub cherry-pick i uruchamia sprawdzony zestaw testów dla zmienionych części.
  • 96resolving-merge-conflicts
    Rozwiązuje konflikty w trwającym merge lub rebase w git.
  • 96resolving-merge-conflicts
    Rozwiązuje konflikty w trwającym merge lub rebase w git.
  • 90resolve-m-conflicts
    Rozwiązuje konflikty scalania: parsuje znaczniki, pokazuje diffy obok siebie, wyjaśnia przyczynę i proponuje opcje z uzasadnieniem.
  • 100resolve-conflicts
    Klasyfikuje konflikty w Git według pewności, automatycznie rozwiązuje pewne przypadki, waliduje wynik i cofa zmiany, gdy walidacja zawiedzie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.