Agent skill
ci:status
Check PR CI status - all checks, failures, test results, and artifacts
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ci-status
SKILL.md
CI Status
Check the current CI status for a PR and create task items for any failures.
When to Use
- After pushing changes to a PR
- When asked "what's the CI status?"
- Before deciding whether to push more changes
- After CI completes to summarize results
Workflow
1. Get PR Status
gh pr checks <PR-number>
2. Summarize Results
Present as a table:
| Check | Status | Details |
|---|---|---|
| CodeQL | pass/fail | N alerts |
| Deploy & Test (Kind) | pass/fail | N passed, N failed |
| E2E HyperShift | pass/fail/pending | N passed, N failed |
| Build | pass | - |
| Linting | pass | - |
3. For Failures - Get Details
# Kind CI test results
gh run download <run-id> -n e2e-test-results -D /tmp/ci-results
grep -oE 'errors="[0-9]+" failures="[0-9]+" skipped="[0-9]+" tests="[0-9]+"' /tmp/ci-results/e2e-results.xml
# Failed test names
grep '<failure' /tmp/ci-results/e2e-results.xml
# HyperShift logs
gh run view <run-id> --log-failed | tail -30
# CodeQL alerts
gh api repos/<owner>/<repo>/check-runs/<check-id>/annotations --jq '.[] | {path, line: .start_line, message: .message[:100]}'
4. Create Tasks for Failures
For each distinct failure, create a task:
TaskCreate: "<worktree> | <PR> | <topic> | RCA | <failure description>"
Task Tracking
On invocation:
- TaskList - check for existing CI-related tasks
- TaskCreate for each new failure found
- Link to plan doc if failures relate to planned work
- Metadata:
plan: "ad-hoc",runner: "main-session"
Troubleshooting
CI check not appearing
- Push may not have triggered the workflow
- Check workflow trigger conditions in
.github/workflows/ - HyperShift E2E requires manual
/testcomment
Stale results
- CI runs on the commit at push time, not current HEAD
- Check
headShamatches expected commit
Related Skills
ci:monitoring- Wait for and monitor running CI jobsrca:ci- Root cause analysis of CI failurestdd:ci- TDD iteration using CI as test environment
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?