GitHub Action

Test coverage
for the AI era.

Not lines covered. Features covered.

Runs only on PRs · Comment-only by default · Diff is sent to Claude to generate missing tests.

Before

"87% line coverage"

A green badge. Looks good. Ships. Bug in prod.

After

"4 of 4 features covered"

Claude read your PR. Knows what matters.

PR opened

GitHub sends the diff

Detects new and changed functions, endpoints, and logic.

Claude reads it

Understands intent, not just lines

Maps changes to a feature-level test plan.

Fails or passes

With a comment explaining exactly what's missing

Posts a checklist with suggested test names.

github-actionsbot

PR Test Checker

Four new arithmetic functions were added with no accompanying tests.

Suggested tests:

  • test_divide_by_zero
  • test_negative_inputs
✓ = covered · ☐ = needs a test

This comment is written by Claude. It understands your code.

Missing tests? The PR stays blocked.

When the check fails, merging is blocked until the missing feature-level tests are added. No exceptions, no overrides by default.

Configure it as a required status check in your branch protection rules to enforce this automatically.

What it needs to run

Minimal permissions. No write access to your code beyond PR comments.

Required secret: ANTHROPIC_API_KEY