ds-watch-pr
/ds-watch-pr
Śledzi pull request przez CI i przegląd, naprawia realne uwagi i zatrzymuje się, gdy PR jest gotowy, scalony lub zablokowany.
- Autor
- aicodeking ↗
- Repozytorium
- deepseek-stack ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 28.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/watch_pr.py
Co robi i kiedy
Śledzi pull request przez CI i przegląd, naprawia realne uwagi i zatrzymuje się, gdy PR jest gotowy, scalony lub zablokowany.
Oryginalny opis (EN)
Watches a pull request through CI and review, fixes real findings and stops when it is ready, merged or blocked. Use when the user asks to watch, monitor or babysit a PR, or /ds-watch-pr.
Jak działa
- Steps
- Stop when
- Rules
Podgląd SKILL.md
--- name: ds-watch-pr description: "Watches a pull request through CI and review, fixes real findings and stops when it is ready, merged or blocked. Use when the user asks to watch, monitor or babysit a PR, or /ds-watch-pr." --- Keep one PR moving until it is green and reviewed, with as little noise as possible. The watcher is `scripts/watch_pr.py` in this skill's folder. Call it by absolute path. It needs `python3` and a logged-in `gh`. ```bash python3 <skill>/scripts/watch_pr.py <pr> [--repo owner/name] [--until ready|green|any] [--interval 30] [--max-minutes 60] ``` It prints one line per new check failure, finished check run, comment or review, then a final `stop:` line. Exit 0 means the condition is met or the PR merged. Exit 1 means you must act. Exit 2 means bad input. `ready` waits for green checks, a mergeable branch and no change request. `green` waits for checks only. ## Steps 1. Handle what already exists: failed checks and comments newer than the last push. 2. Start the watcher. Run it in the harness's background or monitor tool if it has one, so each line wakes you. Otherwise run it as one long foreground command. 3. On each event, read the source before you change code. Decide if the finding is real. 4. For a real bug or CI failure: make the smallest fix, run the failing check locally, push, then restart the watcher. 5. For a false positive or out-of-scope request: reply with a short reason through `ds-pr-comments`, resolve the thread and list it as a follow-up. 6. Tell real test failures apart from infrastructure flakes. Re-run a flake once before you call it a flake. 7. If the base branch moved or the branch is behind, rebase, push with `--force-with-lease` and restart. 8. Before you call the PR ready, `git fetch` and read the PR again. It must not be BEHIND or DIRTY. ## Stop when - The watcher exits 0. Report the PR as ready, or merged. - Five fix-and-push cycles pass without exit 0. Report what still fails. - Another PR makes this one obsolete. Stop and ask before closing it. - `gh` reports a rate limit. Check `gh api rate_limit` and wait for the reset once. Do not loop. ## Rules - One watcher per PR. Never write your own sleep or polling loop. - When an event needs no action, say nothing. No "still waiting" messages. - Merge only if the user asked for it. Otherwise report ready. - Keep the PR small. Prefer fixes that delete or narrow code.
Pliki w paczce (2)
- SKILL.md 2 KB
- scripts/watch_pr.py 5 KB
Wersje
W bazie nie ma innych skilli o nazwie ds-watch-pr.
Migawka bazy z 13.11.2026 · wersja paczki 9fc85dcd0929 (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
- 100st-watch-pr
Obserwuje pull request w CI i recenzji, naprawia prawdziwe uwagi i kończy, gdy jest gotowy, scalony lub zablokowany. - 95babysit-pr
Pilnuje pull requesta przez CI i boty recenzenckie, poprawia realne uwagi i zatrzymuje się, gdy człowiek może go zatwierdzić. - 95t3-babysit-pr
Monitoruje pull request podczas przeglądu i CI, aż do zakończenia. - 100babysit-pr
Monitoruje pull request przez przegląd i CI, gdy użytkownik prosi o śledzenie lub podtrzymywanie PR. - 100babysit-pr
Monitoruje pull request w trakcie przeglądu i CI, gdy użytkownik prosi o obserwowanie PR. - 100babysit-pr
Doprowadza otwarty pull request do gotowości do scalenia, naprawia realne błędy CI i zweryfikowane uwagi recenzji.