fix-pr-checks
Monitors GitHub PR checks every 60 seconds, fixes failing checks, and reports failures and fixes in Caveman-style tables.
Skill by lucasbayma
Chalk Labs
Need help deploying fix-pr-checks?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lucasbayma-fix-pr-checks
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/fix-pr-checks
What's inside
- Skill name
fix-pr-checks- Description
- Monitors GitHub PR checks every 60 seconds, fixes failing checks, and reports failures and fixes in Caveman-style tables. Use when the user asks to watch, poll, repair, or summarize GitHub pull request checks.
- License
- MIT
- Instructions
- 103 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- report.md · templates/
SKILL.md (first lines)
<objective>
Monitor a GitHub pull request's checks on a 60-second polling loop, diagnose every failing or errored check, apply focused fixes, verify locally when possible, and report each poll in Caveman style using compact tables.
This skill is for active PR repair work. It keeps checking until checks pass, the user stops the run, no checks are running, or a blocker requires user input.
</objective>
<quick_start>
Use the current branch PR unless user gives PR number, URL, branch, or repo:
```bash
gh pr checks --json name,bucket,state,workflow,link,description,startedAt,completedAt
```
Poll manually every 60 seconds:
```bash
while true; do
date
gh pr checks "$PR" --json name,bucket,state,workflow,link,description,startedAt,completedAt
sleep 60
done
```
For each poll, print Caveman table:
| Check | State | Failure | Fix | Verify |
|---|---|---|---|---|
| `ci/test` | fail | Jest snapshot drift | updated snapshot intent | `npm test` pass |
If no failures: `No fail. Checks pass/pending: <counts>. Next poll 60s.`
If no checks running: `No checks running. Reason: <not started/no workflow/no PR/no permissions>.`
</quick_start>
<workflow>
1. **Resolve target PR**
- If user gives PR number, URL, branch, or `OWNER/REPO`, use it.
- Otherwise run `gh pr view --json number,url,headRefName,baseRefName,state,isDraft` from current repo.
- If no PR exists for current branch, report `No PR found for branch` and ask for PR target.
2. **Preflight**
- Verify `gh auth status`.
- Verify working tree with `git status --short`.
- Preserve unrelated user changes. Do not revert files you did not change.
- Identify package/test commands from repo conventions before fixing.
3. **Poll every 60 seconds**
- Run `gh pr checks "$PR" --json name,bucket,state,workflow,link,description,startedAt,completedAt`.
- Treat buckets as:
- `fail` or `cancel`: must investigate and fix.
- `pending`: wait and poll again unless logs show immediate failure details.
- `pass`: record as passing.
- `skipping`: report skipped, no fix unless required check blocked.
- If command returns pending exit code, continue loop.
- If command cannot find checks or PR has no check runs, report no checks running with likely reason.
4. **Investigate failures**
- Prefer direct check logs from GitHub Actions:
- Find run: `gh run list --branch "$(git branch --show-current)" --json databaseId,headSha,status,conclusion,workflowName,event,createdAt`
- View logs: `gh run view <run-id> --log-failed`
- For non-Actions checks, open/link provider details when available and summarize only actionable failure lines.
- Map each failing check to root cause before editing.
5. **Fix one failure class at a time**
- Make smallest repo-consistent code/test/config change.
- Run local verification command that matches the failed check.
- If multiple checks fail from same root cause, group them in report but verify affected commands.
- Never commit, push, merge, rerun workflows, or force-push unless user asked. If user asked for full PR repair including push, push only after local verification.
6. **Print after each poll and after each fix**
- Use Caveman: terse fragments, no filler, exact technical names.
- Always use table for failures/fixes.
- Include no-failure and no-running states explicitly.
7. **Continue or stop**
- Continue polling every 60 seconds while checks are pending or failing and work remains possible.
- Stop when all required checks pass, all checks pass, user stops, or a blocker needs human decision.
</workflow>
<templates>
For every poll/fix report, copy and fill `templates/report.md`.
</templates>
<safety_rules>
- Do not hide failing checks. If a check cannot be inspected, report `unknown` with the exact command/error.
- Do not claim fixed until local verification passes or remote rerun passes.
- Do not claim all checks pass while any required check is pending, failing, cancelled, or unknown.
- Do not overwrite unrelated local changes.
- Do not perform destructive git operations.
- Do not wait silently during polling; print current state before each 60-second wait.
</safety_rules>
<success_criteria>
This skill succeeds when:
- Target PR is identified or missing target is clearly reported.
- Checks are polled every 60 seconds while monitoring continues.
- Every failing check has cause, fix, and verification status in a Caveman-style table.
- No-failure polls explicitly say no failures.
- No-running checks explicitly say checks are not running and why if knowable.
- Work stops only when checks pass, user stops, or a blocker is clearly reported.
</success_criteria>From lucasbayma/skills, MIT.
More from lucasbayma/skills
- 0.479score
candango-executor
lucasbayma
Candango Executor.
SkillCFreshness: CClaude Code +9 - 0.479score
candango-setup
lucasbayma
Candango Setup.
SkillCFreshness: CClaude Code +9 - 0.479score
candango-uat
lucasbayma
Candango UAT.
SkillCFreshness: CClaude Code +9 - 0.474score
candango-design
lucasbayma
Candango Design.
SkillCFreshness: CClaude Code +9 - 0.474score
candango-issues
lucasbayma
Candango Issues.
SkillCFreshness: CClaude Code +9 - 0.474score
check-pr-comments
lucasbayma
Check PR Comments.
SkillCFreshness: CClaude Code +9 - 0.474score
spec-aware-pr-review
lucasbayma
Perform a pull request review grounded in code quality and the full history of related specifications.
SkillCFreshness: CClaude Code +9 - 0.474score
candango-uat-runner
lucasbayma
Candango UAT Runner.
SkillCFreshness: CClaude Code +9 - 0.474score
candango-wrap-up
lucasbayma
Candango Wrap-Up.
SkillCFreshness: CClaude Code +9 - 0.474score
candango-discover
lucasbayma
Candango Discover.
SkillCFreshness: CClaude Code +9 - 0.469score
candango-plan
lucasbayma
Candango Plan.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 29, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lucasbayma/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lucasbayma
- 0.479score
candango-executor
lucasbayma
Candango Executor.
SkillCFreshness: CClaude Code +9 - 0.479score
candango-setup
lucasbayma
Candango Setup.
SkillCFreshness: CClaude Code +9 - 0.479score
candango-uat
lucasbayma
Candango UAT.
SkillCFreshness: CClaude Code +9 - 0.474score
candango-design
lucasbayma
Candango Design.
SkillCFreshness: CClaude Code +9 - 0.474score
candango-issues
lucasbayma
Candango Issues.
SkillCFreshness: CClaude Code +9 - 0.474score
check-pr-comments
lucasbayma
Check PR Comments.
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get fix-pr-checks running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
fix-pr-checks skill. Agent Mart. https://agentmart.dev/skills/lucasbayma-fix-pr-checks (last updated 2026-10-24)