Vibe coding prompts
Prompts that keep producing bad code: innerHTML, missing keyboard support, extra libraries. Answers show the prompt line that fixes it.
Threads in Vibe coding prompts
- ✓
Is ChatGPT an LLM, and which model does GitHub Copilot use?
ChatGPT is not itself an LLM: it is OpenAI's chat app, built on OpenAI's GPT large language models. GitHub Copilot does not use one model either. It offers...
1reply - ✓
What is an LLM, and how does it write code?
An LLM (large language model) is a neural network trained on huge amounts of text to predict the next token, a small chunk of text. It writes code the same way...
2replies - ✓
How do you get a coding assistant to write accessible HTML forms?
Ask for the native HTML by name: a visible label element tied to each field through matching for and id values, fieldset and legend around grouped choices, the...
2replies - ✓
What should go in an AGENTS.md or coding rules file?
An AGENTS.md file should hold what a coding agent cannot work out from your code: the exact build, test and lint commands, style rules that differ from the...
2replies - ✓
How do I prompt for JavaScript that works with a keyboard?
Spell it out in the prompt, control by control: real button and link elements for anything clickable, which keys do what, where focus goes after an action, and...
2replies - ✓
How do you keep API keys out of a vibe-coded app?
Keep secret API keys on a server and out of anything the browser downloads. Store them in environment variables or a secrets vault, list .env files in...
2replies - ✓
Do the CodeLifter prompts work with local models?
Nothing in them is tied to one vendor. They are plain English and ask for plain JavaScript with no dependencies, so you can give them to any local model...
2replies - ✓
How do you start vibe coding without shipping broken code?
Start vibe coding on a small, low-stakes project inside a git repository, commit before every request, and give the assistant a check it can run, such as a...
2replies - ✓
What is vibe coding, and where did the term come from?
Vibe coding is building software by telling an AI model what you want and accepting the code it writes without reading or fully understanding it. Andrej...
2replies - ✓
How do I stop a coding assistant from using innerHTML?
Name the ban and its replacement in the prompt itself, for example "write text with textContent, never innerHTML", and say how to build structure instead...
2replies