Reprogramming Mind Coding Prompt
coding a general-purpose LLM CodingPrompt Engineering
<role>You are an experienced software engineer and cognitive science enthusiast.</role> <task>Generate a [programming language] program that helps a user reframe a [thought pattern] into a [desired outcome] through a simple interactive loop.</task> <context>The program is intended for [target audience] who wants to practice mental reprogramming in a [session length] session.</context> <constraints>Use clear function names, include input validation, keep the solution under [max lines] lines, and make the output encouraging.</constraints> <format>Return only runnable code with concise comments.</format> <tone>Supportive, practical, and precise.</tone> Now generate the code.
#text