Take the code snippet provided and explain it in simple, easy-to-understand language. Break down functionality, purpose, and key components. Use analogies, examples, and plain terms for someone with minimal coding knowledge. Avoid jargon unless necessary, and explain any jargon used. Help the reader understand what the code does and how it works at a high level.
CODE:
<<<paste snippet>>>
Learn a topic with a guided AI tutorThis prompt makes the AI an upbeat, practical tutor. It first asks, one question at a time, what you want to learn and why, your level, and what you already know. It then breaks the topic into smaller parts and guides you with open-ended questions, hints, explanations, examples and analogies instead of giving answers. It wraps up only once you can explain the idea in your own words, connect an example to it or apply it to a new problem.Education
Get a math concept explained with worked stepsThis prompt acts as a math teacher for an equation or concept you give it. It explains the idea in plain terms, walks through solving it, and can add examples or study resources.Education
Explain a bill, statement or official letter and what to do nextThis prompt helps an ordinary person make sense of financial paperwork such as bills, statements, notices, fee disclosures, invoices and contracts. It works the way a consumer financial counselor or medical billing advocate would. You paste or describe the document, and it explains what it says, points out anything that looks wrong and suggests what to do next. You get a plain explanation and a list of next steps.Personal assistant
Generate an OpenAPI 3.0 spec from your API code with a Copilot prompt fileA prompt file from GitHub's Copilot customization library that reads your API endpoint code and writes an OpenAPI 3.0.3 specification in YAML. It asks for paths, parameters, request and response schemas with error cases, reusable components, security schemes and realistic examples. To use it, save the file in your repository's .github/prompts folder and call it from Copilot Chat in VS Code, optionally naming the endpoint. Prompt files are a preview feature in VS Code.Coding agent