test-dev

Strengthen tests by filling unit and e2e gaps and reducing mutation survivors over a git-defined scope.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/byron1st/personal-harness --skill test-dev-byron1st
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-dev
Source: https://github.com/byron1st/personal-harness/tree/main/skills/test-dev
Command: npx skills add https://github.com/byron1st/personal-harness --skill test-dev-byron1st

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? After implementation, test suites often miss edge cases, lack end-to-end coverage for boundary-crossing changes, and let mutation testing survivors slip through. This Skill hardens the test suite over a git-defined scope without ever touching production code. ## Core Features & Use Cases - Three-phase hardening: Fills unit test gaps for public functions, adds e2e tests for changes crossing system boundaries (HTTP routes, DB writes, external IO), and drives mutation test efficacy to at least 80% by killing LIVED mutants. - Strict read-only boundary on production code: Only test files, fixtures, mocks, and test configuration are writable; suspected production defects are recorded as findings with sequential TEST-NNN ids instead of being fixed. - Git-defined scope resolution: Works against a diff versus main, uncommitted changes, a single file, or the whole codebase, with fresh-eyes analysis independent of the implementer's narrative. - Use Case: After finishing a feature branch, run the Skill to add missing unit and e2e tests for the diff, run Stryker or gremlins on the changed paths, and receive a structured report listing any suspected defects the new tests exposed. ## Quick Start Use the test-dev skill to strengthen tests for the diff between my current branch and main, filling unit and e2e gaps and reducing mutation survivors.

Frequently Asked Questions about test-dev

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

FAQPage Schema
How do I improve test coverage for a git diff?▼

Run the Skill against the diff between your branch and main, including uncommitted edits. It adds unit tests for public functions, e2e tests for boundary-crossing changes, and mutation-killing assertions, restricted to the in-scope files.

How do I reduce mutation testing survivors with Stryker or gremlins?▼

The Skill runs the project's mutation command scoped to changed paths, then writes new assertions that distinguish each LIVED mutant. It targets at least 80% efficacy with capped iterations, and records unkillable mutants with file, operator, and reason.

Can this Skill fix bugs found while writing tests?▼

No. It is strictly read-only on production code. When a legitimate test fails because production code is wrong, it records a finding with a TEST-NNN id, file:line, and observed versus expected behavior, leaving the test red or skipped.

What happens if my project has no e2e or mutation tooling?▼

Missing e2e harnesses cause Phase 2 to be skipped with a one-line justification. Missing mutation tooling blocks the run unless the caller opted out of mutation, in which case it is recorded as out of scope.

When should I not use mutation testing on a change?▼

Skip it when the caller places mutation out of scope, such as light or noreview loop modes, or when no mutation target is configured and installing one is undesirable. Unit and e2e gap-filling still proceed normally.