Agent skill · Code Review & Quality

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.

oliver-kriskagithub.com/oliver-kriskaGitHub ↗
claude-codeships scriptsMIT
Install
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.

Facts
Files in the skill folder: 3
SKILL.md size: 7 KB
Bundled scripts: yes
Path: targets/amp/skills/phx-watch-pr/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 515
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Usage
  2. Iron Laws
  3. Workflow
  4. Step 1: Parse Arguments
  5. Step 2a: --checks-only Path
  6. Step 2b: Full Watch Path
  7. Step 3: React Per Event
  8. Step 4: Stop
  9. Integration
  10. References
Ships with 2 files
  • references/watcher-mechanics.md
  • scripts/watch-pr.sh
Commands it runs
gh pr checks {n} --watch --fail-fast --interval 10
More from claude-elixir-phoenix
All skills →
About this skill
What 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.

Keep going