Ai Slides

作者 claude-office-skills9c4c7d5cd281MIT499 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫8 個月前更新

Generate complete presentations with AI - from outline to polished slides

僅含說明Documents & Office
AI 產生的概覽

依主題或大綱產生完整簡報,產出結構化投影片內容與 Marp Markdown。

功能
此技能可將主題、大綱或粗略筆記轉換為完整簡報,包含標題頁、議程、主體章節、總結與結尾。它會將各章節擴充為投影片內容、提供視覺建議,並將結果格式化為 Marp Markdown。文件也說明了簡報結構與內容產生模式。
適用情境
適用於需要快速草擬簡報的情境,例如演講、募資簡報、訓練投影片或季度檢視。適合使用者提供主題或筆記、希望取得結構化投影片而非手動排版的情況。
執行需求
僅為說明文件,未附帶指令碼。中繼資料引用了具備 create_pptx 與 add_slide 工具的 office-mcp 伺服器,輸出格式為 Marp Markdown。

AI Slides Skill

Overview

This skill enables AI-powered presentation generation. Provide a topic or outline, and get a complete, polished presentation with proper structure, content, and formatting.

How to Use

  1. Provide a topic, outline, or rough notes
  2. Specify audience and presentation length
  3. I'll generate a complete presentation

Example prompts:

  • "Create a 10-slide presentation about machine learning"
  • "Generate a pitch deck for a SaaS startup"
  • "Build training slides on cybersecurity basics"
  • "Make a quarterly review presentation from this data"

Domain Knowledge

Presentation Structure

yaml
# Effective presentation structurestructure:  - title_slide:      title: "Clear, compelling title"      subtitle: "Context or tagline"      author: "Presenter name"    - agenda:      items: 3-5 main topics    - introduction:      hook: "Attention-grabbing opening"      context: "Why this matters"    - main_content:      sections: 3-5 key points      each_section:        - heading        - 3-5 bullets or visual        - supporting data    - conclusion:      summary: "Key takeaways"      call_to_action: "What to do next"    - closing:      thank_you: true      contact_info: true      qa_prompt: true

Content Generation Pattern

python
def generate_presentation(topic, audience, slide_count=10):    """AI-powered presentation generation."""        # 1. Generate outline    outline = generate_outline(topic, slide_count)        # 2. Expand each section    slides = []    for section in outline:        slide_content = expand_section(section, audience)        slides.append(slide_content)        # 3. Add visuals suggestions    for slide in slides:        slide['visuals'] = suggest_visuals(slide['content'])        # 4. Format as Marp markdown    presentation = format_as_marp(slides)        return presentation
def generate_outline(topic, count):    """Generate presentation outline."""    # Typical structure    outline = [        {'type': 'title', 'title': topic},        {'type': 'agenda'},        # Main content (60% of slides)        # ... content slides        {'type': 'summary'},        {'type': 'closing'}    ]    return outline

Marp Output

python
def format_as_marp(slides):    """Convert slides to Marp markdown."""        marp = """---marp: truetheme: gaiapaginate: true---
"""        for slide in slides:        if slide['type'] == 'title':            marp += f"""<!-- _class: lead -->
# {slide['title']}
{slide.get('subtitle', '')}
---
"""        elif slide['type'] == 'content':            marp += f"""# {slide['heading']}
"""            for point in slide['points']:                marp += f"- {point}\n"            marp += "\n---\n\n"        return marp

Example: Generate Tech Talk

python
topic = "Introduction to Docker"audience = "Developers new to containers"slides = 10
# Generated presentationpresentation = """---marp: truetheme: gaiapaginate: true---
<!-- _class: lead -->
# Introduction to Docker
Containerization Made Simple
---
# Agenda
1. What is Docker?2. Core Concepts3. Getting Started4. Best Practices5. Demo
---
# What is Docker?
- Container platform for packaging applications- Lightweight alternative to VMs- "Build once, run anywhere"- 15M+ developers, 7M+ applications
---
# Why Containers?
| VMs | Containers ||-----|------------|| GB size | MB size || Minutes to start | Seconds to start || Full OS | Shared kernel |
---
# Core Concepts
- **Image**: Blueprint/template- **Container**: Running instance- **Dockerfile**: Build instructions- **Registry**: Image storage (Docker Hub)
---
# Getting Started
```bash# Pull an imagedocker pull nginx
# Run a containerdocker run -p 8080:80 nginx
# List containersdocker ps

Your First Dockerfile

dockerfile
FROM node:18WORKDIR /appCOPY package*.json ./RUN npm installCOPY . .EXPOSE 3000CMD ["npm", "start"]

Best Practices

  • Use official base images
  • Minimize layers
  • Don't run as root
  • Use .dockerignore
  • Multi-stage builds

Summary

✅ Docker simplifies deployment ✅ Containers are lightweight & fast ✅ Easy to get started ✅ Industry standard


<!-- _class: lead -->

Questions?

Resources: docs.docker.com """


## Best Practices
1. **Know Your Audience**: Tailor complexity and examples2. **One Idea Per Slide**: Keep focused3. **6x6 Rule**: Max 6 bullets, 6 words each4. **Visual First**: Suggest images/diagrams5. **Strong Opening/Closing**: Hook and call-to-action
## Resources
- [Marp](https://marp.app/) - Markdown presentations- [Slidev](https://sli.dev/) - Vue-powered slides- [reveal.js](https://revealjs.com/) - HTML presentations

來源與署名

來源:claude-office-skills/skills位於ai-slides提交9c4c7d5

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架