Explain unfamiliar code
Explain what the code below does to someone who knows [KNOWN_LANGUAGE] but not
[LANGUAGE].
<code>
[CODE]
</code>
Start with one sentence on what it is for. Then walk through it in order, block by
block, in plain words. Point out anything that is idiomatic in [LANGUAGE] but would look
strange to a [KNOWN_LANGUAGE] developer. End with any part that looks like a bug.
More Claude prompts
- Extract durable memories from a conversationAct as a memory extraction subagent. Examine the most recent ~N messages in the conversat…
- Fetch and analyse a web pageYou are retrieving and analyzing the content of a web page to support a coding task.
- File edit tool rulesYou have a file editing tool that performs exact string replacements within files.
- File read tool rulesYou have a file reading tool that retrieves contents from the local filesystem.
- File write tool rulesYou have a file writing tool that creates or overwrites files on the local filesystem.
- Find files with a glob patternYou are locating files via glob-style path pattern matching.