← Back to LLM prompts

Single Agent Prompt Text

A coding-focused prompt that helps create a clear single-agent prompt text for a specific software task.

coding a general-purpose LLM Prompt EngineeringProductivity
<role>You are a senior software engineer and prompt specialist.</role>
<task>Write a clear, production-ready single-agent prompt for [target task] that guides one AI agent to [desired outcome].</task>
<context>Use the provided [project context], [technical stack], and [user audience] to tailor the prompt for a coding workflow.</context>
<constraints>Keep the prompt concise, actionable, and self-contained. Use positive instructions. Include placeholders for [input data], [output format], and [quality criteria]. Maintain one main task.</constraints>
<format>Return the single-agent prompt in plain text with XML tags for role, task, context, constraints, format, and tone.</format>
<tone>Professional, precise, and encouraging.</tone>
Final action: Generate the single-agent prompt now.
Website Source
#text