All Prompts
Post a Prompt137 prompts
10votes
0answers
2.3kviews
System prompt for a customer support agent that knows when to escalate
We shipped a support agent and the biggest problem wasn't wrong answers, it was confident wrong answers on questions it had no business answering. This system prompt made escalation behavior reliable.
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
51votes
2answers
6.3kviews
A reusable system prompt for consistent design direction across a whole landing page
The hardest part of prompting UI isn't any single section, it's consistency. Ask for a hero, then a pricing block, then a footer in separate turns and you get three subtly different design languages:
12votes
0answers
1.5kviews
Getting a local model to one-shot a Flappy clone with tuned, fair difficulty
I wanted to see how far a local open-weight model could get on a full playable game in one prompt, no follow-ups. Flappy Bird is a good test: simple, but the pipe gap and spacing tuning is what makes
26votes
3answers
6.5kviews
One-shot prompt for a dashboard data table that isn't the same shadcn gray boxes
Every dashboard prompt I tried gave me the identical gray-card-with-a-number-and-a-tiny-line-chart layout, and a table that was just a styled div with none of the behavior that makes a table useful. I
47votes
3answers
5.3kviews
Reduced-motion-first system prompt so every animation ships with a safe fallback
We had animations scattered across the codebase and maybe half respected prefers-reduced-motion. Auditing after the fact is miserable. I wanted motion to be safe by construction, not by review. So I m
29votes
1answers
5.0kviews
Above-the-fold prompt that actually converts without a single dark pattern
I write landing pages for a living and I refuse to ship fake countdown timers, "14 people are viewing this", or manipulative confirmshaming. But when I ask AI for "high-converting" copy it reaches str
57votes
2answers
5.3kviews
How do you stop a tool-use agent from calling the same function five times in a row?
I have a research agent with search, fetch, and a calculator tool. It gets into loops: searches, gets a mediocre result, searches again with a nearly identical query, and burns tokens/latency without
20votes
1answers
5.2kviews
Bounding concurrency in an asyncio scraper so I stop opening 5000 sockets at once
I asked for an async version of a fetcher and the model gleefully did await asyncio.gather([fetch(u) for u in urls]) over 5000 URLs. It opened every connection simultaneously, the event loop thrashed,
7votes
0answers
1.6kviews
Prompt that turns any CSV into an interactive explorable chart page
Drop a CSV in, get a self-contained exploration UI out. The prompt below produces a page that infers column types, picks sensible defaults, and lets you switch dimensions. I use it weekly for one-off
42votes
1answers
5.9kviews
Prompt to turn a rambling meeting transcript into decisions, owners, and open questions
I was drowning in transcript summaries that were just shorter transcripts. "The team discussed X. Then they discussed Y." No signal. I switched to a prompt that extracts only three things and forces a
21votes
1answers
2.9kviews
Getting a chatbot to say 'I don't know' instead of confidently making things up
The hardest moment for any assistant I build is the one where it should admit it doesn't know. Left alone, models fill silence with fluent nonsense, and one confident fabrication costs more trust than
28votes
1answers
5.2kviews
GPU particle system in three.js: 100k points orbiting a strange attractor at 60fps
I wanted a big swirling particle cloud following a Lorenz/Thomas attractor. CPU-updating 100k positions per frame in JS was a slideshow. I knew I needed the integration to happen on the GPU but kept g
54votes
1answers
5.2kviews
Prompt for a Next.js email + OAuth auth flow with sessions that survive a refresh
Auth is where my "ship it" energy usually crashes. I asked for login and got a flow that stored a JWT in localStorage, had no CSRF thought, and logged the user out on every hard refresh because the se
6votes
0answers
1.2kviews
Endless runner prompt with procedural obstacles that stay fair as speed ramps
Made a Canabalt-style one-button endless runner and the procedural obstacle spawner kept generating impossible sequences: two gaps back to back with no room to land, or a wall the instant you couldn't