AlpacaLabsLLC/skills-for-architects / skills/slide-deck-generator
slide-deck-generator
VerifiedGenerate a self-contained HTML slide deck from a topic, outline, report, or data. Use for presentations and slide decks; not for editing PowerPoint files.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 4.5 KB |
| SKILL.md | skill md | 13.1 KB |
| host-contract.json | config | 1.3 KB |
| html-template.md | markdown | 15.0 KB |
| image-handling.md | markdown | 1.6 KB |
| sample.html | other | 28.9 KB |
| slide-types.md | markdown | 8.0 KB |
image-handling.md
View on GitHub# Image Handling
The deck must be self-contained — local images must be embedded as base64 data URIs, not referenced by file path. A file path `src` breaks as soon as the HTML is moved or shared.
## Encoding local images
Use the host's authorized file/image capabilities to read the provided local image, preserve its actual MIME type and encode its bytes as a base64 data URI. Do not reconstruct an installed executable from instructions. If the host cannot read or encode the file, retain an explicit missing-image state.
Then use the output as the `src` value:
```html
<img src="data:image/jpeg;base64,/9j/4AAQ..." alt="Description" />
```
## Using /as:resize-images output
If the user ran `/as:resize-images` before this skill, the `resized-slides/` folder contains images already sized for the slide canvas:
- `*-slides-wide.jpg` — 1920×1080 (16:9) — use for full-bleed and image-grid slides
- `*-slides-standard.jpg` — 1024×768 (4:3) — use only if the user asked for a 4:3 deck
Prefer `slides-wide` images. Embed them as base64 (see above) so the deck stays portable.
## When no local images are provided
Use `src=""` with a descriptive `alt` attribute as a placeholder. Note the placeholder in the output so the user knows which slides need images:
```html
<img src="" alt="[Insert: project exterior view]" />
```
## File size note
Base64-encoding large images increases HTML file size. If the user provides many high-res images, warn them: "Embedding N images will produce a large HTML file (~X MB). Consider running `/as:resize-images` first (choose the slides output when it asks which sizes you need) to reduce file size before embedding."
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |