17votes
0answers
4.1kviews

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
17votes
1answers
5.2kviews

Prompt that makes Claude generate a playable Snake game with juice and screen shake

Most snake-game prompts give you a joyless gray grid. I wanted arcade feel: particles, screen shake, an actual difficulty curve. After a lot of trial and error the prompt below consistently produces a
17votes
0answers
2.2kviews

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.
17votes
1answers
3.6kviews

Prompt for an agent that reviews PRs and actually finds real bugs, not style nits

I run this as the system prompt for a code-review agent hooked to our CI. Before this, 90% of its comments were style nitpicks nobody wanted. The reframing that fixed it: make the agent predict runtim
12votes
2answers
2.8kviews

One-shot prompt that builds a complete SaaS landing page with pricing table

I kept iterating on landing page prompts and finally landed on one that reliably produces a polished SaaS landing page in a single shot: hero, feature grid, pricing table, FAQ, and footer, all respons
9votes
0answers
1.5kviews

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.9kviews

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
4votes
1answers
988views

What's the best prompt structure for getting Python scripts with proper error handling?

Every generated Python script I get is happy-path only: no retries, bare excepts, crashes on the first weird input. I've been experimenting with a checklist-style prompt suffix that forces defensive c