Questions tagged [one-shot]
Post a PromptSingle-prompt builds: no follow-ups, one prompt in, working artifact out.
6 prompts
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
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
4votes
1answers
989views
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