test-retrofit
OfficialAdd a legacy safety net with confidence.
Software Engineering#testing#legacy code#risk-based testing#CI#characterization tests#behavior contracts#refactoring safety
AuthorPyl-Tech
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you add tests to existing codebases that already exist without coverage, reducing the risk of refactoring by turning undocumented behavior into verifiable expectations.
Core Features & Use Cases
- Scope high-risk gaps first: Prioritizes the most dangerous untested modules (including ones flagged by sentrux) so you get maximum safety per test-writing session.
- Discover intended behavior before asserting: Uses specs/design docs, callers, comments, commit history, and existing integration/E2E tests to establish what the code is supposed to do.
- Characterize intended behavior truthfully: Writes characterization tests that pass for intended behavior and explicitly labels known bugs or assumptions when behavior is inconsistent or unclear.
- Guardrails that stick: Ensures the retrofitted tests can run cleanly and documents coverage status, known bugs, and next actions for CI integration.
Quick Start
Use the test-retrofit skill when you’re told “this module has no tests” and you need a safety net before touching it.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: test-retrofit Download link: https://github.com/Pyl-Tech/stream-coding/archive/main.zip#test-retrofit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.