Run CI quality gates with optional auto-fix and PR creation.
Coordinates pull → build → test → fix → PR. Keeps instructions lean; heavy details live in references and contracts file. Agent Runner is required for all agent calls (registry-enforced, audited).
/ci-automation (flags: --build, --test, --dest, --src, --allow-warnings, --yolo, --help)ci-validate-agent: pre-flight checks (clean repo, config present, auth available)ci-pull-agent: pull target branch, handle simple conflictsci-build-agent: run build, classify failuresci-test-agent: run tests, classify failures/warningsci-fix-agent: apply straightforward fixesci-root-cause-agent: summarize unresolved issues, recommend actionsci-pr-agent: commit/push/PR when gates passci-validate-agentci-pull-agent (dest inferred from tracking; --dest overrides)ci-build-agentci-fix-agent (only straightforward fixes), repeatci-test-agentci-fix-agent if straightforward, else ci-root-cause-agent--yolo): Agent Runner → ci-pr-agent to commit/push/PRPreferred: .claude/ci-automation.yaml (fallback: .claude/config.yaml) with upstream_branch, build_command, test_command, warn_patterns, allow_warnings, auto_fix_enabled, pr_template_path, repo_root. Detect stack (e.g., .NET/Python/Node) and prompt to save suggested commands.
--yolo: allow commit/push/PR after gates pass.--allow-warnings or config override.--dest main provided..claude/state/logs/ci-automation/..claude/references/ci-automation-commands.md.claude/references/ci-automation-checklists.md.claude/references/ci-automation-contracts.md