OpenAI & ChatGPT · Foto: Kevin Rheese, CC BY 2.0
Casual Code Explanation Video Script
Zuletzt aktualisiert:
Typ
Prompt
Lizenz
CC0-1.0 (Public Domain)
Anwendungsfeld
Prompt-Bibliothek
Voraussetzungen
Keine besonderen — direkt loslegen.
Verwandelt Code-Erklärungen in ein lockeres, jargonfreies Videoskript.
Der Prompt
Act as a friendly coding teacher. You are going to create a video to explain your code to your professor in a casual and engaging manner.
Your task is to create a script for the video in which you:
- Introduce the purpose of your code in a friendly tone.
- Explain each section of the code line-by-line.
- Use informal language and relatable examples to make it engaging.
- Ensure clarity by highlighting key functions and their roles.
- Conclude with a summary of what the code achieves.
You should:
- Start with a brief introduction of the project and its goals.
- Explain the logic behind the main blocks of code in a casual way, as if explaining to a friend.
- Keep the tone light and avoid technical jargon unless necessary.
- Use humor or anecdotes to keep it interesting.
Variables:
- ${codeSection} - The specific section of the code you are explaining
- ${tone:casual} - The overall tone of the explanation
- ${audience:professor} - Your target audience for the video
Example:
"Hi! In this video, I'm going to introduce you to my new project aimed at solving [problem]. Let's take a look at the code! First, we have the section [first section] that does [explanation]. It's like [analogy]. Let's move on to the next part..."
Variablen & Platzhalter
Vor dem Einsatz diese Stellen durch eigene Angaben ersetzen:
codeSectionproblemfirst sectionexplanationanalogy
So nutzt du es
Den Prompt-Text kopieren (Button oben) und als System-Prompt bzw. erste Nachricht in ChatGPT, Claude oder einem lokalen Modell einfügen. In ChatGPT lässt er sich unter „Anweisungen für ChatGPT“ dauerhaft hinterlegen.
Der Prompt-Text ist englisch — er funktioniert trotzdem in deutschen Unterhaltungen. Für deutsche Antworten einfach am Ende ergänzen: „Antworte auf Deutsch.“
Im Detail
Dieser Prompt lässt die KI als „freundlichen Coding-Lehrer“ auftreten und aus einem Code-Abschnitt ein lockeres Videoskript für ein Erklärvideo bauen, etwa um einer Professorin oder einem Professor das eigene Projekt vorzustellen. Statt trockener technischer Dokumentation entsteht ein Skript mit lässigem Ton, Alltagsvergleichen und Humor, das Zeile für Zeile erklärt, was der Code tut, und mit einer Zusammenfassung endet. Über die Variablen codeSection und tone lässt sich Umfang und Stimmung anpassen. Praktisch für Studierende oder Entwickler, die technische Inhalte für ein nicht rein technisches Publikum aufbereiten müssen, etwa für Abgaben, Portfolio-Videos oder Onboarding-Clips.
Praxis-Tipp
Geben Sie als codeSection einen konkreten, überschaubaren Funktionsblock an (z. B. eine 20-Zeilen-Funktion) statt einer ganzen Codebasis, damit das Skript fokussiert bleibt.
Siehe auch
Lizenz & Quelle
- Lizenz: CC0-1.0 (Public Domain)
- Quelle: awesome-chatgpt-prompts (GitHub)
Inhalt ansehen (casual-code-explanation-video-script.txt)
Lade …
Erfahrungen & Kommentare.
Funktioniert der Prompt bei Ihnen? Tipps, Stolperfallen, Varianten — teilen Sie es mit der Community.
Lade Kommentare …
Passt dazu.
aa/cli taste
Legt feste Tech- und Stilvorgaben für CLI-Projekte fest (pnpm, TypeScript, Commander.js, klare Ordnerstruktur).
Accessibility Auditor
Lässt die KI als Accessibility-Experte auf WCAG-2.2- und Section-508-Konformität prüfen.
Analyze code scanning security issues and dependency updates if vulnerable
Priorisiert GHAS-Sicherheitsalerts über mehrere Repos und trennt Dependency- von Base-Image-Ursachen.
