Loading...
Loading...
Found 16 Skills
Refactor code for readability using DRY, meaningful names, and modularization.
Detect and refactor code duplication with PMD CPD. TRIGGERS - code clones, DRY violations, duplicate code.
Remove code duplication by extracting shared logic into reusable components. Use when the same logic appears in multiple places.
When writing or reviewing code to eliminate duplicated knowledge and business logic. Use when the user says "this is duplicated," "we have this in two places," "single source of truth," "DRY this up," or "shotgun surgery." For premature abstraction concerns, see yagni.