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 从公开仓库中收录这些内容。

举报或申请下架