phx-watch-pr
Watch an Elixir/Phoenix PR for new review comments (bot + human) and CI results via a background watcher that wakes Claude only on real events. Use after opening a PR or pushing, while waiting on CI or reviewers.
npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-watch-pr --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Watch PR (Token-Conscious) Watch a PR's reviews, comments, and CI with a background watcher that wakes Claude ONLY on real events — no foreground sleep loops, no context bloat. The watcher polls quietly in its own process; nothing enters context until something genuinely changed. ## Usage ``` phx-watch-pr 42 # watch reviews + comments + checks phx-watch-pr 42 --checks-only # CI only (delegates to gh pr checks --watch) phx-watch-pr 42 --fix # on actionable review, draft fixes too phx-watch-pr 42 --codex # + request Codex cloud review, loop until clean phx-watch-pr 42 --codex --codex-rounds 2 # cap re-review rounds (default 3) ``` ## Iron Laws 1. **NEVER foreground-poll with `sleep` in the session** — use the background watcher (Monitor / run_in_background). Foreground polling bloats context and straddles the 5-min cache TTL 2. **Deltas ONLY enter context** — never dump full `gh` JSON. The watcher emits one-line events; read `.claude/watch/pr-{n}.jsonl` on demand 3. **Silence is not success** — the watcher MUST emit on PR closed/merged, CI failure, repeated gh errors, and watchdog timeout — not just "new comment". A silent watcher looks identical to a hung one 4. **NEVER auto-post
- Usage
- Iron Laws
- Workflow
- Step 1: Parse Arguments
- Step 2a: --checks-only Path
- Step 2b: Full Watch Path
- Step 3: React Per Event
- Step 4: Stop
- Integration
- References
gh pr checks {n} --watch --fail-fast --interval 10What does the phx-watch-pr skill do?
Watch an Elixir/Phoenix PR for new review comments (bot + human) and CI results via a background watcher that wakes Claude only on real events. Use after opening a PR or pushing, while waiting on CI or reviewers.
How do I install it?
Run `npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-watch-pr --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From oliver-kriska/claude-elixir-phoenix, a repository with 515 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
