PROMPT
Analyze any code file
Codingπ 1
PROMPT CONTENT
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.
RELATED PROMPTS
COMMENTS
No comments yet β be the first.
