watch-pr

Featured

Watch an Elixir/Phoenix PR with an Amp Orb keep-alive lease until required non-deployment CI is green and review threads are resolved. Use after opening or updating a PR.

Code & Development 531 stars 38 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
91
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Watch PR — Amp-Native Lifecycle Use the `elixir_phoenix_watch_pr` plugin tool. Do not launch `gh pr checks --watch`, `gh run watch`, a foreground sleep loop, or the copied Claude watcher script: none of those owns an Amp Orb keep-alive lease. ## Iron Laws 1. **Acquire one bounded keep-alive lease** — start the plugin lifecycle once, then let its durable state and dedupe handle polling and plugin reloads. 2. **Deployment is never readiness** — deployment, release, preview, production, and prod checks are reported under `excludedChecks`; they are never counted as passing or failing required CI. 3. **Never merge or deploy** — watching and `--fix` authorize neither action. 4. **`--fix` uses the same worker thread** — the plugin serializes one concise event turn at a time and directs that turn to the installed `phx-pr-review` workflow for actionable review feedback or failed required CI. Validate the cause before editing. 5. **Every watch is bounded** — timeout and every other terminal path release the lease. A timeout is incomplete, never success. ## Start Parse the PR number/URL and flags, then call: ```text elixir_phoenix_watch_pr { "action": "start", "pr": "<number-or-url>", "checksOnly": false, "fix": false } ``` Map `--checks-only` and `--fix` to booleans. Map `--max-hours`, `--quiet-minutes`, and `--poll-seconds` to `maxDurationHours`, `quietPeriodMinutes`, and `pollIntervalSeconds`. Defaults are 2 hours maximum, 15 minutes quiet, and 6...

Details

Author
oliver-kriska
Repository
oliver-kriska/claude-elixir-phoenix
Created
6 months ago
Last Updated
5 days ago
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category