test-value

Audit and improve test suites by balancing protection value against feedback cost.

83.7k|5.7k|Updated Apr 15, 2026
Ready to run
npx skills add https://github.com/tt-a1i/archify --skill test-value-tt-a1i
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: test-value
Source: https://github.com/tt-a1i/archify/tree/main/.agents/skills/test-value
Command: npx skills add https://github.com/tt-a1i/archify --skill test-value-tt-a1i

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Slow, flaky, redundant, or brittle tests drain development time and erode trust in CI results. This Skill helps you decide which tests to add, adapt, consolidate, or remove so that every test protects a real outcome at a proportionate cost. ## Core Features & Use Cases - Test Audits: Map execution cost, false alarms, and protection gaps across a test suite, then prove the boundary of any cut with surviving evidence. - Implementation & Pre-Commit Review: Decide whether changed behavior needs new tests, reused coverage, or relaxed assertions before a commit or PR. - Failure Diagnosis: Distinguish product regressions, obsolete assertions, environment failures, and unstable tests when a check fails. - Use Case: A snapshot test fails because an algorithm picks a shorter valid route. Use this Skill to replace the exact-match assertion with outcome-property checks while preserving explicit constraints. ## Quick Start Use the test-value skill to review the tests affected by my current changes and recommend which to add, adapt, or remove.

Frequently Asked Questions about test-value

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

FAQPage Schema
How do I decide which tests to delete from a slow test suite?▼

Identify tests that protect the same failure through the same implementation path, then consolidate or remove duplicates while tracing call paths to confirm surviving tests still detect the mistake. Record the burden, existing protection, and surviving evidence for substantial cuts.

How to fix flaky tests that pass on retry?▼

Replace arbitrary waits with real readiness signals and inspect ownership and cleanup of shared state. Distinguish a product race from a test timing assumption, and only quarantine with a reason, replacement protection, and a clear restoration condition.

When should I not add a new test for a code change?▼

Skip new tests for pure copy changes, mechanical edits, and behavior already covered effectively by existing tests, type checks, or other checks. Adding a test for every edit is not the objective; protection must justify its execution and maintenance cost.

Are snapshot tests worth keeping?▼

Snapshots are valuable for public serialization, protocol bytes, and promised deterministic output, but exact matches on automatically chosen output freeze noncontractual details. Assert outcome properties and justified tolerances while preserving explicit constraints.

Why do AI-generated tests sometimes pass while the code is wrong?▼

When AI writes both implementation and tests, they can share the same mistaken assumption. Establish expectations from user requirements, public contracts, or independent calculations instead of copying the production algorithm into expected-value generation.