Programowanie · Automatyzacja
modernize
/modernize
Odświeża stare pull requesty przez rebase, gdy użytkownik prosi o rebase albo o modernize.
Dla kogo
- Autor
- NathanColosimo ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
86/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność21 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 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
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Przestarzałość
Brak sygnałów. Repozytorium zmienione 12.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
Odświeża stare pull requesty przez rebase, gdy użytkownik prosi o rebase albo o modernize.
Wyzwalacze z opisu
modernize
Oryginalny opis (EN)
For getting old prs up to date. Use when asked to rebase a pr or "modernize".
Jak działa
- Guardrails
- Establish the PR's intent
- Check what changed around it
- Choose a disposition before pushing
- Rebase without losing intent
- Report
Sekcje z nagłówków SKILL.md, w oryginale · 103 linii, 742 słów
Podgląd SKILL.md
--- name: modernize description: >- For getting old prs up to date. Use when asked to rebase a pr or "modernize". --- # Modernize Modernize the idea, not just the branch. A clean rebase does not prove that the PR still belongs in the product. ## Guardrails - Always check to make sure you have pulled latest origin for your branch, main branch, and any other branch related to your work before starting. - Treat existing worktree changes as user-owned. Use a disposable worktree when the active worktree is dirty or is being used for other work. - Modernizing authorizes rebasing and updating the PR branch. It does not authorize merging, closing, changing the base branch, or expanding scope. - If the PR is in a stack, restack it with `stacked-prs`, which also covers changing its base. - Never use an unqualified force push. Update a rebased branch with `--force-with-lease` against the head SHA observed before the rebase. - Do not post a PR comment unless the user asked for one. Use the `pr-writing` skill for every comment posted on the user's behalf. ## Establish the PR's intent Resolve the PR and record its URL, state, base, head repository and branch, current head SHA, author, checks, and review state. Read the title, body, linked issues, commits, review threads, and complete diff. State the smallest coherent goal the PR was trying to accomplish before judging its implementation. Fetch the latest remote base and PR head. Use the PR's actual base branch, usually `main`, rather than assuming the local branch is current. Record the merge base so the original PR and subsequent base-branch changes can be compared separately. ## Check what changed around it Inspect commits and diffs added to the base branch since the PR diverged. Search merged and open PRs when titles, code paths, or behavior suggest a replacement or competing implementation. Look beyond overlapping lines: - Has the same user-facing problem already been solved? - Did APIs, types, schemas, dependencies, or architectural boundaries change? - Do both sides now claim ownership of the same behavior or invariant? - Was the code being changed deleted, moved, or intentionally simplified? - Would landing the PR restore an old behavior or create two ways to do the same thing? - Is the original benefit still large enough to justify the maintenance cost? - Did the base change make parts of this PR unnecessary: shims, wrappers, branches for cases that can no longer happen? Delete them, following the `standards` skill. Do not describe a PR as current merely because Git reports no conflicts. ## Choose a disposition before pushing Use one of these recommendations: - **MODERNIZE**: the goal is still useful and the implementation remains the right shape. Rebase, resolve conflicts, test, and update the branch. - **REWORK**: the goal is still useful, but a mechanical rebase would preserve the wrong implementation. Explain the smallest credible rewrite and stop before pushing unless the user also asked for that rework. - **CLOSE**: the PR is superseded, obsolete, directionally wrong, or no longer worth its cost. Cite concrete evidence and stop. Do not spend time rebasing an obsolete branch, and do not close it without explicit permission. Be willing to recommend `CLOSE`. Age alone is not evidence, and sunk effort is not a reason to keep a PR alive. ## Rebase without losing intent For a `MODERNIZE` disposition: 1. Create a safe local branch or disposable worktree at the recorded PR head. 2. Rebase its commits onto the freshly fetched base branch. 3. Resolve each conflict according to the PR's current intent and the base branch's newer invariants. If a conflict reveals a product or architecture disagreement, stop and reconsider the disposition instead of guessing. 4. Compare the pre-rebase and post-rebase commit series with `git range-diff` and inspect the final diff. Confirm that no intentional behavior disappeared and no already-landed behavior was reintroduced. 5. Run the repository's focused checks for the touched area. Distinguish real failures from pre-existing or infrastructure failures. 6. Push with `--force-with-lease` tied to the previously observed remote head. If the lease fails, fetch and reassess rather than overwriting new work. Do not merge the PR. ## Report Lead with `MODERNIZE`, `REWORK`, or `CLOSE` and the reason. Then summarize: - meaningful changes on the base branch; - conceptual conflicts or confirmation that none were found; - the rebase and push result, if performed; - checks run and their results; - the remaining decision or work, with a link to the PR. Separate observed facts from judgment. Say what could not be verified instead of manufacturing confidence.
Pliki w paczce (2)
- SKILL.md 5 KB
- agents/openai.yaml 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · NathanColosimo/skills | 86 | MIT |
| colinmollenhour/dotfiles | 100 | Apache-2.0 |
| gvaldesmty1/modernia | 100 | MIT |
| cravingmaker/skills | 100 | MIT |
| bendrucker/claude | 100 | MIT |
| gosuda/dalcom-skills | 95 | Apache-2.0 |
| adelrodriguez/skills | 90 | MIT |
| Wozacosta/forgestack | 90 | MIT |
| t3dotgg/tstack | 86 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki ab823cb34986 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 81t3-modernize
Aktualizuje stare pull requesty przez rebase i modernizację, gdy użytkownik o to prosi. - 100pr-modernize
Ocenia, czy stary lub odziedziczony PR powinien wejść do bazy, rebasuje go i zachowuje autorstwo pierwotnych autorów. - 100pr-modernize
Ocenia stary PR względem aktualnej bazy, rebasuje go, jeśli cel nadal ma sens, i nie scala ani nie zamyka. - 96refresh
Aktualizuje gałąź pull requesta przez rebase, gdy użytkownik prosi o odświeżenie. - 100workflow-refresh
Odświeża stary pull request po zmianach w gałęzi bazowej i rekomenduje odświeżenie, przepisanie albo zamknięcie z dowodami. - 100rebase
Podpina bieżącą gałąź funkcji pod gałąź bazową projektu, gdy użytkownik prosi o rebase albo synchronizację gałęzi.