Learn Everything

Paths/AI Engineer/LLMOps / Prompt Versioning and Evals

Practice Taskbeginnerubuntu:24.04Ask AI

Version Your Prompts in Git

Prompts change constantly, and "which wording was live last Tuesday?" is only answerable if every version is committed. Put a v1 system prompt and an improved v2 into a git repository as two separate commits.

Validator

⏱ 0:00

IDLE — checks run live as you type commands; submit when done

01Requirements

live checks
  • Directory ~/prompts is a git repository○
  • Commit "v1 prompt" exists○
  • Commit "v2 prompt" exists○

02Walkthrough

1 of 10 revealed
  1. 01

    Create the prompts directory

    mkdir makes a new directory. This folder will hold every version of your system prompt, just like a source folder holds every version of your code.

    mkdir ~/prompts
  2. 9 locked · each failed submit reveals one

03Stuck?

0 of 3 revealed

Take a hint without losing the lab — each one points at the thing to look at, not at the answer.

04AI Tutor

guides, never solves

Tell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?

04Notebook

saved locally in this browser

learner@lab — ubuntu:24.04

↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list