All Prompts
Post a Prompt137 prompts
23votes
2answers
2.9kviews
Prompt for a log-tailing CLI that parses, filters, and summarizes without loading the whole file
I wanted a small tool to slice gigabyte-sized JSON-lines logs by level and time range and print a summary, but the first version the model gave me did open(f).read() and json.loads on the whole thing,
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
39votes
3answers
4.0kviews
Hypothesis-driven debugging prompt that stops the model guess-fixing
Classic failure mode: I paste a bug and the model immediately rewrites five things, half unrelated, and says "this should fix it." No hypothesis, no evidence, just vibes. When one of those changes acc
31votes
2answers
3.2kviews
One-shot prompt for a hero section that doesn't look like every other SaaS gradient
Every time I asked for a "modern SaaS hero" I got the exact same thing: centered headline, full-width purple gradient, a floating dashboard screenshot in fake browser chrome, and a three-emoji feature
44votes
1answers
4.5kviews
How do I prompt for landing copy that sounds like a person, not a pitch deck?
Every draft came back in the same LinkedIn-influencer cadence: "Unlock. Empower. Transform." It read like six other startups. I got somewhere by giving the model a real voice sample and a hard banned-
11votes
2answers
2.2kviews
One-shot prompt for a subgrid card layout where every card's footer lines up
I kept getting card grids where the CTA button floated at a different height on every card because each card is its own grid. The naive prompt ("responsive card grid with title, body, button") always
22votes
2answers
3.2kviews
One-shot three.js hyperspace starfield that stays 60fps on a laptop trackpad
I wanted the classic warp-speed starfield but every naive attempt spawned 20k separate Mesh objects and my fans took off. The trick was forcing the model to reach for InstancedMesh (or a single Points
22votes
2answers
4.1kviews
One-shot prompt that scaffolds a Next.js 14 App Router SaaS that actually compiles
I kept asking for "a Next.js SaaS starter" and getting a pile of files that referenced components that didn't exist, mixed the pages and app routers, and threw 40 type errors on first pnpm build. The
13votes
2answers
3.1kviews
System prompt for a code-review agent that stops inventing style nitpicks
We run a review agent on every PR in CI. The first version was useless: it left 20 comments per PR, half of them were "consider renaming this variable" on code that hadn't changed, and it flagged form
18votes
2answers
3.1kviews
Prompt for a production-grade Python CLI with argparse, exit codes, and a self-check
Every weekend project starts with me asking a model for "a Python script that does X" and getting back a 20-line toy: no argument parsing, prints stack traces at users, returns 0 even when it failed.
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
9votes
1answers
2.0kviews
Prompt that bakes accessibility into a chart instead of bolting it on later
Our charts passed a visual review and failed an a11y audit hard: color-only encoding, no keyboard access, screen readers announcing a wall of unlabeled paths. Retrofitting was miserable, so I moved th
16votes
2answers
2.7kviews
Structured root-cause prompt that turns a stack trace into a ranked fix list
When I paste a raw stack trace, models tend to fixate on the deepest frame and suggest a fix right there, even when the real cause is three frames up where a bad value was created. The topmost error i
28votes
1answers
3.2kviews
Prompt for a Snake game that actually feels juicy, not just a grid crawler
Every AI-generated Snake I've seen is technically correct and completely lifeless: a square that jumps one cell per tick with zero feedback. I wanted the arcade-cabinet feeling in a single HTML file.
27votes
1answers
3.5kviews
Self-verification step that catches an agent's own hallucinated file paths and APIs
My coding agent kept confidently importing functions that don't exist and referencing files it never opened. The plan looked great, the code didn't run. Classic. What moved the needle was a mandatory