Explain this code
Explain what this code does, line by line where it matters, then summarise it in two sentences. Point out anything surprising. [paste code]
Prompt library

36 prompts
Explain what this code does, line by line where it matters, then summarise it in two sentences. Point out anything surprising. [paste code]
Write unit tests for this function using [framework]. Cover normal cases, edge cases and invalid input. Explain in one line what each test checks. [paste function]
Convert this [source language] code to idiomatic [target language]. Keep the behaviour identical and note any library differences. [paste code]
Write a regular expression that matches [description]. Explain each part and give three strings that match and three that do not.
This SQL query is slow on a table with [N] rows. Suggest indexes and a rewritten query, and explain why each change helps. [paste query]
Design a REST API for [feature]. List endpoints with method, path, request and response JSON examples, and error codes.
Cut this text by half while keeping every important point. Keep my tone. [paste text]
Rewrite this message to sound [friendly / formal / confident], without changing the facts. [paste message]
Give me 10 headline options for this article, from plain to bold. Mark the three you think are strongest and why. [paste summary]
Create a detailed outline for a [length] article about [topic] for [audience]: sections, key points and one example per section.
Write a cover letter for this job using my experience below. Keep it under 250 words, concrete and without clichés. Job: [paste] My experience: [paste]
Proofread this text. Return the corrected version and a list of changes. [paste text]
Explain [topic] to a complete beginner in under 200 words, with one analogy and one example.
Turn these notes into 15 question-and-answer flashcards. Keep answers short. [paste notes]
Compare [concept A] and [concept B] in a table: definition, when used, example, common confusion.
I have [N] weeks before my [exam]. Make a weekly revision plan covering these topics: [topics]. Include practice days.
Here is a question and my answer. Tell me if it is correct, what is missing, and how to improve it. Question: [paste] My answer: [paste]
Let's practise [language] at [level]. Have a conversation with me about [topic]. After each of my replies, correct my mistakes briefly, then continue.
Summarise these meeting notes into decisions, action items with owners, and open questions. [paste notes]
Turn these bullet points into a clear weekly update for my manager: progress, blockers, next week. Under 150 words. [paste bullets]
List the pros and cons of [decision] for a [team / company] like ours: [context]. End with a recommendation and what would change it.
Write a job description for a [role] at a [company type]: responsibilities, must-have and nice-to-have skills, and what makes the role interesting.
Write a reply to this customer message. Be empathetic, explain the next steps clearly and keep it under 120 words. [paste message]
Write a [Excel / Google Sheets] formula that [goal]. My columns are: [describe]. Explain how it works.
Describe this image in detail: what is in it, the setting, any text, and anything unusual.
Read this chart. Summarise the main trend, the highest and lowest values, and anything that looks odd.
Recreate this user interface screenshot as clean HTML and CSS. Use semantic elements and a responsive layout.
Translate all visible text in this photo into [language], keeping the layout as a list.
This screenshot shows an error. Explain what it means and the most likely ways to fix it.
Extract the table in this image as Markdown. Keep the column headers and mark any cells you cannot read.
Solve this problem step by step. State your assumptions, show each step, and check the final answer another way. [paste problem]
Here is an argument. Identify any logical flaws, hidden assumptions or missing evidence, then give the strongest version of it. [paste argument]
Estimate [quantity] using a Fermi approach. Show each assumption with a number and give a low, middle and high estimate.
Help me choose between [options] based on [criteria]. Build a weighted decision matrix, explain the weights, and show the result.
My goal is [goal] by [date]. Work backwards to today and list the milestones and the first three actions I should take this week.
I plan to [plan]. Argue against it as convincingly as you can, then tell me which objections are the most serious.
§ 02Tips
Paste the actual text, code or data. GLM-5.3 and GLM-5.3 Flash handle long inputs well.
Ask for a table, a list, JSON or a short email. The model follows format instructions closely.
For maths, logic and debugging, turn it on. For quick questions, leave it off for speed.
Treat the first answer as a draft. Ask for changes, or edit your message and resend.
§ 03FAQ
No. They are starting points. Replace the bracketed parts with your own details and change anything you like.
GLM-5.3 Flash works well for most of them and is required for the image prompts. Use GLM-5.3 for the coding and reasoning prompts when the task is hard.
Yes. Copy them, adapt them and use them anywhere.
Try it now
No account, no card, no install. Type a question and watch GLM-5.3 Flash answer in seconds — switch to GLM-5.3 for the hardest problems.