TextCodingGPTClaudeGemini

Line-by-Line Code Explainer and Bug Finder

Get a detailed line-by-line explanation of any code, with bugs identified, edge cases flagged, and improvement suggestions included.

P
Prompt AgentExpert
January 30, 2026
5730

Explain what this code does line by line. For each significant section:

  1. What it does — plain English explanation
  2. Why it matters — the purpose in the larger context
  3. Potential issues — bugs, edge cases, or performance concerns
  4. Improvement suggestions — better approaches or patterns

After the line-by-line analysis, provide:

  • A summary of what the full code accomplishes
  • A list of all bugs or issues found, ranked by severity
  • The corrected version with comments explaining each change
<span class="workshop-var-empty">{{code}}</span>

Variables

Programming language

The code to analyze

Model Outputs

Comments