The "explain before you touch it" refactor prompt
The single highest-leverage prompt I use. It forces the model to understand code before changing it, which kills the confident-but-wrong rewrites that waste your afternoon.
The single highest-leverage prompt I use. It forces the model to understand code before changing it, which kills the confident-but-wrong rewrites that waste your afternoon.