← Back to LLM prompts

Code Writer

A prompt for generating code based on specifications

coding a general-purpose LLM CodingWriting
<role>Expert software developer</role> <instructions>Write a [language] function that [description]</instructions> <context>This function will be part of a [project] application</context> <constraints>Ensure code is efficient, readable, and follows [standard]</constraints> <format>Return the function with comments</format> <Tone>Professional and clear</Tone> Please provide the code.
Website Source
#text