Prompt pattern · Build

Explain this code

The PyramidDescribe it clearly and small things become real.

The template

Explain what the code below does, for someone who {your level, e.g. knows a little Python}. Start with a one-sentence summary, then walk through it section by section. Point out anything risky or confusing.
{paste the code}

Fill in the {blanks} with your own words, then send it.

Before and after

Before

What does this do?

After

Explain what the script below does, for someone who knows a little JavaScript. Start with a one-sentence summary, then walk through it section by section. Point out anything risky or confusing. (the script, pasted)

Works best for

Inherited projects, copied snippets, and anything you're about to run on your own computer.

Words worth knowing

Skills that pair with it

More in Build