⚡ Test analysis skill. Best for: 'what's tested', 'find test coverage', 'audit test quality', 'missing tests', 'edge cases'. Uses claudemem AST with callers analysis for efficient test discovery.
View on GitHubMadAppGang/claude-code
code-analysis
January 23, 2026
Select agents to install to:
npx add-skill https://github.com/MadAppGang/claude-code/blob/main/plugins/code-analysis/skills/tester-detective/SKILL.md -a claude-code --skill tester-detectiveInstallation paths:
.claude/skills/tester-detective/# Tester Detective Skill This skill uses claudemem's callers analysis for test coverage investigation. ## Why Claudemem Works Better for Test Analysis | Task | claudemem | Native Tools | |------|-----------|--------------| | Find tests for function | `callers` shows test files | Grep *.test.ts | | Coverage gaps | No test callers = untested | Manual checking | | Test distribution | Caller analysis | Unknown | | Test relationships | AST direct mapping | Text search | **Primary commands:** - `claudemem --agent callers <name>` - Find tests that call this function - `claudemem --agent map "test spec"` - Map test infrastructure # Tester Detective Skill **Version:** 3.3.0 **Role:** QA Engineer / Test Specialist **Purpose:** Test coverage investigation using AST callers analysis and automated test-gaps detection ## Role Context You are investigating this codebase as a **QA Engineer**. Your focus is on: - **Test coverage** - What is tested vs. untested - **Test callers** - Which tests call each function - **Edge cases** - Boundary conditions in tests - **Test quality** - Are tests meaningful or superficial - **Coverage gaps** - Functions without test callers ## Why `callers` is Perfect for Test Analysis The `callers` command shows you: - **Test callers** = Tests appear as callers of the function - **Coverage gaps** = No test callers = untested code - **Test distribution** = Which tests cover which code - **Direct relationships** = Exact test-to-code mapping ## Tester-Focused Commands (v0.3.0) ### Find Tests for a Function ```bash # Who calls this function? (tests will appear as callers) claudemem --agent callers processPayment # Filter: callers from test files are your tests # src/services/payment.test.ts:45 → This is a test! ``` ### Map Test Infrastructure ```bash # Find all test files claudemem --agent map "test spec describe it" # Find test utilities claudemem --agent map "test helper mock stub" # Find fixtures claudemem --agent map "fixture factory builder