improve-coverage

Installation
SKILL.md

Improve Code Coverage

Improve test coverage for a Bazel C++ test target or source file path.

Input Resolution

  1. Bazel test target (starts with //, e.g. //src/v/bytes/tests:iobuf_test): use it directly.

  2. Source file path (e.g. src/v/bytes/iobuf.cc): find the test target:

    bazel query "kind('.*_test', rdeps(//src/v/..., //$(dirname $FILE):$(basename $FILE .cc), 1))" 2>/dev/null
    

    If multiple targets match, pick the one in the closest tests/ directory. If none match, tell the user and stop.

Workflow

Step 1: Baseline Coverage

Installs
2
GitHub Stars
12.4K
First Seen
Jun 21, 2026
improve-coverage — redpanda-data/redpanda