P

GitHub Copilot Prompt to Create a Presentation

GitHub Copilot, the AI assistant from GitHub 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 essential points from your source code, generate architecture diagrams, and produce slides consistent with your existing codebase. By writing a precise prompt detailing the topic, target audience, number of slides, and desired format, you obtain a complete presentation structure in seconds. This approach is particularly effective for developers presenting technical reviews, feature demos, or internal training, as Copilot can directly include relevant code snippets and functional examples in the generated slides.

The prompt

GitHub Copilot

Create a complete presentation in Markdown format compatible with Marp on the following topic: [TOPIC]. The presentation is intended for [AUDIENCE] and should contain between [NUMBER] slides. For each slide, generate a compelling 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 content according to this progression: context and problem, 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 relevant.

Personalize this prompt with Léa

Answer 3 questions and Léa tailors the prompt to your situation.

Why it works

This prompt works because it provides Copilot with a precise structural framework (Marp format, number of slides, logical progression) while giving it creative freedom on 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.

Expected result

You get a complete Markdown file, directly usable with Marp CLI or the Marp VS Code 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 coherent narrative progression from start to finish.

Variants by level

FAQ

Which presentation format does GitHub Copilot handle best?
GitHub Copilot excels with text-based formats like Markdown (Marp, reveal.js) and HTML/CSS because these are languages it natively masters. It can also generate Python scripts using python-pptx to create PowerPoint files, but the result usually requires more adjustments. For an optimal workflow, favor Marp which combines Markdown simplicity with professional-quality PDF, HTML, and PPTX exports.
How can I make Copilot include source code from my project in the slides?
Open relevant code files in adjacent tabs before drafting 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 parts of the code to integrate into your slides.
How to 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 design guidelines: 'Add a custom CSS theme with primary color #2563EB, Inter font for titles, and a dark background for code slides'. Copilot will generate the appropriate Marp directives that you can iteratively refine.

Related prompts

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into ChatGPT, Claude or your favorite AI assistant.
  3. Replace the bracketed variables with your details, then refine the result.

About Prompt Guide

Prompt Guide is a free library of 2500+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.

More prompts to explore

GitHub Copilot Prompt to Create a Prototype

GitHub Copilot has become an essential ally for developers who want to quickly turn an idea into a functional prototype. Rather than s

GitHub Copilot Prompt to Create a Quiz

GitHub Copilot, the AI-powered programming assistant, is not limited to code completion. It also excels at creating interactive qui

GitHub Copilot Prompt to Create a REST API

GitHub Copilot has become an essential assistant for developers wanting to accelerate the creation of REST APIs. With its direct integration into the editor, it understands your project's context and generates structured code in real time. Whether you're working with Node.js and Express, Python and FastAPI, or Java and Spring Boot, Copilot adapts to your tech stack to produce endpoints conforming to REST conventions. The main challenge lies in crafting the prompt: a well-structured prompt yields a complete API with data validation, error handling, authentication, and documentation. A vague prompt, on the other hand, will produce generic code that requires many touch-ups. In this guide, we offer an optimized prompt that fully leverages GitHub Copilot's capabilities to generate a professional, testable, production-ready REST API. You'll also discover variants for your experience level as well as practical tips to get the most out of this tool on a daily basis.

GitHub Copilot Prompt to Create a Resume

GitHub Copilot, the AI development assistant integrated into code editors, can be creatively repurposed to generate professional resumes in HTML,

GitHub Copilot Prompt to Create a Software Architecture

GitHub Copilot, the AI development assistant integrated into IDEs, is a valuable ally for designing robust software architectures. Rather than starting from scratch, you can use Copilot Chat to generate architecture proposals tailored to your technical context: pattern selection, module breakdown, interface definition, and data flows. The tool particularly excels when given clear constraints (tech stack, volume, team size) as it leverages millions of open-source projects to suggest proven structures. Whether you're designing a modular monolith, microservices architecture, or event-driven system, a well-structured prompt lets you obtain a complete architectural skeleton with diagrams, file trees, and technical justifications. This guide provides optimized prompts to turn Copilot into a genuine software architect capable of producing architecture documents ready for immediate use by your development team.

GitHub Copilot Prompt to Create a Training Program

GitHub Copilot, GitHub's AI-powered coding assistant, is not limited to code generation. Thanks to its contextual understanding capabilities...

Go further

Get new prompts every week

Join our newsletter.