Prompt libraryLearning Hub

Prompts that get you a better answer

Ready-made prompts for emails, meetings, spreadsheets, planning and more, at your level. Copy one, fill in the [square brackets] with your details, and paste it into ChatGPT, Claude, Gemini or any AI assistant. 32 are free; the other 64 come with Pro.

96 prompts32 free to copy12 kinds of job

1 free prompt in Coding and automation at advanced level

Coding and automation

Explain, fix, test and automate. Mostly for confident users.

  • AdvancedFree

    Get a code review

    Reviews code for bugs, security problems and readability, most serious first.

    The prompt

    Review this [language] code as a careful senior developer would. What it does, and where it runs: [a short description]. What matters most here: [such as security, speed or readability]. List the problems in order of seriousness, each with where it is, why it’s a problem and a suggested fix as a short code snippet. Look especially for bugs, security problems (such as injection or exposed secrets), missing error handling and unclear names. Tell me what’s good, too, and keep the tone constructive. If you’re unsure whether something is a bug, say so and explain what would confirm it. The code: [paste the code, with any secrets and private data removed]

    Tips and an example: Get a code review

    Tips for a better answer

    • AI reviews miss things: treat this as a second pair of eyes, not a sign-off.
    • Ask it to write a test that shows each bug before you fix it.

    An example, filled in

    Review this JavaScript code as a careful senior developer would. What it does, and where it runs: a form on our website that saves sign-ups to a database. What matters most here: security. List the problems in order of seriousness, each with where it is, why it’s a problem and a suggested fix as a short code snippet. Look especially for bugs, security problems (such as injection or exposed secrets), missing error handling and unclear names. Tell me what’s good, too, and keep the tone constructive. If you’re unsure whether something is a bug, say so and explain what would confirm it. The code: app.post('/signup', async (req, res) => { const email = req.body.email; await db.query("INSERT INTO signups (email) VALUES ('" + email + "')"); res.send('Thanks!'); });

The prompts are AI-assisted, like everything we publish, and written to our house style. Spotted a problem with one? Tell us and an editor will check it.