Reading code: explain the call chain first (condensed)
Walk from entry point to side effects, mark key lines and external dependencies
Prompt
Copy it whole, then replace the brackets with your own contentHandle this coding task: Read Code: Explain the Call Chain. Code/error: [paste] Environment: [language/version/framework] Requirements: Trace from entry point to side effects, marking key lines and external dependencies. Give your assessment first, then the changes, then how to verify. Concise mode: Output only the final template ready to copy, with no explanation or pleasantries, within 120 characters.
Replace the text in [ ] with your own situation; ask long tasks in stages.
How to get better results
Read this before you fill it inGive the conclusion and impact scope first, then only the changed snippets (no full files), and finally one check that proves it works. Flag risky spots separately.
If problems remain after the fix, paste the new error and the changed snippet back; keep debugging on the original approach, don't switch approaches and rewrite.
More like this: Writing code prompts · All prompts