resolve-checks_skill

This skill guides you through resolving failing CI checks by running local tests, fixing issues, and ensuring green CI on your PR.
  • TypeScript

1.7k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill flowglad/flowglad --skill resolve-checks

  • SKILL.md7.7 KB
  • test-reference.md13.7 KB

Overview

This skill automates a disciplined workflow to resolve all failing CI checks on the current branch's pull request by running tests locally, fixing failures, and ensuring CI turns green. It emphasizes running the full test suite locally first, diagnosing flakiness, and iterating until the PR is safe to merge. The goal is stable, reproducible fixes—not repeatedly re-running CI until luck wins.

How this skill works

Identify the current branch and associated PR, then run the project test sequence locally: type checks and linting, backend tests, frontend tests, RLS tests, integration tests, and behavior tests. When failures appear, reproduce the failing test, fix the root cause, re-run locally (including repeated runs for flaky tests), push the commit, and monitor CI until all checks pass. For CI-only failures, compare local and CI environments, inspect logs, and address environment differences or timing issues.

When to use it

  • When CI checks are failing on your pull request
  • Before attempting to merge a PR to ensure a stable merge
  • After making code changes and before pushing to avoid red CI
  • When you suspect flaky tests or environment-specific failures
  • When a reviewer requests that all checks be green

Best practices

  • Run tests sequentially: check -> backend -> frontend -> rls -> integration -> behavior
  • Reproduce a failing test locally before making changes; run the single test file
  • Diagnose flakiness by running the test many times and fixing root causes (timing, race, non-determinism)
  • Compare local and CI environments (runtime versions, env vars, parallelism) for CI-only failures
  • Commit clear messages describing the fix and why it resolves the failing checks

Example use cases

  • A unit test fails after a refactor; run the unit suite locally, fix logic, and push the fix
  • A DB test breaks due to a schema change; update fixtures and re-run db tests before pushing
  • A test passes locally but fails in CI due to timing; identify race condition and add proper awaits or polling
  • An integration test fails in CI because of missing credentials; detect and document the environment difference
  • A flaky test intermittently fails; stabilize it by removing non-determinism and validating with repeated runs

FAQ

Inspect CI logs, compare runtime versions and env vars, check for parallelism or external service differences, and reproduce CI conditions locally where possible before patching the test or CI config.

Is it acceptable to re-run CI until it passes?

No. Re-running hides real issues. Diagnose flaky or environment-specific failures and fix the root cause so the suite is reliably green.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
resolve-checks skill by flowglad/flowglad | VeilStrat