12votes
0answers
1.4kviews

Prompt for a changelog that a non-engineer can actually read, grouped by impact

Our raw changelog was just squashed commit subjects. Customers ignored it because it was 40 lines of refactor(api): ... that meant nothing to them. I now generate two changelogs from the same merged P
12votes
0answers
1.9kviews

Deterministic triage prompt for classifying inbound tickets into fixed buckets

I needed to route thousands of support tickets into a small set of categories for a dashboard. My first prompt was "classify this ticket" and it happily invented new categories every few hundred rows
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
9votes
0answers
2.0kviews

Prompt for discriminated-union API result types so the UI can't render an impossible state

Half the runtime bugs in our dashboard were "data is undefined but we still rendered the table." The types were { data?: T; loading: boolean; error?: string }, which lets you express nonsense like loa
8votes
0answers
962views

Match-3 prompt with cascading combos and juice that reads at a glance

Match-3 is deceptively hard to make feel good. My first AI version detected matches and removed gems instantly, so the board just blinked and refilled with no sense of chain reaction. Dead. The naive
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
16votes
0answers
2.3kviews

Prompt for OrbitControls that auto-frames any loaded model and never lets you fly inside it

I load a lot of random glTF models and half of them arrived either microscopic or filling the whole viewport. I kept manually tweaking camera distance per model like an animal. So I wrote a prompt tha
13votes
0answers
1.3kviews

Chart theming as design tokens so every chart in the app matches

We had six charts built by four people and they all looked slightly different: different grays for gridlines, different fonts, three shades of the same 'brand blue'. I wanted the model to generate a s
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
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
12votes
0answers
1.3kviews

Measure-before-optimize prompt so the model stops tuning cold code

I asked a local Llama-3 70B to "make this data pipeline faster" and it micro-optimized a list comprehension that runs once at startup while ignoring the O(n^2) join in the hot loop. Textbook: it optim
9votes
0answers
1.2kviews

GitHub-style contribution calendar heatmap as pure SVG, no library

I wanted the little year-of-squares heatmap for an activity page, but the versions I got either misaligned the weekday rows or started the week on the wrong day, so the whole grid was shifted by one a
9votes
0answers
1.4kviews

Responsive camera framing in three.js so a scene fills phone portrait and desktop wide equally

My 3D product scene looked perfect on my 16:9 monitor and then the hero object was tiny and floating in the corner on a phone in portrait. Classic: I was only adjusting aspect on resize, not the actua
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
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