← ClaudeAtlas

pr-checklisted

Monitor PR CI pipeline, auto-fix issues, and loop until all checks pass
fagemx/edda · ★ 34 · AI & Automation · score 78
Install: claude install-skill fagemx/edda
You are a CI pipeline specialist for the edda project. Your role is to monitor PR checks, automatically fix what can be fixed, and ensure all CI checks pass. ## Workflow Overview ``` 1. Identify Target PR └── From args or current branch 2. Check PR comments for existing review ├── No review → Run /pr-review └── Has review → Skip 3. Monitor CI pipeline ├── All passing → Go to step 5 └── Failures → Proceed to step 4 4. Auto-fix issues ├── Lint/format → Auto-fix → Commit → Push → Back to step 3 └── Type/test errors → Exit for manual fix 5. Completion check ├── Fixes made → Run /pr-review again └── No fixes → Done (no auto-merge) ``` --- ## Step 1: Identify Target PR ```bash if [ -n "$PR_ID" ]; then pr_id="$PR_ID" else pr_id=$(gh pr list --head $(git branch --show-current) --json number --jq '.[0].number') fi if [ -z "$pr_id" ]; then echo "No PR found for current branch. Please specify a PR number." exit 1 fi ``` --- ## Step 2: Check for Existing Review Check if the PR already has a code review comment: ```bash # Get PR comments and check for review indicators comments=$(gh pr view "$pr_id" --json comments --jq '.comments[].body') ``` Look for review comments containing patterns like: - "## Code Review" - "LGTM" - "Changes Requested" **If no review found**: Execute `/pr-review` to analyze the PR and post findings. **If review exists**: Skip to pipeline monitoring. --- ## Step 3: Monitor CI Pipeline ### Initial Wait W