Skip to content

indranilbanerjee/neels-plugins / hermes/digital-marketing-pro/social/skills/render-carousels

render-carousels

Verified

Render multi-slide carousels from HTML templates into platform-ready images or PDF. "build the carousel slides"

FileKindSize
SKILL.mdskill md2.7 KB
prerequisites-and-output.mdmarkdown2.1 KB

prerequisites-and-output.md

View on GitHub
# render-carousels — prerequisites and output files

> **Script location.** If your host does not set `${CLAUDE_PLUGIN_ROOT}`, the scripts are in this plugin's `scripts/` folder, next to `skills/`. Run them with Python 3.10 or newer: `python`, or `python3` where `python` is not found (macOS, many Linux systems).

Supplementary to `SKILL.md`. Read this when a render fails before the first slide, or the
user asks what files a render leaves behind. Everything below is read from
`scripts/render_carousel.py` and `scripts/install_deps.py`.

## Prerequisites

- A calendar parsed with the carousel posts identified (`calendar-data.json`, see
  `/socialforge:parse-calendar`).
- Playwright and its Chromium build installed. `/socialforge:setup` runs
  `scripts/install_deps.py`, which reports what is missing and prints the pinned commands; its
  `carousel` group is `playwright` plus `python -m playwright install chromium` (a large browser
  download), and it installs only when the user says yes (`--install`). If the import fails,
  `render_carousel.py` returns the same pointer: `python "${CLAUDE_PLUGIN_ROOT}/scripts/install_deps.py" --groups carousel`.
- Brand colors and fonts set in `brand-config.json`. Missing keys fall back to the
  renderer's built-in default palette and fonts rather than failing, so a half-configured
  brand renders in the wrong colors instead of erroring — confirm the first slide before
  approving the rest.
- A brand may override any template by placing a file with the same name under
  `brands/{brand}/carousel-templates/`; the override wins over the shipped template.

## What a render writes

In the directory passed as `--output-dir` (required; the post's folder in the normal pipeline):

| File | Notes |
|------|-------|
| `slide-01.png`, `slide-02.png`, ... | One PNG per slide at the viewport size (default 1080x1080). |
| `carousel.pdf` | All slides in order, for platforms that take a document upload. Built with Pillow. |

If PDF assembly fails, the PNGs are kept and the result reports `"pdf": null` — treat that
as "slides fine, PDF missing", not as a failed render.
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall