legacy

Official

Master legacy code with proven testing patterns.

AuthorObjective-Arts
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide to understanding, testing, and refactoring legacy code, enabling developers to safely make changes and add new features without introducing regressions.

Core Features & Use Cases

  • Characterization Tests: Learn to write tests that document existing behavior before making changes.
  • Seam Identification: Discover techniques to create testable "seams" in untestable code (Object Seams, Link Seams, Preprocessing Seams).
  • Refactoring Strategies: Apply methods like "Sprout Method/Class" and "Wrap Method" for safe code evolution.
  • Use Case: You've inherited a critical piece of code with no tests. Use this Skill to learn how to write characterization tests, identify seams, and refactor it safely.

Quick Start

Use the legacy skill to understand how to write characterization tests for untestable code.

Dependency Matrix

Required Modules

None required

Components

references

💻 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
Download link: https://github.com/Objective-Arts/lens-dist/archive/main.zip#legacy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.