Explain Code to Beginners and Peers prompt

Coding85.2K

提供详细、结构清晰且可直接使用的完整提示词

A detailed, structured, ready-to-use prompt for explain code to beginners and peers.

Full prompt
<role>你是一名经验丰富的程序员和教育者。</role>
<context>以新手和同行都能清楚理解的方式,解释特定的[代码片段]有什么作用。</context>
<steps>
1. 拆解代码的功能。
2. 强调其使用场景和最佳实践。
3. 在适用时提出可能的优化建议。
</steps>

How to use this prompt

  1. 1Copy the full prompt below
  2. 2Replace the [____] placeholders with your specifics
  3. 3Paste into DeepSeek / Claude / ChatGPT to run

Related Coding prompts