pr-automation

Solid

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".

AI & Automation 28,123 stars 2742 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 93/100

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

Skill Content

# 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...

Details

Author
iOfficeAI
Repository
iOfficeAI/AionUi
Created
10 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category