All Prompts
Post a Prompt33 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
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
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
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
10votes
0answers
1.3kviews
Touch bottom-sheet micro-interaction that feels native without a JS animation lib
Building a PWA and the bottom sheet is the make-or-break interaction. The generated versions animated height (janky), had no drag affordance, and snapped instantly instead of easing, so it felt like a
15votes
0answers
1.8kviews
Prompt for React CRUD with optimistic updates and rollback that doesn't corrupt the cache
Systems guy dabbling in web here. Optimistic UI kept biting me: the happy path looked instant, but a failed delete left a ghost row, or two rapid edits raced and the cache ended up in a state that mat
28votes
0answers
4.2kviews
One prompt for a polite, resumable web scraper that won't get me IP-banned
I needed to pull a few thousand product pages for a price-history side project. My first scraper hammered the site with 50 concurrent requests, got a 429, then kept retrying instantly and made it wors
8votes
0answers
968views
Inline SVG sparklines inside a table that stay readable at 20px tall
I needed a trend sparkline in the last column of a dense metrics table, one row per service. Every generated version either drew axes (pointless at that size) or normalized each row independently so a
21votes
0answers
4.2kviews
Three.js solar system with orbit controls from a single prompt - sharing what finally worked
Getting a correct-feeling solar system out of one prompt is surprisingly hard: you either get planets orbiting at the same speed or a camera stuck inside the sun. This prompt gets the scale relationsh
13votes
0answers
3.1kviews
Prompt for reviewing a diff with severity levels instead of vague nitpicks
Our AI code reviews were noise: a wall of "consider renaming this" and "you could add a comment" mixed in with the occasional actual security bug, all weighted the same. People started ignoring the bo
46votes
0answers
3.9kviews
Prompt for a React render-performance audit that names the actual wasted re-renders
Performance is a feature on my team, and "make it faster" prompts just sprinkled useMemo everywhere, including on primitives, which made the code worse and slower to read for zero gain. I reframed it
12votes
0answers
2.0kviews
How do I prompt for a Next.js dashboard that doesn't look like every other admin template?
Every time I ask for "a dashboard in Next.js" I get the same shadcn-flavored gray boxes. I built a genuinely distinctive analytics dashboard using the prompt below, which forces an editorial, print-in
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
6votes
0answers
927views
Container-query-driven component that reflows by its own width, not the viewport
I'm building a media object (avatar + text + actions) that lives in a sidebar, a wide feed, and a narrow modal. Media queries were useless because the component's width has nothing to do with the view