tests

Analyze recent code changes to identify test coverage gaps and recommend tests.

7|Updated Apr 2, 2016
One-click install
npx skills add https://github.com/mjwestcott/dotfiles --skill tests-mjwestcott
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tests
Source: https://github.com/mjwestcott/dotfiles/tree/main/claude/skills/tests
Command: npx skills add https://github.com/mjwestcott/dotfiles --skill tests-mjwestcott

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews the testing status of recent code changes to ensure changes are well-tested before PRs.

Core Features & Use Cases

  • Coverage analysis: Detects gaps where new or modified code lacks tests.
  • Quality assessment: Evaluates test quality, edge-case handling, and alignment with project conventions.
  • Actionable recommendations: Suggests targeted tests to add or update.

Quick Start

Provide a coverage review for the latest code changes and output recommended tests to add.

Frequently Asked Questions about tests

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

FAQPage Schema
How do I check test coverage gaps before creating a pull request?

To evaluate test coverage before a pull request, analyze modified files against existing tests to detect untested code paths and output a report highlighting specific uncovered areas requiring new unit or integration tests.

What is the best way to ensure my code changes have adequate edge-case handling?

Adequate edge-case handling is verified by assessing existing test quality to determine if boundary conditions align with project conventions, producing concrete recommendations to strengthen coverage for feature branch changes.

How do I generate actionable test recommendations for modified files?

Generate actionable test recommendations by analyzing modified files alongside project testing standards to output targeted suggestions for unit and integration tests that must be added or updated for release readiness.

Can I assess test quality for feature branches without running a test suite?

Yes, you can assess test quality for feature branches by statically analyzing modified files and existing tests to evaluate edge-case handling and convention alignment without executing the test suite.

Does test coverage analysis work with both unit and integration tests?

Test coverage analysis works with both unit and integration tests by evaluating whether recent code changes are properly validated across both scopes to prepare a safety net for pull request code reviews.