merge-quiz
/merge-quiz
Quizuje użytkownika z najbardziej ryzykownych fragmentów diffu gałęzi przed scaleniem lub otwarciem PR, jako bramka sprawdzająca zrozumienie zmian.
- Autor
- hiendinhngoc ↗
- Repozytorium
- unknowns ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 14.07.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 14.07.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Quizuje użytkownika z najbardziej ryzykownych fragmentów diffu gałęzi przed scaleniem lub otwarciem PR, jako bramka sprawdzająca zrozumienie zmian.
Wyzwalacze z opisu
Oryginalny opis (EN)
Pre-merge comprehension gate that quizzes the USER on the riskiest parts of the branch diff. Use before merging or opening a PR, or when the user says "merge quiz", "am I ready to merge", or "quiz me on this diff".
Jak działa
- Process
- Rules
Podgląd SKILL.md
---
name: merge-quiz
description: Pre-merge comprehension gate that quizzes the USER on the riskiest parts of the branch diff. Use before merging or opening a PR, or when the user says "merge quiz", "am I ready to merge", or "quiz me on this diff".
version: 1.0.0
author: Hien Dinh
license: MIT
---
# Merge Readiness Quiz
Before shipping, verify the HUMAN understands what's being merged. The quiz
tests the user, not Claude.
## Process
1. **Resolve the base deterministically.** Prefer, in order: the base explicitly
named by the user; the current branch's configured upstream; the remote
default branch from `refs/remotes/origin/HEAD`; then an existing local
`main` or `master`. Verify the candidate with `git rev-parse --verify` before
using it. If no candidate exists, ask for a base ref and stop.
2. **Gather the material.**
- Diff: `git diff <base>...HEAD`. If it is empty, also check
`git diff <base>..HEAD`, tracked worktree changes, and relevant untracked
files reported by `git status --short`. State exactly which material was
selected. If all are empty, stop because there is nothing to quiz.
- Exclude generated files (lockfiles, `*.pbxproj`, build outputs, vendored
code) from quiz material — churn there is noise, not comprehension risk.
- Deviation log: prefer files for the current branch/task slug. If task
identity is unavailable, include only deviation files changed in the diff;
do not sweep unrelated logs by date.
3. **Pick the 3–5 riskiest spots.** If the diff is too small for 3 real
questions, ask fewer and say why. First name what "dangerous" means in THIS
codebase's domain — auth/money/deletion/migrations in a backend; lifecycle,
state loss, and accessibility regressions in a UI app; loss/duplication/
ordering in a pipeline. Then prioritize: behavior changes on those paths,
deviations from the plan, error handling changes, anything irreversible.
4. **Quiz one question at a time** using AskUserQuestion (or plain-text
multiple choice if this agent has no such tool). If no interactive user is
available, output the quiz and stop without answering for them. Each question:
- Cites the exact file:line it's about
- Asks about consequences, not trivia: "what happens if X is null here?",
"why did we bypass Y?", "what breaks if this runs twice?"
- Offers 3-4 plausible answers (one correct, distractors that reflect real
misunderstandings)
- Has one correct answer backed by the exact diff hunk or file:line; if no
evidence exists in the diff, do not ask that question
5. **On a wrong or unsure answer:** explain the correct answer immediately,
quoting the exact diff hunk verbatim so the user can dispute it — the quiz
grades the user against the agent's reading of the diff, and that reading
can be wrong. If the user disputes with evidence, concede the question,
correct the score, and flag the spot as review-carefully either way.
6. **Produce the merge-readiness note** (paste-ready for the PR description):
```markdown
## Merge readiness
- Quiz: N/M correct
- Review carefully: <file:line — why, for each missed question; or "nothing flagged">
- Deviations from plan: <one line each, from the deviation log; or "none">
```
## Rules
- Never skip the quiz because the diff "looks simple" — simple diffs hide the
best surprises. But never pad with fake-risk questions.
- Questions must be answerable from the diff the user supposedly reviewed; no
gotchas about untouched code.
Pliki w paczce (2)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
Wersje
W bazie nie ma innych skilli o nazwie merge-quiz.
Migawka bazy z 28.10.2026 · wersja paczki f6ee24db7796 (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90change-quiz
Przygotowuje po sesji pracy raport o zmianach i quiz, który użytkownik musi zaliczyć przed merge'em, przy przeglądzie dużej zmiany. - 100quiz-me
Zadaje pytania o świeżo napisany lub zmieniony kod przed zakończeniem tury, by potwierdzić zrozumienie zmian. - 90change-quiz
Generuje jeden samodzielny raport HTML wyjaśniający zestaw zmian, zakończony quizem, który trzeba zaliczyć przed merge, by upewnić się, że autor rozumie zmiany. - 100merge
Przeprowadza UAT gałęzi funkcji i scala ją do dev, aby zweryfikować zmiany przed scaleniem lub wprowadzić pracę z worktree do dev. - 95pre-pr-review
Sprawdza lokalne zmiany przed otwarciem PR i przed scaleniem, szukając ryzyk produkcyjnych w API, migracjach, uwierzytelnianiu i bazach. - 100explain-diff
Wyjaśnia zmianę kodu, diff, gałąź, commit lub PR jako bogatą samodzielną stronę: tło, intuicję z przykładami, przejście w porządku wykonania, co może się zepsuć i quiz sprawdzający zrozumienie.