Teacher Workshop: Prompt Anatomy

Classroom Code Prompt Builder

Teachers: build a clear, structured prompt that tells an AI coding assistant exactly what classroom tool to create for you. Fill in six short sections — your role, what the AI should do, what app you need, where it lives, the context behind it, and the must-haves. The better you describe it, the better the tool your students (or you!) will get.

Build your prompt in six parts

Each block feeds into the final prompt you'll hand to your AI coding assistant. The live preview on the right updates as you type so you can see your prompt come together in real time. New to GitHub? Check the GitHub guide first.

1. Your Role

2. AI Role

3. Classroom Tool Goal

4. Repository

Paste the repo URL if you already created one. It's okay to leave this blank and add it later.

5. Classroom Context

6. Must-Haves

Your ready-to-use prompt

Copy this prompt and paste it into your AI coding assistant (like Claude, ChatGPT, or Copilot). It will use your description to build the classroom tool.