pr-pipelinelisted
Install: claude install-skill lwalden/AIAgentMinder
# /aiagentminder:pr-pipeline - Autonomous PR Review Pipeline
Review, fix, test, and merge a pull request autonomously. Handles the full
review→fix→test→merge loop with human escalation for high-risk or genuinely
blocked cases.
Invoked in-session by the sprint workflow after PR creation, or manually:
`/aiagentminder:pr-pipeline` (uses current branch PR) or `/aiagentminder:pr-pipeline <PR-URL>`.
---
## Step 0: Parse Input and Load Config
**Determine the PR:**
If invoked with a PR URL argument: parse owner, repo, and PR number.
If invoked without arguments, get current PR:
```bash
git rev-parse --abbrev-ref HEAD
gh pr view --json number,url,headRefName,baseRefName,title,body,author
```
If no open PR for the current branch, tell the user and stop.
**Load config** from `.pr-pipeline.json` at the repo root (if it exists):
```json
{
"highRiskPatterns": ["**/auth/**", "**/security/**", "**/payment/**",
"**/billing/**", "**/migration/**", ".github/workflows/**",
"Dockerfile*", "docker-compose*", "*.tf", "*.tfvars"],
"cycleLimit": 5,
"autoMerge": true,
"mergeMethod": "squash",
"skipPatterns": ["package-lock.json", "yarn.lock", "*.lock",
"dist/**", "build/**", ".next/**"],
"notification": { "email": "", "from": "pipeline@resend.dev" },
"testCommand": null,
"mergeWait": { "pollIntervalSeconds": 30, "timeoutMinutes": 15 }
}
```
If the file is absent, use these defaults.
**Get PR metadata:**
```bash
gh pr view {number} --json number,title,body,headRe