build-check

Checks GitHub Actions CI status after pushes and diagnoses failed build steps.

Updated May 11, 2026
One-click install
npx skills add https://github.com/thachrocky12345/local-agent-train-workstation --skill build-check-thachrocky12345
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-check
Source: https://github.com/thachrocky12345/local-agent-train-workstation/tree/main/.claude/skills/build-check
Command: npx skills add https://github.com/thachrocky12345/local-agent-train-workstation --skill build-check-thachrocky12345

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After every git push, developers must manually check whether GitHub Actions CI checks passed, wait for pending runs, and dig through logs when builds fail. This Skill automates that entire loop: it fetches check status, polls until completion, surfaces failing step logs, and can even fix common TypeScript, lint, or test failures. ## Core Features & Use Cases - Automatic CI Monitoring: Runs after every push to fetch and report pass/fail status for all GitHub Actions checks on a PR or branch. - Failure Diagnosis: Extracts the last lines of failed step logs and maps common errors (TS7006, ESLint violations, missing migrations) to concrete fixes. - Auto-Fix and Re-Verify: Applies minimal fixes to files in the current PR, commits, pushes, and re-runs the check to confirm the fix landed. - Use Case: You push a frontend branch and the build check fails with a TypeScript error. The Skill identifies the exact file and line, applies the type annotation fix, pushes the commit, and confirms all checks turn green. ## Quick Start Ask the assistant to check the build status for the current PR and wait until all CI checks complete.

Frequently Asked Questions about build-check

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

FAQPage Schema
How do I check GitHub Actions build status for a pull request?

Use the GitHub CLI command gh pr checks with the PR number and repository to list all CI checks with their status and duration. This Skill automates that call, parses the results into a table, and polls pending checks until they complete.

How to get failed step logs from a GitHub Actions run?

Run gh run view with the run ID and the --log-failed flag to retrieve logs only for failed job steps. The Skill extracts the last lines of each failed step, looking for error messages, file and line references, and stack traces.

Can CI checks be monitored automatically after every git push?

Yes, this Skill is designed to run automatically after any git push without being asked. It waits briefly, fetches check status, polls every 20 seconds for up to 5 minutes, and reports pass or fail for every check.

Why does my TypeScript check fail with TS7006 implicitly has any type?

TS7006 occurs when a callback parameter lacks a type annotation. Add an explicit type to the parameter, then run yarn check-types locally to confirm the fix before committing and pushing.

What happens when CI checks are still pending after several minutes?

The Skill polls every 20 seconds for up to 5 minutes (15 retries). If checks remain pending after the timeout, it reports the current state and notes which checks are still running rather than blocking indefinitely.