Coding
Casual Code Explanation Video Script
- Tested with:
- GPT-4o
- Effectiveness:
- 100/100
- Prompt archive
English version
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..."Fill in and run
This prompt has 7 blanks. Fill them in and we will assemble the finished prompt for you.
7 still empty
Finished 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..."- Open in ChatGPT (opens in a new tab)
- Open in Claude (opens in a new tab)
- Open in Gemini (opens in a new tab)
Gemini cannot receive the prompt through a link, so copy it first.
- Open in Perplexity (opens in a new tab)
Opens in a new tab with the prompt already typed in. You may need to be signed in.
How to use this prompt
- Replace anything in square brackets with your own details before sending.
- Results differ between models. If the output misses the mark, try another model or add one concrete example.
- Keep the prompt in one message. Splitting it across turns weakens the instructions.