Single-prompt builds: no follow-ups, one prompt in, working artifact out.
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
12votes
0answers
1.5kviews

Getting a local model to one-shot a Flappy clone with tuned, fair difficulty

I wanted to see how far a local open-weight model could get on a full playable game in one prompt, no follow-ups. Flappy Bird is a good test: simple, but the pipe gap and spacing tuning is what makes
12votes
1answers
2.3kviews

One-shot prompt for a Rust + wasm image filter module wired into a web app cleanly

I wanted a real Rust-to-WASM module doing per-pixel work off the main thread, not a toy that ships 4MB of glue and blocks the UI on load. Most prompts gave me code that assumed a specific bundler and
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
11votes
2answers
3.2kviews

One-shot prompt for Next.js route handlers with input validation and consistent error shapes

Scaffolding the API layer, I kept getting route handlers that parsed await req.json() with zero validation, returned bare strings on error, and used a different error shape in every file, so the front
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
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
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
973views

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
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