cqs-test-map

Map a function to its tests by traversing the reverse call graph.

13|3|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/jamie8johnson/cqs --skill cqs-test-map
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cqs-test-map
Source: https://github.com/jamie8johnson/cqs/tree/main/.claude/skills/cqs-test-map
Command: npx skills add https://github.com/jamie8johnson/cqs --skill cqs-test-map

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Map functions to tests by traversing the reverse call graph to reveal coverage.

Core Features & Use Cases

  • Reverse-call-graph mapping: trace from a function to all tests that cover it.
  • Depth-bounded exploration: control traversal depth to focus on relevant test suites.
  • Refactoring visibility: quickly identify tests affected by code changes.

Quick Start

Run the cqs_test_map tool with the target function name and an optional --depth value to generate the test mappings.

Frequently Asked Questions about cqs-test-map

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map a function to its tests using a reverse call graph?

Map a function to its tests by traversing the reverse call graph from the target function to reveal all reachable tests and coverage across call chains. You provide the function name to generate the test mappings.

What is reverse call graph mapping for test coverage?

Reverse call graph mapping traces from a function to all tests that cover it, revealing test coverage across call chains. It identifies which tests execute a given function within a codebase.

How do I find tests affected by code changes during refactoring?

Find tests affected by code changes by running the reverse call graph mapping on the target function. It traces the call chain to quickly identify all test suites reachable from the modified code.

Can I limit the traversal depth when mapping tests to functions?

Yes, you can limit traversal depth by providing the optional --depth parameter when mapping tests to functions. This controls the reverse call graph exploration to focus on relevant test suites.

How do I identify all tests reachable from a given function in a codebase?

Identify all tests reachable from a given function by running the mapping tool with the target function name. It traverses the reverse call graph to reveal every test that covers the function.