name: ci-orchestrator description: Run a CI-like pipeline locally (format, lint, vet, static-analysis, tests) and summarize per-step results with remediation guidance. license: MIT metadata: mode: verify purpose: ci
CI Orchestrator
When to Use
- The user wants a single command-style check that reproduces CI checks locally or validates a PR prior to submission.
Responsibilities
- Execute repository-standard steps in order and summarize failures with actionable fixes.
- Provide per-step outputs (pass/fail), first error lines, and suggested remediations.
Pipeline Steps
- Format:
go fmt ./... - Lint:
golangci-lint run --timeout 5m --verbose ./...(CI uses v2.12.2) - Lint (revive):
revive ./... - Vet:
go vet -v ./... - Vet (cross-platform):
GOOS=linux GOARCH=amd64 go vet -v ./...andGOOS=darwin GOARCH=arm64 go vet -v ./...(CI runs all six OS/arch combos) - Security:
gosec ./... - Vulnerability:
govulncheck ./... - Tests:
source setTestEnv.sh && go test -v -cover ./...
Rules
- Do not change code automatically; return clear next steps and small fix suggestions.
- Respect the repo CI order as configured in
.github/workflows/. - Report per-step status before moving to the next step.
Output
- Step-by-step status table (step, pass/fail, key error lines).
- Short remediation for each failing step.
- Recommended next commands to re-run after fixes.
Related Skills
linter-runner,static-analysis,test-runner,code-formatter