mcpField
A
ai-slides

ai-slides

github.com/claude-office-skillsドキュメント5454.9k 回インストール39 週間前に更新
リポジトリ

ai-slides について

ai-slidesは、テーマやアウトライン、メモから構成の整ったプレゼンテーションを作るスキルです。対象者や枚数に合わせた資料作成に向き、Marp Markdownで出力できます。

主な機能

  1. 01テーマやメモから資料を生成
  2. 02対象者や枚数に合わせて調整
  3. 03プレゼン構成に沿ったスライド作成
  4. 04Marp Markdown形式で出力

活用シーン

  1. 01機械学習のプレゼン作成
  2. 02SaaSスタートアップのピッチ資料作成
  3. 03サイバーセキュリティ研修資料の準備
  4. 04四半期レビューのデータをスライド化

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/claude-office-skills/skills --skill ai-slides

インストール後、Claude Code で/ai-slidesを入力して読み込まれたか確認します。

詳細

AI スライドスキル

概要

このスキルでは、AI を活用したプレゼンテーションを生成できます。トピックやアウトラインを入力すると、適切な構成、内容、書式を備えた、完成度の高いプレゼンテーションが作成されます。

使い方

  1. トピック、アウトライン、または大まかなメモを入力します
  2. 対象者とプレゼンテーションの長さを指定します
  3. 完成したプレゼンテーションが生成されます

プロンプトの例:

  • 「機械学習について10枚のスライドでプレゼンテーションを作成して」
  • 「SaaS スタートアップ向けのピッチデッキを生成して」
  • 「サイバーセキュリティの基礎に関する研修用スライドを作成して」
  • 「このデータを基に四半期レビューのプレゼンテーションを作成して」

ドメイン知識

プレゼンテーションの構成
# Effective presentation structure
structure:
  - 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
コンテンツ生成パターン
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 の出力
def format_as_marp(slides):
    """Convert slides to Marp markdown."""
    
    marp = """---
marp: true
theme: gaia
paginate: true
---

"""
    
    for slide in slides:
        if slide['type'] == 'title':
            marp += f"""

# {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

例:技術講演を生成する

topic = "Introduction to Docker"
audience = "Developers new to containers"
slides = 10

# Generated presentation
presentation = """---
marp: true
theme: gaia
paginate: true
---



# Introduction to Docker

Containerization Made Simple

---

# Agenda

1. What is Docker?
2. Core Concepts
3. Getting Started
4. Best Practices
5. 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 image
docker pull nginx

# Run a container
docker run -p 8080:80 nginx

# List containers
docker ps

最初の Dockerfile

FROM node:18
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "start"]

ベストプラクティス

  • 公式のベースイメージを使用する
  • レイヤーを最小限にする
  • root として実行しない
  • .dockerignore を使用する
  • マルチステージビルドを使用する

まとめ

✅ Docker を使うとデプロイが簡単になります ✅ コンテナは軽量で高速です ✅ 簡単に始められます ✅ 業界標準です


ご質問はありますか?

参考資料:docs.docker.com """


## Best Practices

1. **Know Your Audience**: Tailor complexity and examples
2. **One Idea Per Slide**: Keep focused
3. **6x6 Rule**: Max 6 bullets, 6 words each
4. **Visual First**: Suggest images/diagrams
5. **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

コメント