All Prompts
Post a Prompt137 prompts
24votes
2answers
4.2kviews
System prompt for a dark-mode-first design token set that isn't just inverted grays
Every "add dark mode" prompt gives me pure black backgrounds, fff text, and one flat gray for everything. It looks like a terminal, not a product, and the contrast is actually too harsh at night. I tu
14votes
1answers
2.7kviews
Guardrail prompt to stop an autonomous coding agent from running destructive commands
My coding agent has shell access in a sandbox, and twice it decided the cleanest fix for a failing test was git reset --hard or rm -rf nodemodules && reinstall mid-task, nuking uncommitted work. Sandb
36votes
2answers
3.4kviews
Prompt for a typed third-party API client with real retry and error handling, not fetch soup
Every "integrate the Stripe/Notion/whatever API" answer I got was a bare fetch with no timeout, no retry, and a catch (e) { console.log(e) } that swallowed everything. Then it fell over the first time
27votes
2answers
2.8kviews
One prompt for a convincing CRT / arcade shader overlay on a canvas game
I wanted my pixel games to look like they're running on an old arcade monitor, not a crisp modern LCD. Most AI attempts gave me faint horizontal lines and called it a CRT, which fools nobody. Asking f
18votes
1answers
2.2kviews
Prompt for docstrings that document the WHY and the gotchas, not just the params
Auto-generated docstrings are useless: they restate the function signature in English. def add(a, b): """Adds a and b.""". Thanks. I wrote a prompt that reads the function body and forces it to docume
24votes
2answers
2.8kviews
Prompting a multi-step onboarding flow that people actually finish (not a 9-field wall)
Growth eng here. Our old signup was a single screen with nine fields and a 38% completion rate. I wanted AI to help me design a progressive flow, but the naive prompt just gave me the same nine fields
14votes
2answers
2.2kviews
One-shot D3 time-series line chart that infers types from a messy CSV header
I kept feeding the model a CSV export from our analytics tool and getting a chart where the x-axis was treated as strings, so December sorted before February. The naive prompt ("plot this CSV as a lin
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
16votes
2answers
4.0kviews
LLM-as-judge rubric prompt for scoring agent answers without grade inflation
I needed automated evals for an agent and reached for LLM-as-judge. First attempt: "rate this answer 1-10." Everything got a 7 or 8, the scores didn't correlate with human labels, and a slightly longe
30votes
3answers
3.8kviews
Print-ready seeded generative SVG art: one prompt, ten unique pieces from ten seeds
I sell small generative prints, so I need SVG (vector, scales to any paper size) that is fully reproducible from a seed and looks curated across a whole edition, not just one lucky render. Early promp
11votes
1answers
1.4kviews
Using :has() to restyle a form layout when a checkbox is toggled, no JS state
I have a shipping form with a "billing address same as shipping" checkbox. Toggling it should collapse the billing fields and shift the layout. I was about to reach for JS class toggling out of habit.
23votes
2answers
2.8kviews
System prompt to give a chatbot a consistent personality without it getting cutesy
Giving a bot "personality" usually means it starts every message with a quip and an emoji and becomes exhausting by the third turn. I wanted a distinct, dry voice that stays out of the way. The approa
18votes
2answers
2.0kviews
Choropleth of US counties with a projection and legend that don't lie
I was mapping a rate per county and the first output used Web Mercator, which visually inflates the northern counties and makes the whole map misleading for anything area-related. It also binned the d
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,
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