ecc-pr-test-analyzer

Review pull request test coverage for behavioral gaps and missing edge cases.

Updated Apr 18, 2025
One-click install
npx skills add https://github.com/adriancodes/dotfiles --skill ecc-pr-test-analyzer-adriancodes
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ecc-pr-test-analyzer
Source: https://github.com/adriancodes/dotfiles/tree/main/dot_agents/skills/ecc-pr-test-analyzer
Command: npx skills add https://github.com/adriancodes/dotfiles --skill ecc-pr-test-analyzer-adriancodes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Pull requests often ship with tests that miss the actual changed behavior, leaving critical code paths undefended. This Skill statically reviews a PR's tests against its changed code to surface real coverage gaps before merge. ## Core Features & Use Cases - Changed Code Mapping: Identifies changed functions, classes, and modules, then locates their corresponding tests and untested paths. - Behavioral Coverage Analysis: Flags important changed behavior not defended by tests, verifies edge cases and error paths, and checks integration coverage. - Test Quality Review: Prefers meaningful assertions over no-throw checks, flags flaky patterns, and rates gaps as critical, important, or optional. - Use Case: Before merging a PR that modifies payment retry logic, run this review to confirm the new retry branches and failure paths are actually exercised by tests. ## Quick Start Review the test coverage of this pull request and report any critical behavioral gaps with file and line references.

Frequently Asked Questions about ecc-pr-test-analyzer

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

FAQPage Schema
How do I review test coverage for a pull request?▼

Map the changed functions, classes, and modules to their corresponding tests, then identify untested code paths. Focus on behavioral coverage: check that edge cases, error paths, and important integrations are defended by tests with meaningful assertions.

What makes a good pull request test review?▼

A good review reports only actionable findings tied to a file, line, triggering condition, and observable impact. It distinguishes verified defects from hypotheses, checks callers and existing tests before reporting gaps, and rates gaps by impact as critical, important, or optional.

Does this test review execute the code or run the test suite?▼

No, the review is static and read-only. It does not edit files, run project code or tests, or connect to databases; it relies on read/search access and asks the caller for a diff or runtime evidence when tools cannot obtain it.

What are the limitations of static test coverage review?▼

Static review cannot confirm runtime behavior, so findings about execution-dependent issues remain unverified hypotheses. When a required area cannot be assessed from the available code, the review explicitly states that rather than claiming approval.

How are test coverage gaps prioritized in a review?▼

Gaps are rated by impact: critical gaps block the change, important gaps should be addressed, and optional gaps are omitted from blocking findings. A test is recommended only when a plausible bug would actually fail it.