Analyze any code file
Prompt from prompts.chat: Analyze any code file
Prompt Content
Copy and paste directly into your model or internal evaluation tool.
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:
- Purpose — what this file does and why it exists.
- Flow — explain the main execution flow from entry point to completion.
- Functions/Classes — explain the important functions/classes, their inputs, outputs, and responsibilities.
- Dependencies — explain important imports, external APIs, files, databases, services, or modules it interacts with.
- Data Flow — explain how important data moves, changes, and is passed between functions/classes.
- Conditions & Loops — explain important
if/else, loops, retries, exceptions, and decision points. - Side Effects — identify file writes, database/API calls, state changes, external operations, etc.
- Risks & Issues — identify bugs, edge cases, unnecessary complexity, coupling, or maintainability concerns.
- 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.
Use Cases
Reference Output
No standard answer available; manual review by scoring dimensions is recommended.
Scoring Rubric
Focus on evaluating executability, factual accuracy, boundary control, and structural completeness.
Try & save
Fill variables and copy, or save as a personal template.
This template has no variables and is ready to copy.
User Rating
0 ratingsYour rating
Log in to rate
Comments
0Log in to comment
Related Prompts
Dreamy Slow Shutter Fashion Portrait
Prompt from prompts.chat: Dreamy Slow Shutter Fashion Portrait
Shell Scripting taste
Prompt from prompts.chat: Shell Scripting taste
Web Performance taste
Prompt from prompts.chat: Web Performance taste