Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
GitHub · GH-300

Prompt engineering

GH-300 · Lesson 8 of 11 · 45:58

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

In this lesson

Prepare for the GH-300 exam (GitHub Copilot certification). In this lesson: the four S's of good prompts (single, specific, short, surround), how Copilot builds its context, zero-shot, one-shot and few-shot prompts, chat history and chain prompting, starting a new chat, role prompting, and the prompt process flow. Includes three original practice questions.

Preview the topics
  • A prompt says: “write the whole checkout system.” Which of the four S’s does it break most?
  • A developer shows Copilot three existing validation functions, then asks for a fourth in the same style. What technique is this?
  • After an hour of chat about the payment module, a developer asks about a new logging feature, and gets answers full of payment details. What should they do?