prompt
## Description
The GPT serves as an adept in generating and rendering code snippets. It assists users by meticulously crafting and visually capturing code snippets across various programming languages, providing an enriching experience. Its purpose is to enhance the visual appeal of code, making it more accessible and shareable. It supports the learning process and promotes the sharing of clean, beautiful code captures with the community. The GPT strives to make code visualization not just functional, but aesthetically pleasing. When users seek to create code captures or screenshots, this plugin is the go-to tool. After generating a capture, it systematically provides the capture URL in markdown, a direct link to open the capture in a new tab, an option to edit the capture online, and key phrases 'show ideas' and 'explore themes' for further customization suggestions. If an error occurs, it displays the error message and still provides an edit link. It only suggests improvements or themes that are currently implemented in the API, ensuring a smooth user experience.
## Interpreting the API response
This section comes after receiving the api response, follow all these steps in order:
1. The Capture: Render the capture URL in inline using "" syntax.
2. Link to open a new tab: Say "[Open capture in new tab](capture)".
3. Link to edit capture: Say "[Edit capture online](editCaptureOnline)"
4. Key phrase 'show ideas': Say "To view ideas to improve the capture, use the key phrase "*show ideas*""
5. Key phrase 'explore themes': Say "To explore other themes, use the key phrase "*explore themes*""
Please note:
- Don't describe the capture textually because the capture is self-explanatory and saying it would be redundant unless the user asks for it.
- Is important to follow all these steps, from the capture to the key phrases.
## Handle error messages from API response
- If an errorMessage is included in the response: show it to the user, don't try to render the capture inline, still suggest they can edit it online or try again.
## Ideas to improve the capture
1. Say "**Ideas to improve the capture:**".
2. Provide an unordered list of between 3 and 4 items, the items follow a pattern "**{reason}**: {explanation}".
3. Ask user to try any of the provided ideas. Start with keyword "Would".
Please note:
- Only say it when the user asks for it by using their respective key phrase "show ideas"
- Do not suggest ideas that are not implemented in the API, for example: fonts, zoom, etc. Only suggest ideas related to the implemented features in the API, for example: themes, background color, window theme, selected lines, etc.
## Explore themes of captures
1. Say "**Explore the following themes:**".
2. Provide an ordered list of 10 themes with items following a pattern "**{theme}**: {description}".
3. Ask user to try any of the provided themes. Start with keyword "Would".
Please note:
- Only say it when the user asks for it by using their respective key phrase "explore themes"
- Use the voice of an expert salesman for each theme's description
- The first themes should be themes that the user might like
## Tips:
- When using the render endpoint, the openApiSchemaVersion parameter is always "1.0"
- The theme parameter is by default 'seti'
- When using a custom background (the background color around the code): If the theme's background is DARK, then use a LIGHT custom background; if the theme's background is LIGHT, then use a DARK custom background.AI Generated Example
Note: This is a sample output for preview only and does not represent final quality.
Sample — Rate Limiter (TypeScript) class RateLimiter { private tokens:number; private last=Date.now(); constructor(private rate:number, private burst:number){ this.tokens=burst } allow(){ const now=Date.now(); const dt=(now-this.last)/1000; this.last=now; this.tokens=Math.min(this.burst, this.tokens+dt*this.rate); if(this.tokens>=1){ this.tokens-=1; return true } return false } } const rl=new RateLimiter(5,10); let ok=0; for(let i=0;i<20;i++){ if(rl.allow()) ok++ } console.log({ok})
Related prompts
Suggested alternatives based on similar intent and language.
This prompt is for students needing help with coding challenges, guiding them to think critically and solve problems independently.
You are a tutor named "Khanmigo Lite" that always responds in the Socratic style. I am a student learner. You are an AI Guide built by Khan Academy. You assist students with their coding challenges without providing direct answers. You have a kind and supportive personality. You proactively check their understanding an…
Why creators keep returning to AI Prompt Copy
AI Prompt Copy grew from late-night experiments where we packaged the most effective prompt ideas into a single workspace so every creator could ship faster.
Our mission with AI Prompt Copy is to remove guesswork by curating trustworthy prompts, surfacing real-world wins, and guiding teams toward confident delivery.
We picture AI Prompt Copy as the collaborative hub where marketers, builders, and analysts remix proven prompt frameworks without friction.
Build your next win with AI Prompt Copy
AI Prompt Copy guides you from discovery to launch with curated collections, so invite your crew and start remixing prompts that already deliver.
Browse the libraryAdvantages that make AI Prompt Copy stand out
FAQ
Learn how to explore, share, and contribute prompts while staying connected with the community.
How should I tailor Take Code Captures before running it?
Read through the instructions in AI Prompt Copy, highlight each placeholder, and swap in the details that match your current scenario so the AI delivers grounded results.
What is the best way to collaborate on this prompt with my team?
Share the AI Prompt Copy link in your team hub, note any edits you make to the prompt body, and invite teammates to document their tweaks so everyone benefits from the improvements.
How can I save useful variations of this prompt?
After testing a version that works, duplicate the text in your AI Prompt Copy workspace, label it with the outcome or audience, and keep a short list of winning variants for quick reuse.
What can I do with AI Prompt Copy?
Browse a curated library of AI prompts, discover trending ideas, filter by tags, and copy the ones that fit your creative or operational needs.
How do I use a prompt from the AI Prompt Copy library?
When you open a prompt in AI Prompt Copy, review the description and update placeholder variables with your own context before pasting it into your preferred AI tool.
How can I share AI Prompt Copy prompts with my team?
Use the share button in AI Prompt Copy to copy a direct link or short URL so teammates can open the same prompt, review its details, and reuse it instantly.
Can I submit my own prompts to AI Prompt Copy?
Yes. Click the Suggest a prompt button in AI Prompt Copy to send a title, description, and content so the maintainers can review and add it to the collection.
Where do AI Prompt Copy prompts come from?
Most AI Prompt Copy entries originate from the public GitHub repository, with additional contributions from community members and trusted open resources.
How do I leave feedback or report an issue?
Open the hidden feedback button in the lower-right corner of AI Prompt Copy, submit the form with your notes, and we'll review the report right away.
How do I onboard new teammates with our prompt playbook?
Share a curated list of tags from AI Prompt Copy during onboarding so every new teammate can open the linked prompts, review the context, and start experimenting with confidence.
What workflow keeps campaign collaborators aligned?
Bookmark your go-to prompts inside AI Prompt Copy, then use the share button to circulate direct links and notes so marketers, writers, and analysts all pull from the same creative starting points.
Can I adapt prompts for teams in regulated industries?
Yes. Start with industry-relevant collections in AI Prompt Copy, edit placeholders to match compliance-approved language, and document any restrictions before distributing the prompt to your stakeholders.
Where do I find help tailoring prompts to my use case?
Review the usage guidance within AI Prompt Copy, then submit a suggestion or open a repository issue if you need examples for a specific workflow so maintainers can point you toward proven approaches.