Experimental prompt rewriting with validation
Description excerpted from the original listing, which is linked below.