specrail-diagnose-cilisted
Install: claude install-skill majiayu000/vibeguard
# SpecRail Diagnose CI
Use this skill for the `fix_ci` route.
## Steps
1. Collect the failing workflow, job, step, command, logs, PR head SHA, and base
branch evidence.
2. Run the CI route gate when available:
```sh
python3 checks/route_gate.py --repo . --route fix_ci --issue <issue-number> --pr <pr-number> --state human_review --json
```
3. Reproduce the failure locally when the command is available.
4. Form one root-cause hypothesis, test it, then fix the smallest responsible
code or workflow surface.
5. Run the failing command again after the fix.
6. Report fresh command output, remaining CI status, and any remote evidence
that could not be verified.
## Boundaries
- Do not claim CI is green from stale, absent, or unrelated evidence.
- Do not make unrelated improvements while fixing CI.
- Do not bypass tests, weaken assertions, or hide failures.
- Do not merge without explicit human authorization and PR-gate evidence.
## When to Activate
- Activate this route only when the request matches the skill description and the SpecRail router selected it.
- Use it after loading repository instructions, workflow policy, and the current user-authorized scope.
## Red Flags
- Required issue, spec, PR, runtime, or review evidence is missing or stale.
- A proposed action would bypass an offline gate, CI, review, or human authorization.
- The route would ignore configured paths, duplicate an artifact, or cross the requested scope.
## Checklist
- [ ] Confirm the route,