GitHub Copilot Prompt to Create a Presentation
GitHub Copilot, GitHub's AI assistant integrated into code editors, can also be a formidable ally for creating professional presentations. Whether you need to generate HTML/CSS code for reveal.js slides, structure Markdown content for Marp, or produce PowerPoint files via Python scripts, Copilot significantly speeds up the process. The key advantage lies in its ability to understand the context of your project: it can extract the essential points from your source code, generate architecture diagrams, and produce slides consistent with your existing codebase. By crafting a precise prompt detailing the topic, target audience, number of slides, and desired format, you get a complete presentation structure in seconds. This approach is particularly effective for developers presenting technical reviews, feature demonstrations, or internal training, as Copilot can directly include relevant code snippets and functional examples in the generated slides.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Create a complete presentation in Marp-compatible Markdown format on the following topic: [TOPIC]. The presentation is aimed at [AUDIENCE] and should contain between [NUMBER] slides. For each slide, generate a catchy title, structured content in concise bullet points (maximum 4 points per slide), and suggest speaker notes. Start with a title slide with the presentation name and author, then an agenda slide. Organize the content according to this progression: context and problem statement, key concepts, demonstration with code examples, best practices, and conclusion with a call to action. Use the Marp directive for the 'default' theme and add slide separators with '---'. Include relevant emojis to reinforce key points and add code blocks with syntax highlighting where appropriate.
Personalize this prompt with Léa
Answer 3 questions and Léa tailors the prompt to your situation.
Why this prompt works
This prompt works because it provides Copilot with a precise structural framework (Marp format, slide count, logical progression) while leaving creative freedom for content. Specifying the audience allows the AI to adapt the technical level and vocabulary. The explicit inclusion of speaker notes and agenda structure forces Copilot to produce a complete and professional deliverable, not just a skeleton.
Use Cases
Variants
Expected Output
You will get a complete Markdown file, directly usable with Marp CLI or the VS Code Marp extension, containing all structured slides with titles, bullet points, code blocks, and speaker notes. The result can be exported to PDF, HTML, or PowerPoint without major editing, with a consistent narrative progression from start to finish.
Frequently Asked Questions
Which presentation format does GitHub Copilot handle best?
GitHub Copilot excels with text-based formats like Markdown (Marp, reveal.js) and HTML/CSS, as these are languages it handles natively. It can also generate Python scripts using python-pptx to create PowerPoint files, but the results typically require more tweaking. For an optimal workflow, choose Marp, which combines Markdown simplicity with professional-quality exports to PDF, HTML, and PPTX.
How can I get Copilot to include source code from my project in the slides?
Open the relevant code files in adjacent tabs before writing your prompt. Copilot uses the context of open files to enrich its suggestions. You can also explicitly reference files in your prompt using the @workspace syntax in Copilot Chat: for example, 'Create slides explaining the architecture described in @workspace/src/api/router.ts'. Copilot will automatically extract the most relevant code segments to integrate into your slides.
How can I customize the design of slides generated by Copilot?
After generating the structure with Copilot, you can add a CSS style block at the top of your Marp file to customize colors, fonts, and layouts. Ask Copilot directly to generate this CSS block by specifying your brand guidelines: 'Add a custom CSS theme with primary color #2563EB, Inter font for headings, and a dark background for code slides'. Copilot will generate the appropriate Marp directives, which you can then refine iteratively.
Learn more
Check the full skill on Prompt Guide to master this technique from A to Z.
View on Prompt Guide📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Similar Prompts
Generate engaging blog content ideas
Generate 20 blog content ideas classified by type with editorial calendar, detailed outlines, and content recycling strategy.
Forecast key evolutions in your sector
Get a complete prospective analysis of your sector with PESTEL analysis, evolution scenarios, and strategic roadmap.
Write quick professional responses
Generate personalized, ready-to-send professional responses with context analysis, two detail levels, and delicate situation handling.
Write a Compelling Negotiation Email
A structured prompt to write professional negotiation emails that defend your interests while preserving the business relationship.