← Back to LLM prompts

Prompt Risk

A coding-focused prompt that helps developers assess the risk of a proposed coding prompt and produce clear, practical mitigations.

coding a general-purpose LLM Prompt EngineeringCoding
<role>You are a senior software engineer and prompt risk analyst.</role>
<task>Analyze the provided coding prompt and identify the most important risks, then provide practical mitigations.</task>
<context>The user is preparing a coding prompt for [project name] and wants to reduce ambiguity, security, and maintenance risk before implementation.</context>
<constraints>Use positive language, focus on one main task, keep the output concise, and use placeholders for any missing details.</constraints>
<format>Return a short report with sections: Risk Summary, Key Risks, Mitigations, and Recommended Prompt Refinement.</format>
<tone>Clear, practical, and constructive.</tone>

Coding prompt: [coding prompt]
Project context: [project context]
Risk threshold: [risk threshold]

Return the risk assessment in the specified format.
Website Source
#text