What problem does it solve?
When modifying C code in the RediSearch codebase, it is hard to know whether your changes are actually exercised by the end-to-end Python flow tests. This Skill builds the module with coverage instrumentation, runs the full Python test suite, and reports exactly which C source lines remain untested.
Core Features & Use Cases
- Coverage Gap Detection: Builds with gcov instrumentation, runs the full Python flow test suite, and parses the lcov output to list uncovered line ranges per file.
- Gap Classification: Distinguishes testable gaps (reachable via FT.* commands) from non-testable code such as disk-only paths, C API-only code, and defensive branches.
- Structured Reporting: Groups uncovered lines by feature area and suggests which test file would be the natural home for new tests.
- Use Case: After adding a new query node type in src/query.c, run this Skill to confirm which branches of your new code lack end-to-end test coverage before opening a pull request.
Quick Start
Ask the assistant to check flow coverage for a C source file, for example: run check-flow-coverage on src/module.c and src/query.c.