{
  "markdown": "# Slidev - Gemini CLI Extension\n\nA professional Gemini CLI extension for creating, editing, and managing [Slidev](https://sli.dev/) presentations—Markdown-based slides for developers.\n\n## ✨ Features\n\n- **⚡ Instant Setup**: Initialize new Slidev projects with best practices and theme selection.\n- **📝 Intelligent Generation**: Create full slide decks with optimal layouts (`two-cols`, `image-right`), animations (`<v-click>`), and speaker notes.\n- **🎨 Smart Editing**: Modify slides using UnoCSS utility classes and refined component usage.\n- **➕ Seamless Addition**: Insert new slides intelligently into existing decks.\n- **📤 Production Export**: Export to PDF/PNG with support for animation steps (`--with-clicks`).\n- **▶️ Dev Server**: Integrated control for starting the local preview server.\n\n## 📋 Prerequisites\n\n1. **Gemini CLI** installed and configured\n2. **Node.js 18+** and npm/pnpm/yarn\n3. **Slidev** (will be installed automatically in new projects)\n\n## 🚀 Installation\n\n### 1. Install Extension\n\nInstall the extension using the `gemini extensions install` command:\n\n```bash\ngemini extensions install https://github.com/QIanGua/gemini-slidev-extension\n```\n\n### 2. Activate\n\nRestart the Gemini CLI. The following commands will be available:\n\n- `/init` - Initialize a new Slidev project\n- `/generate` - Generate complete slide decks from topics\n- `/add` - Add new slides with specific layouts\n- `/edit` - Refine content and styles\n- `/export` - Export presentation to PDF/PNG\n- `/run` - Start the local development server\n- `/slidev` - Main entry point and help\n\n## 💡 Usage\n\nThe extension provides a suite of commands for the entire presentation lifecycle:\n\n### 🎯 Specific Commands (Recommended)\n\n**Initialize Project:**\n\n```bash\n/init\n# \"Initialize a new project with the 'seriph' theme\"\n```\n\n**Generate Content:**\n\n```bash\n/generate \"Deep Learning Fundamentals\"\n# Generates a structured deck with cover, intro, key concepts, and summary\n```\n\n**Add Slides:**\n\n```bash\n/add \"Comparison of React vs Vue\"\n# Adds a 'two-cols' layout slide comparing the frameworks\n```\n\n**Edit & Refine:**\n\n```bash\n/edit \"Make the title on slide 3 bigger and red\"\n# Applies 'text-4xl text-red-500' classes using UnoCSS\n```\n\n**Export:**\n\n```bash\n/export --format pdf --with-clicks\n# Exports a PDF including all animation steps\n```\n\n**Run Server:**\n\n```bash\n/run\n# Starts the dev server at http://localhost:3030\n```\n\n### 🌟 Natural Language Command (Flexible)\n\n**Open-ended prompts:**\n\n```bash\n/slidev I need a presentation about Rust programming language for beginners\n/slidev Add a slide with a code block showing a Hello World example in Python\n/slidev Export the current deck to PNG\n```\n\n## 🔧 Technical Details\n\n### Core Principles\n\nThis extension adheres to strict quality standards defined in `GEMINI.md`:\n\n- **Markdown-Centric**: Treats `slides.md` as the source of truth.\n- **Component-Driven**: leverages Slidev's built-in layouts and Vue components.\n- **Progressive Disclosure**: Smart use of animations to control information flow.\n\n### Configuration\n\nThe extension automatically handles:\n\n- YAML Frontmatter validation\n- Component syntax checking\n- Asset path resolution\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Submit a pull request\n\n## 📄 Legal\n\n- **License**: [Apache License 2.0](LICENSE)\n",
  "bytes": 3332,
  "sha": "563dc95e4c5a71bebf13a99266a14d40032c2c945ad44b33a234a3ba51112c9b",
  "repo_slug": "qiangua/gemini-slidev-extension",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_qiangua_gemini_slidev_extension_6fbfeeb0/readme"
}