Prompts that scaffold or build full web apps.
15votes
0answers
1.8kviews

Prompt for React CRUD with optimistic updates and rollback that doesn't corrupt the cache

Systems guy dabbling in web here. Optimistic UI kept biting me: the happy path looked instant, but a failed delete left a ghost row, or two rapid edits raced and the cache ended up in a state that mat
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