# Test Strength

> Test whether regression coverage can actually detect the defect it claims to guard. Use when tests are green but may be weak, when reviewing coverage quality, after fixing a bug, or when asked for falsification, mutation testing, property-based testing, fuzzing, boundary integration, artifact verification, or flake detection.

- **Type:** Skill
- **Install:** `agentstack add skill-railly-skills-test-strength`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Railly](https://agentstack.voostack.com/s/railly)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Railly](https://github.com/Railly)
- **Source:** https://github.com/Railly/skills/tree/main/skills/.experimental/test-strength

## Install

```sh
agentstack add skill-railly-skills-test-strength
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Test strength

Execution is not protection. A strong test turns red when the guarded behavior is broken and exercises the layer where the claim lives.

## 1. Name the contract and defect

State the exact invariant, failure family, input classes, and runtime boundary. Identify which existing tests claim to protect it.

**Complete when:** a reader can describe the smallest wrong implementation the tests must reject.

## 2. Falsify the protection

In a reversible isolated change, remove the fix, invert the condition, or introduce the smallest representative fault. Run the narrow test first. Restore the source and rerun it green.

Do not accept a red caused by compilation failure, unrelated setup, or a different assertion.

**Complete when:** the intended assertion fails for the intended reason without the fix and passes after restoration.

## 3. Probe beyond the example

Choose methods from the contract:

- mutation testing for changed or critical logic;
- property-based generation for invariants and equivalence classes;
- bounded fuzzing at structured untrusted-input boundaries;
- reference-contract comparison for external semantics;
- deterministic seeds and replayable shrunk counterexamples.

Scope campaigns to actionable code. Treat surviving mutants in critical changed logic as leads. Do not chase a universal mutation or coverage percentage.

**Complete when:** generated failures are reproducible and survivors are killed, justified, or recorded as gaps.

## 4. Exercise the real boundary

Use integration tests for package, renderer, database, process, protocol, filesystem, or browser boundaries. Verify built, installed, bundled, serialized, or deployed artifacts when the claim depends on them.

**Complete when:** the test reaches the same layer as the user-visible claim, or the unavailable layer is named as a verification gap.

## 5. Check determinism and cost

Repeat new tests, control clocks, randomness, ports, and external state, and record runtime. Put fast changed-code checks in the pull-request path and broader mutation or fuzz campaigns in scheduled runs.

**Complete when:** the test is reproducible, replayable, and placed at a sustainable cadence.

## 6. Report strength

Report the contract, fix-absent red evidence, restored green evidence, mutation or property results, boundary exercised, remaining survivors, and verification gaps.

**Complete when:** no claim of protection relies only on coverage or a green suite.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Railly](https://github.com/Railly)
- **Source:** [Railly/skills](https://github.com/Railly/skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-railly-skills-test-strength
- Seller: https://agentstack.voostack.com/s/railly
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
