test

Detect test frameworks, scope tests to changed code, and report coverage.

1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/0xHarbs/agent-setup --skill test-0xharbs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/0xHarbs/agent-setup/tree/main/claude/skills/lifecycle/test
Command: npx skills add https://github.com/0xHarbs/agent-setup --skill test-0xharbs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Testing Workflow detects test frameworks, scopes tests to changed code, and reports coverage and acceptance criteria alignment to improve confidence in code changes.

Core Features & Use Cases

  • Detects test frameworks (Vitest/Jest/Pytest) and selects the appropriate test command.
  • Scopes test execution to changed files to minimize runs and surface regression risks.
  • Reports Layer 1–3 quality signals and traces acceptance criteria coverage to gaps.

Quick Start

Run the test workflow to validate tests against changed code and view the resulting quality report.

Frequently Asked Questions about test

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

FAQPage Schema
How do I scope test execution to changed files in a CI pipeline?

Scoping test execution to changed files involves detecting the active test framework and using the code diff to run only relevant tests. This workflow automates that process to minimize test runs and surface regression risks in CI.

What is mutation testing and when do I need it for PR reviews?

Mutation testing validates test suite effectiveness by injecting code changes to check if tests catch them. You need it during PR reviews to map acceptance criteria to tests and verify coverage gaps in changed code.

Does this testing workflow support Vitest, Jest, and Pytest?

Yes, this testing workflow supports Vitast, Jest, and Pytest. It automatically detects the configured test framework in your repository and selects the appropriate test command to execute the scoped tests.

How do I map acceptance criteria to test coverage gaps?

Mapping acceptance criteria to test coverage gaps requires analyzing test results against defined criteria. This workflow traces coverage automatically, reporting Layer 1–3 quality signals to highlight untested acceptance criteria.

Do I need a configured repository and file diff to run change-focused testing?

Yes, change-focused testing requires a configured repository with a recognized test runner and access to the diff of changed files. These inputs allow the workflow to tailor the test suite and validate code changes accurately.