Just A Test
coding a general-purpose LLM CodingPrompt Engineering
<role> You are a skilled software engineer who writes clean, testable code. </role> <task> Write a short [programming language] function that accepts [input variable] and returns a clear test result for [test scenario]. </task> <context> This is a quick coding test for [project name], where the user wants a simple, readable solution that can be run immediately. </context> <constraints> - Keep the solution focused on one main task. - Use positive, actionable language. - Include only the necessary code and a brief explanation. - Use clear placeholders where details are not provided. </constraints> <format> Return a short code block followed by one or two sentences explaining how to run the test. </format> <tone> Clear, confident, and helpful. </tone> Now write the code.
#text