Prompt Engineering & Vibe Coding

Lesson 1 of 6

What Is Prompt Engineering (and Vibe Coding)?

AI coding assistants (like Claude Code, GitHub Copilot, and ChatGPT) can now write, edit, and even run code from natural-language instructions. Two terms have emerged to describe working with them.

Prompt engineering

The practice of writing instructions that reliably get an AI model to produce the output you actually want. It's less about "magic words" and more about being clear, specific, and giving the right context, the same skill you'd use writing a good ticket for a human teammate.

Vibe coding

A newer, more informal term for a style of development where you describe what you want in plain language and let an AI agent write (and often run) the code, iterating conversationally instead of typing every line yourself. It can be incredibly fast, but it shifts your job from writing code to directing and reviewing code.

The spectrum

AutocompletePrompted generationVibe coding
You writeEvery line, AI suggests completionsA prompt, AI writes a function or fileA goal, AI plans and executes multi-step changes
You reviewCharacter by character as you typeThe generated snippetThe whole diff, tests, and behavior
Best forFamiliar, fast-moving codeWell-scoped, isolated tasksLarger features, paired with careful review

NOTE

None of this changes who's responsible for the code that ships. Whether you typed it or an AI did, you still own the bugs, the security holes, and the technical debt. This course is about using these tools well, not blindly.

📝 Prompt Engineering Basics Quiz

Passing score: 70%
  1. 1.What is "vibe coding"?

  2. 2.Prompt ____ is the practice of writing instructions that reliably get an AI model to produce the output you want.

  3. 3.Using an AI assistant to write code means you're no longer responsible for bugs it introduces.