跳到主要内容
PromptDaily每日精选并验证的 AI 提示词
编程

Casual Code Explanation Video Script

测试模型:
GPT-4o
有效性评分:
100/100
提示词归档

中文版本

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..."

填入内容并运行

这条提示词有 7 处待填。填好后我们会为你拼出完整提示词。

还有 7 处未填

完整提示词

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..."

将在新标签页打开并已填入提示词。可能需要先登录该服务。

如何使用此提示词

  • 发送前,请将方括号中的内容替换为你自己的信息。
  • 不同模型的结果会有差异。若输出不理想,可换一个模型或补充一个具体示例。
  • 请将提示词放在一条消息中发送。分多次发送会削弱指令效果。

编程提示词