ci-check

Runs local CI checks and verifies GitHub Actions status for the current branch.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/adam-s/api-interceptor --skill ci-check-adam-s
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ci-check
Source: https://github.com/adam-s/api-interceptor/tree/main/.claude/skills/ci-check
Command: npx skills add https://github.com/adam-s/api-interceptor --skill ci-check-adam-s

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It removes the guesswork from CI failures by running the same checks locally as GitHub Actions, then reading remote run logs to diagnose and fix failures before pushing again. ## Core Features & Use Cases - Local CI parity: Executes install, build, typecheck, and docker build via a local script, with a quick mode that skips docker for faster TypeScript iteration. - Remote run verification: Uses the GitHub CLI to list, watch, and inspect CI runs for the current branch, including failed-step-only logs. - Guided failure remediation: Maps common failure types (lockfile drift, build/typecheck errors, docker build issues) to concrete fix steps. - Use Case: After pushing a branch, ask the agent to check CI; it watches the run, reads the failed step logs, fixes the TypeScript error locally, verifies with the quick check, and pushes again until CI is green. ## Quick Start Ask the agent to run the CI check and fix any failures on the current branch before committing.

Frequently Asked Questions about ci-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check GitHub Actions CI status from the command line?▼

Use gh run list --branch <branch> --limit 1 to find the latest run for your branch, then gh run view <id> for details. If the run is in progress, gh run watch <id> waits for completion.

How do I see only failed step logs in a GitHub Actions run?▼

Run gh run view <run-id> --log-failed to get log lines only from failed steps. This is more focused than --log, which dumps the entire run output.

How do I run the same CI checks locally before pushing?▼

Execute ./scripts/ci-local.sh to replicate the GitHub Actions pipeline locally: install, build, typecheck, and docker build. Use the --quick flag to skip the docker build when iterating on TypeScript fixes.

Why does pnpm install --frozen-lockfile fail in CI?▼

It fails when pnpm-lock.yaml is out of sync with package.json changes. Run pnpm install locally to regenerate the lockfile, then commit the updated pnpm-lock.yaml.

What causes a docker build step to fail in CI?▼

Common causes include a missing COPY instruction for a new config file, a changed package name, or a missing dependency. Verify the fix by running the full local CI script including the docker build.