Exit code 0: approval detected or PR closed (treat as pass)
Exit code 1: timed out (treat as incomplete; ask Maintainer)
1---2name: watch-uat-github-pr-33description: Watch UAT PR (GitHub)4---56# Watch UAT PR (GitHub)78## Purpose9UAT comment polling is historically brittle. This skill standardizes the watch loop so the agent can reliably wait for Maintainer feedback/approval.1011Preferred: use GitHub chat tools to poll PR state + comments (avoids terminal output/pager issues).12Fallback: use the stable wrapper command.1314Fallback path uses the repo wrapper script `scripts/uat-watch-github.sh`, which repeatedly calls `scripts/uat-github.sh poll` until:15- approval keywords are detected, or16- the PR is closed/merged, or17- a timeout is reached.1819## Hard Rules20### Must21- Use `scripts/uat-watch-github.sh` (single stable command).22- Treat any detected approval (`approved|passed|accept|lgtm`) as UAT passed.23- Stop watching and report when the PR is closed.2425### Must Not26- Spam comments or post follow-ups while waiting.27- Run many ad-hoc `gh` commands; prefer the wrapper.2829## Actions3031### Preferred: Poll using GitHub chat tools32Repeatedly:33- Fetch PR details (state)34- Fetch PR conversation comments35- Stop and report if the PR is closed/merged36- Treat any detected approval (`approved|passed|accept|lgtm`) as UAT passed3738### Fallback: One-command wrapper3940### 1. Watch the PR41```bash42scripts/uat-watch-github.sh <pr-number>43```4445### 2. Optional: Tune polling interval / timeout46```bash47scripts/uat-watch-github.sh <pr-number> --interval-seconds 60 --timeout-seconds 360048```4950## Output51- Exit code `0`: approval detected or PR closed (treat as pass)52- Exit code `1`: timed out (treat as incomplete; ask Maintainer)
Run npx get-skill add oocx/watch-uat-github-pr-3 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Watch UAT PR (GitHub) It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
oocx (@oocx) published this skill. Their other Agent Skills are listed on their SkillMD profile.