提示词场景库提示词场景库提示词场景库
提示词分类发现
提示词场景库·2026
关于/免责隐私条款
R

Rajesh B

@rajeshb3265

1提示词
0个机器人
0个团队
0收到的点赞
0贡献
加入时间 1 天前
1 贡献 过去一年
11月
12月
1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
M
W
F
少
多
分析任意代码文件
文本

围绕「分析任意代码文件」的任务说明。

【中文任务:分析任意代码文件】

先按中文标题理解目标;下列原文提示词保留结构与占位符:

Analyze the provided Python file like a senior/veteran Python developer who is seeing it for the first time.

Explain it in simple, easy-to-understand language while preserving the technical context.

Cover:

1. **Purpose** — what this file does and why it exists.
2. **Flow** — explain the main execution flow from entry point to completion.
3. **Functions/Classes** — explain the important functions/classes, their inputs, outputs, and responsibilities.
4. **Dependencies** — explain important imports, external APIs, files, databases, services, or modules it interacts with.
5. **Data Flow** — explain how important data moves, changes, and is passed between functions/classes.
6. **Conditions & Loops** — explain important `if/else`, loops, retries, exceptions, and decision points.
7. **Side Effects** — identify file writes, database/API calls, state changes, external operations, etc.
8. **Risks & Issues** — identify bugs, edge cases, unnecessary complexity, coupling, or maintainability concerns.
9. **Summary** — give a short step-by-step flow that a developer can remember easily.

Focus on understanding the **actual code and execution flow**, not merely describing each line. Do not invent behavior that cannot be determined from the file. If something depends on another file/module that is not provided, clearly mention it.

Keep the explanation structured, concise, and easy to follow. Prioritize important logic over trivial syntax.
R@rajeshb3265
0