← ClaudeAtlas

pr-automationlisted

PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
gabrielmoreira/agent-skills-mirror · ★ 9 · AI & Automation · score 76
Install: claude install-skill gabrielmoreira/agent-skills-mirror
# PR Automation Orchestrate the full PR automation lifecycle using a label-based state machine. Each invocation performs at most one "heavy" action (review or fix), then exits. Pure skips continue within the same session to find the next eligible PR. **Announce at start:** "I'm using pr-automation skill to process PRs." ## Usage ``` /pr-automation ``` No arguments required. The daemon script `scripts/pr-automation.sh` manages the automation loop. ## Configuration ``` TRUSTED_CONTRIBUTORS_TEAM: detected from REPO org (e.g. iOfficeAI/trusted-contributors) CRITICAL_PATH_PATTERN: env var, default in scripts/pr-automation.conf LARGE_PR_FILE_THRESHOLD: env var (default: 50), also in scripts/pr-automation.conf PR_DAYS_LOOKBACK: env var (default: 7), also in scripts/pr-automation.conf ``` **REPO** is detected automatically at runtime — do not hardcode it: ```bash REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner') ORG=$(echo "$REPO" | cut -d'/' -f1) ``` ## Label State Machine | Label | Meaning | Terminal? | | ------------------------ | ----------------------------------------------------------------------- | --------- | | `bot:reviewing` | Review in progress (mutex) | No | | `bot:ready-to-fix` | CONDITIONAL review done, waiting for bot to fix next session | No | | `bot:fixing` | Fix i