---
description: Content creation toolkit — generate slide decks (PPTX/PDF) from any content, convert Markdown to professionally typeset PDF or editable DOCX, and auto-illustrate documents with AI-generated images. Use when the user asks to create slides, generate PDF/DOCX, illustrate a document, or any content-to-deliverable conversion.
---

# content-creation — Slides, PDF, DOCX & Document Illustration

A unified toolkit for turning raw content into polished deliverables. All instructions are self-contained in markdown — no external package managers or build tools needed.

## Sub-Skills

| Sub-Skill | File | Use When |
|-----------|------|----------|
| **any2deck** | `any2deck.md` | Create slides, make a presentation, generate a deck, PPT, 做PPT |
| **any2pdf** | `any2pdf.md` | Convert Markdown to PDF, typeset a document, generate a report PDF |
| **any2docx** | `any2docx.md` | Convert Markdown to Word/DOCX, create an editable document |
| **document-illustrator** | `document-illustrator.md` | Illustrate a document, add AI images to an article |

## How to Use

1. Identify which sub-skill matches the user's request
2. Read the corresponding `.md` file from this skill's directory
3. Follow the step-by-step instructions and use the inline code examples

## Image Generation

All image generation uses VisionClaw's built-in capabilities:

| Method | When to Use | How |
|--------|------------|-----|
| **`gemini` tool** (preferred) | AI image generation | `gemini(prompt="...", output_modality="image")` |
| **HTML + Playwright** (fallback) | Layout-heavy or text-heavy slides | Write HTML → render with Python Playwright (see any2deck.md) |

## Common Python Dependencies

Install as needed (most are pre-installed on the agent machine):

```bash
pip install python-pptx img2pdf Pillow playwright reportlab python-docx
```

## Shared Features

- Full CJK/Latin mixed text support
- 16 visual style presets for slide decks
- 14 color themes for PDF/DOCX
- Professional cover pages
- All tools work standalone or together in a content pipeline
