โ Vibe Coding (AI-Assisted Coding) learning pathVibe Coding (AI-Assisted Coding) ยท Module 3 of 10
Prompting for code
Describe features so AI builds the right thing.
๐ Key ideas
- State the goal, inputs, outputs and constraints.
- Mention tech stack and versions (React 18, Python 3.12).
- Provide examples and existing code context.
- Ask for a plan first on bigger tasks.
- Request tests and explanations with the code.
๐ก Real-life example: A good coding prompt is a detailed work order: what, where, with which tools, and how to check it.
RequirementsWhat the code must do
ConstraintsLimits like libraries or performance
Plan-firstAsking for an approach before code
Acceptance criteriaConditions proving it works