All Prompts
Post a Prompt137 prompts
8votes
1answers
2.0kviews
Gemini prompt for an animated gradient hero background that doesn't jank on scroll
I wanted a slow, living gradient behind a hero, the kind that feels expensive. My first attempts animated background-position on a huge gradient and it hitched badly on scroll and cooked laptop fans,
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
8votes
1answers
1.8kviews
Interactive scatter explorer with brushing and a linked detail table
I wanted an explorer where you drag-select a region of a scatterplot and a table below updates to just those points, with the selection surviving zoom. My first version reset the brush every time the
8votes
1answers
1.5kviews
Getting the model to propose property-based tests, not three happy-path cases
Ask any model for tests and you get three example-based cases: a normal input, an empty input, maybe a null. Fine, but they miss the weird stuff. I wanted property-based tests that assert invariants a
8votes
0answers
815views
Pricing-page copy prompt that frames plans by user, not by feature-count tiers
Pricing copy is where products lie to themselves. The default AI output labels three tiers Basic/Pro/Enterprise and lists how many seats/projects each allows, which tells the buyer nothing about which
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
7votes
1answers
1.1kviews
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
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
905views
Prompt for a tower defense with a wave curve that ramps without a difficulty wall
Built a tower defense in a hackathon and the enemy waves were either trivial or a sudden brick wall on wave 6. The balance was hand-tuned garbage. I tried to get the model to design the wave spawner a
6votes
0answers
974views
Getting a responsive landing layout with real grid instead of 20 stacked flexbox divs
Most models scaffold a landing page as an endless tower of <div class="flex flex-col" wrappers. It works but it's impossible to maintain and the vertical rhythm is always slightly off between sections
6votes
0answers
665views
SVG line-draw animation for an icon that self-draws once, then holds
I wanted a checkmark that draws itself in on success, the classic stroke-dasharray trick, but every generated version either looped forever, drew at a constant robotic speed, or flashed the fully-draw
6votes
0answers
928views
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
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
5votes
0answers
1.2kviews
Repo-scaffold prompt: whole marketing site skeleton in one pass, then I take the wheel
My workflow is 0-to-1: I want the model to lay down a complete, runnable repo skeleton so I can start editing real content in minute two, not fight tooling for an hour. The failure mode is a model tha
5votes
0answers
969views
Splitting a 600-line god function into pure units without behavior drift
The worst function in our codebase does input parsing, three network calls, retry logic, formatting, and logging in one 600-line block. I wanted GPT to carve it into small pure functions plus a thin o