legacy-migration
CommunityStreamline kernel code, remove old features.
System Documentation
What problem does it solve?
Migrating features from a legacy codebase to a new implementation can be risky, leading to regressions or accumulating dead code. This Skill provides a systematic workflow for safely porting features, verifying parity, and atomically removing legacy code, ensuring a clean and modern kernel.
Core Features & Use Cases
- Systematic Feature Porting: Follow a structured process to move features from
src.legacy/to the newkernel/implementation. - Parity Verification: Rigorously confirm that the new implementation matches the behavior of the legacy code.
- Atomic Code Removal: Safely remove old code in the same commit as feature completion, preventing dead code accumulation.
- Use Case: You've reimplemented the memory management subsystem. Use this Skill to verify its functional equivalence with the legacy version, update the
FEATURE_COMPARISON.mddocumentation, and then confidently remove the oldsrc.legacy/memorycode in a single, atomic commit.
Quick Start
Identify features for migration
cat docs/planning/legacy-migration/FEATURE_COMPARISON.md | grep "❌"
Remove legacy files and update docs in the SAME commit
git rm src.legacy/path/to/feature.rs git add docs/planning/legacy-migration/FEATURE_COMPARISON.md git commit -m "Complete Feature X implementation and remove legacy"
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: legacy-migration Download link: https://github.com/ryanbreen/breenix/archive/main.zip#legacy-migration 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.