AgentSkillsCN

powerpoint-automation

从各类来源(如网络文章、博客帖子以及现有的 PPTX 文件)中,快速创建专业的 PowerPoint 演示文稿。特别适合用于技术演示、报告撰写与文档制作。

SKILL.md
--- frontmatter
name: powerpoint-automation
description: Create professional PowerPoint presentations from various sources including web articles, blog posts, and existing PPTX files. Ideal for tech presentations, reports, and documentation.
license: Complete terms in LICENSE.txt
metadata:
  author: yamapan (https://github.com/aktsmm)

PowerPoint Automation

AI-powered PPTX generation using Orchestrator-Workers pattern.

When to Use

  • Convert web articles/blog posts to presentations
  • Translate English PPTX to Japanese
  • Create presentations using custom templates
  • Generate technical presentations with code blocks

Quick Start

From Web Article:

code
Create a 15-slide presentation from: https://zenn.dev/example/article

From Existing PPTX:

code
Translate this presentation to Japanese: input/presentation.pptx

Workflow

code
TRIAGE → PLAN → PREPARE_TEMPLATE → EXTRACT → TRANSLATE → BUILD → REVIEW → DONE
PhaseScript/AgentDescription
EXTRACTextract_images.pyContent → content.json
BUILDcreate_from_template.pyGenerate PPTX
REVIEWPPTX ReviewerQuality check

Key Scripts

references/SCRIPTS.md for complete reference

ScriptPurpose
create_from_template.pyGenerate PPTX from content.json (main)
reconstruct_analyzer.pyConvert PPTX → content.json
extract_images.pyExtract images from PPTX/web
validate_content.pyValidate content.json schema
validate_pptx.pyDetect text overflow

content.json (IR)

All agents communicate via this intermediate format:

json
{
  "slides": [
    { "type": "title", "title": "Title", "subtitle": "Sub" },
    { "type": "content", "title": "Topic", "items": ["Point 1"] }
  ]
}

references/schemas/content.schema.json

Templates

TemplatePurposeLayouts
assets/base_template.pptxFull-featured (English)11 layouts
assets/template.pptxLegacy (Japanese names)4 layouts

Agents

references/agents/ for definitions

AgentPurpose
OrchestratorPipeline coordination
LocalizerTranslation (EN ↔ JA)
PPTX ReviewerFinal quality check

Design Principles

  • SSOT: content.json is canonical
  • SRP: Each agent/script has one purpose
  • Fail Fast: Max 3 retries per phase
  • Human in Loop: User confirms at PLAN phase

References

FileContent
SCRIPTS.mdScript documentation
USE_CASES.mdWorkflow examples
agents/Agent definitions
schemas/JSON schemas