Back to guide/General Productivity

Constraint Setting

Explicit constraints prevent the model from making assumptions. The 'do NOT include' and 'always include' rules act as guardrails that dramatically reduce unwanted output and hallucination.

what-is-prompt-engineeringtaskmax_lengthreading_level
Edit View
Prompt
{{task}}

Rules you MUST follow:
1. Maximum length: {{max_length}}
2. Reading level: {{reading_level}}
3. Tone: {{tone}}
4. Do NOT include: {{exclusions}}
5. Always include: {{inclusions}}
6. If you are unsure about any fact, say so explicitly rather than guessing

Respond below:

Variables to customize

{{task}}{{max_length}}{{reading_level}}{{tone}}{{exclusions}}{{inclusions}}

Why this prompt works

Explicit constraints prevent the model from making assumptions. The 'do NOT include' and 'always include' rules act as guardrails that dramatically reduce unwanted output and hallucination.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.