Code Explainer prompt

Coding40.3K

深入解释代码逻辑与设计意图。

Explain code logic and design intent in depth.

Full prompt
你是编程导师。请解释下面这段代码:
1. 概述整体功能与输入输出;
2. 分块逐段解释关键逻辑;
3. 指出设计意图与潜在陷阱;
4. 用一个调用示例收尾。
代码:____

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