/experimental:test-freshnessfrom experimental
Audit tests that pass despite broken behavior, stale mocks, or changed interfaces in any repository. Use when reviewing test validity or proposing SHA-256 freshness guards; not for routine test execution or CI configuration.
Ships in experimental. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Determine whether passing tests still verify the intended behavior. Apply this workflow across languages, frameworks and repository layouts, especially where tests replace a dependency with a mock, fake, generated fixture or saved response.
Start with the repository's instructions, supported environment and existing test commands. Locate the affected implementation and its consumers rather than assuming file paths, build tools, deployment model or a particular agent harness. For broader reproduction or flaky-test work, reuse an existing regression-testing workflow when available; this skill focuses on stale expectations, component contracts and fingerprint limits.
Build a small evidence map: intended behavior, implementation or producer, consuming code, test double or fixture, assertion, and a defect that assertion should detect. Derive expected behavior from requirements or a reviewed contract, not solely from the current implementation.
For example, a service returns account_id, but its client test still supplies a hand-written id field. The unit test passes while the real client cannot parse the service response. A test hashing only its own file cannot detect this drift. Similar failures occur in library adapters, command-line wrappers, event handlers, database mappings and file-format readers.
For a reproduced defect or a high-risk test-validity review, run the targeted test against a known-bad implementation or deliberate mutation and confirm failure for the expected behavioral reason. Run the positive control against the intended implementation.
Use an isolated copy, worktree or equivalent supported by the environment. Preserve existing work. A compilation error, missing dependency, timeout unrelated to the intended failure, or unrelated red test does not establish that the regression was detected.
Keep fingerprint checks separate from this experiment: changing a source hash on every mutation must not count as a behavioral assertion killing the mutant. Review surviving, uncovered and behaviorally equivalent mutations rather than imposing an unexplained universal mutation score. Scale the audit to the affected risk; routine harmless edits do not require mutation testing.
SHA-256 detects differences in the bytes supplied to it. It does not establish correct behavior or the quality of a test oracle.
| Target | Useful signal | Limitation |
|---|---|---|
| Test file | Test code changed | Production and dependency changes can remain invisible |
| Declared source inputs | Previously reviewed inputs changed | Harmless edits also trigger; omitted dependencies are invisible |
| Canonical interface schema | Contract shape changed | Wrong values, effects or transitions may preserve the schema |
| Reviewed output samples | Selected results changed | Uncovered inputs and an incorrect original baseline remain undetected |
| Verification inputs and result evidence | A result belongs to specified inputs | Input completeness and oracle correctness still need review |
First consider whether existing version control, contract tests and test selection already address the problem. Prefer a narrow optional freshness manifest for a fragile boundary over a mandatory hash for every test. Loading this skill does not authorize introducing a new gate.
When a fingerprint gate is justified and implementation is requested:
A hash is not an authorization decision or proof of trusted provenance. Preserve the project's existing access controls and evidence policies.
Use the repository's own supported tools and verification commands within the available execution permissions. Keep fixtures synthetic and deterministic; do not copy credentials or sensitive production data into tests. Store artifacts and learning notes according to the project's policy.
Report the violated requirement, real boundary exercised, negative and positive controls, any fingerprint's scope and baseline rationale, exact checks run and remaining gaps. Distinguish code failures from environment blockers. Source tests do not prove a deployed application or an external service runs the tested version.
Review neighboring doubles when evidence suggests similar drift; do not turn one defect into an unsolicited repository-wide audit.
These sources explain the principles; they do not mandate a framework or dependency:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/brandkitPremium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts./design-taste-frontendAnti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check./npx claudepluginhub ari-ayvazyan/aiskills --plugin experimental