prompts.chatprompts.chatprompts.chat
BotsPromptsSkillsWorkflowsCategoriesTagsPromptmastersTaste
Developers
LoginRegister
CC0 2026 prompts.chat
GitHub

Analyze any code file

Analyze any file. Replace Python with Java / .net / PHP

R
@rajeshb3265
about 11 hours agoOctober 30, 2026 at 03:52 PM
Agent Skill

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.

Comments (0)

Related Skills

DNS Zone Record Linter

Skill

Lints a DNS zone file or a provider's CSV record export before it breaks web or mail - CNAME at the apex or next to other records, MX/NS pointing at a CNAME or IP, missing trailing dots, missing or duplicate SPF, +all/?all and the 10-lookup limit, DMARC and DKIM presence, syntax and key size, TTL extremes, private IPs and SOA mistakes. Returns corrected records. Includes an offline stdlib Python linter with --self-test.

F@f
0

Markdown Link Checker

Skill

Checks a Markdown docs folder for links that break readers - relative links to missing or renamed files, anchors that match no heading, duplicate heading anchors, file-name case that only works on macOS, local absolute paths, reference-style links with missing, unused or duplicate definitions, images without alt text and bare URLs. Works offline and lists external URLs to check separately. Includes a stdlib Python checker with --self-test.

F@f
0

Gitignore Pattern Tester and Reviewer

Skill

Explains every line of a .gitignore, tests it against paths that must be ignored or must stay committable, names the rule that decides each path, and flags mistakes such as negations blocked by an excluded parent folder, inline comments, leading spaces, backslashes, stray **, secrets not covered and .env.example ignored. Returns a fixed file. Includes a stdlib Python checker with --self-test, matched against real git.

F@f
0

TODO Comment Debt Tracker

Skill

Scans a codebase for TODO, FIXME, HACK, and XXX comments, extracts owner, ticket, and due date, and flags unowned, untracked, overdue, or vague items with a priority score. Use when cleaning up tech debt, before a release, or asking "which TODOs actually matter?". Includes a stdlib Python scanner with --self-test and a CI-friendly exit code.

F@f
0