Trinity S³AI

Vibecoding: the four parts of a prompt

A prompt that works has a goal, context, limits and a check. Three prompts, from vague to full, and how many parts each carries. Vibecoding from zero, Prompting.

One prompt, four parts

  1. Goal: what to do
  2. Context: what the agent cannot see
  3. Limit: what not to touch
  4. Check: how you know it is done
Three prompts for one cart page
PromptPartsReady to run
Make it better0 of 4no
Add a total line to the cart page1 of 4: goalno: no check
Add a total line to the cart page (goal). The page is cart.html (context). Do not touch the price code (limit). The test cart_total must pass (check).4 of 4yes

The counts are the masks of the lesson spec: 0, 1 and 15.