tester-detective

Audit test coverage in TypeScript/JavaScript codebases using AST callers analysis.

278|29|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/MadAppGang/claude-code --skill tester-detective-madappgang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tester-detective
Source: https://github.com/MadAppGang/claude-code/tree/main/plugins/code-analysis/skills/tester-detective
Command: npx skills add https://github.com/MadAppGang/claude-code --skill tester-detective-madappgang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill focuses on test coverage investigation using AST callers analysis and automated test-gaps detection to identify where tests exist, where they don’t, and how robust the test suite is.

Core Features & Use Cases

  • Find Tests for a Function: identify which tests call or cover a function
  • Map Test Infrastructure: locate test utilities and fixtures
  • Test Coverage Gaps: surface high-priority untested code
  • Test Quality Notes: assess the quality and depth of tests

Quick Start

claudemem --nologo status; claudemem --nologo map "test coverage" --raw; claudemem --nologo callers processPayment --raw

Frequently Asked Questions about tester-detective

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

FAQPage Schema
How do I find which tests cover a specific function in my codebase?

Test coverage analysis using AST callers identifies which tests invoke or exercise a function. Use the 'callers' command to map test-to-function relationships and reveal which tests provide coverage for your target function.

What's the best way to identify untested code in a TypeScript or JavaScript project?

AST-based test-gaps detection surfaces high-priority untested functions by analyzing your codebase structure and comparing it against test coverage maps. The Skill outputs a prioritized list of functions lacking test coverage.

How can I map test infrastructure and locate test utilities in my project?

AST callers analysis locates test utilities, fixtures, and helper functions by tracing references across your codebase. The 'map' command identifies test infrastructure components and their relationships to production code.

Can I assess test quality and identify coverage gaps without using grep or glob?

Yes. AST-only analysis enforces structured code inspection via claudemem without relying on text search. This approach prevents false matches and produces accurate test-call relationships and pagerank metrics for prioritization.

Does this work with existing TypeScript and JavaScript projects?

The Skill targets TypeScript and JavaScript codebases, using AST parsing to analyze callers, callees, and test coverage. It integrates with projects using the claudemem v0.3.0 framework and the 'callers', 'map', and 'test-gaps' commands.