legacy-code
CommunitySafely evolve legacy code.
Software Engineering#code quality#testing#refactoring#maintenance#legacy code#characterization tests#boy scout rule
AuthorJeroenJochems
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured approach to incrementally improve and maintain legacy codebases, reducing the risk of introducing bugs and ensuring stability.
Core Features & Use Cases
- Incremental Improvement: Apply techniques like the Boy Scout Rule for continuous small enhancements.
- Risk Mitigation: Use characterization tests and seams to safely refactor or add features to untested code.
- Use Case: You need to fix a bug in a critical, but poorly tested, legacy system. This Skill guides you through writing characterization tests to understand its current behavior before you make the fix, ensuring you don't break anything else.
Quick Start
Use the legacy-code skill to write characterization tests for the function process_legacy_data in the file src/legacy/processor.php.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: legacy-code Download link: https://github.com/JeroenJochems/modelwise/archive/main.zip#legacy-code 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 223,000+ vetted skills library on demand.