Prompt Refactor

Remove Duplicate Code

Find repeated code patterns and extract them into shared functions or modules.

Insert label DRY It Up
Prompt

Find duplicated code in this project. Identify patterns that appear in multiple places, extract them into shared functions or modules, and update all call sites. Only extract things that are truly the same logic — don’t force unrelated code into a shared abstraction.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl