A professional Gemini CLI extension for creating, editing, and managing Slidev presentations—Markdown-based slides for developers.
- ⚡ Instant Setup: Initialize new Slidev projects with best practices and theme selection.
- 📝 Intelligent Generation: Create full slide decks with optimal layouts (
two-cols,image-right), animations (<v-click>), and speaker notes. - 🎨 Smart Editing: Modify slides using UnoCSS utility classes and refined component usage.
- ➕ Seamless Addition: Insert new slides intelligently into existing decks.
- 📤 Production Export: Export to PDF/PNG with support for animation steps (
--with-clicks). ▶️ Dev Server: Integrated control for starting the local preview server.
- Gemini CLI installed and configured
- Node.js 18+ and npm/pnpm/yarn
- Slidev (will be installed automatically in new projects)
Install the extension using the gemini extensions install command:
gemini extensions install https://github.com/QIanGua/gemini-slidev-extensionRestart the Gemini CLI. The following commands will be available:
/init- Initialize a new Slidev project/generate- Generate complete slide decks from topics/add- Add new slides with specific layouts/edit- Refine content and styles/export- Export presentation to PDF/PNG/run- Start the local development server/slidev- Main entry point and help
The extension provides a suite of commands for the entire presentation lifecycle:
Initialize Project:
/init
# "Initialize a new project with the 'seriph' theme"Generate Content:
/generate "Deep Learning Fundamentals"
# Generates a structured deck with cover, intro, key concepts, and summaryAdd Slides:
/add "Comparison of React vs Vue"
# Adds a 'two-cols' layout slide comparing the frameworksEdit & Refine:
/edit "Make the title on slide 3 bigger and red"
# Applies 'text-4xl text-red-500' classes using UnoCSSExport:
/export --format pdf --with-clicks
# Exports a PDF including all animation stepsRun Server:
/run
# Starts the dev server at http://localhost:3030Open-ended prompts:
/slidev I need a presentation about Rust programming language for beginners
/slidev Add a slide with a code block showing a Hello World example in Python
/slidev Export the current deck to PNGThis extension adheres to strict quality standards defined in GEMINI.md:
- Markdown-Centric: Treats
slides.mdas the source of truth. - Component-Driven: leverages Slidev's built-in layouts and Vue components.
- Progressive Disclosure: Smart use of animations to control information flow.
The extension automatically handles:
- YAML Frontmatter validation
- Component syntax checking
- Asset path resolution
- Fork the repository
- Create a feature branch
- Submit a pull request
- License: Apache License 2.0