Skip to main content

legacy-code-safety

Applies Michael Feathers' Working Effectively with Legacy Code discipline when changing code that lacks trustworthy tests or has unclear, hard-to-observe behavior: characterize current behavior before redesigning it, find or create a seam, break the one dependency actually blocking a test, make the change, then leave the area more testable than found. Use whenever the user modifies code with weak or missing test coverage, works in an unfamiliar or "legacy" codebase, needs to test code that resists testing (hard-to-construct objects, hidden statics, framework entanglement), or is tempted to rewrite something risky instead of changing it safely. Trigger on phrases like "this code has no tests", "I need to change this safely", "how do I test this", or "this is legacy code". Distilled from Feathers' book via the agent-rules-books project (MIT licensed); references/full-reference.md carries the complete seam catalog and dependency-breaking technique index for deeper sessions.

설치로 이동

소스 정보

저장소
infinyte/custom_claude_skills
최근 소스 활동
2026년 7월 24일 06:32
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.