End-to-end autonomous pipeline that runs auto-review-fix, then auto-pr-merge
Autonomous pipeline: review+fix code, then create PR and merge. Execute without user confirmation.
IMPORTANT: Run auto-review-fix as a sub-agent (not an inline skill) to ensure it gets its own isolated context window. This prevents instruction dilution and ensures fix phases properly spawn their own Task() sub-agents as required.
Agent(
subagent_type: "general-purpose",
description: "Run auto-review-fix",
prompt: "Run the /auto-review-fix skill. Follow ALL instructions exactly, especially: all fixes MUST be done via Task() subagents with opus-4-5. No direct edits."
)
Wait for the agent to complete. Then commit any changes:
if [ -n "$(git status --porcelain)" ]; then
git add -A && git commit -m "fix: address auto-review findings"
fi
Continue to Step 2 — do not stop here.
Use the Skill tool: skill: "auto-pr-merge"
Handles PR creation, CI polling, fix loops, and merge with --admin --squash.