Total prompt rewrite