Reusable system/instruction prompts that shape a model's behavior.
13votes
0answers
1.6kviews

Stop conditions and loop budget for a ReAct agent so it terminates instead of spinning

Classic ReAct thought/action/observation loop. Two failure modes: it either declares victory too early (before the task is actually verified) or it never stops, re-checking the same thing while convin
22votes
0answers
2.3kviews

Planning-loop prompt that makes an agent decompose before it touches any tools

Our agents were too eager. Given a task they'd immediately start editing files, then discover halfway through that the approach was wrong and thrash. Latency and token cost ballooned from all the back
12votes
0answers
1.9kviews

Deterministic triage prompt for classifying inbound tickets into fixed buckets

I needed to route thousands of support tickets into a small set of categories for a dashboard. My first prompt was "classify this ticket" and it happily invented new categories every few hundred rows
18votes
0answers
2.0kviews

A reusable chain-of-thought scaffold as a system prompt, not inline rambling

I maintain a shared prompt library for my team and the biggest inconsistency was reasoning quality. People would tack "think step by step" onto the end and get mushy, unstructured chains that were har