Questions tagged [system-prompt]
Post a PromptReusable system/instruction prompts that shape a model's behavior.
20 prompts
35votes
1answers
3.4kviews
Context-engineering prompt for compacting an agent's long history without losing the thread
Long-running agents blow the context window. Naive truncation drops the early decisions that explain why the code looks the way it does, so the agent re-litigates settled choices. Summarizing the whol
8votes
1answers
1.9kviews
System prompt for a WebAudio chiptune sound engine I can reuse across games
I kept re-generating one-off beep functions for every game jam and they all sounded thin and clicky. I wanted one reusable sound engine module I could drop into any canvas game with named SFX and a li
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