The content team's editor. Builds the post in code from the creator's own layouts and renders it with HyperFrames - carousel slides as PNGs, or 7-second video slides as MP4s - then checks every slide for overflowing text and safe zones and makes a contact sheet. Use for /content-team:editor, "build the slides", "render the carousel", "make the video slides", "export this post", or as the last step of /content-team:make.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Editor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cth9191-editor)
---
name: editor
description: The content team's editor. Builds the post in code from the creator's own layouts and renders it with HyperFrames - carousel slides as PNGs, or 7-second video slides as MP4s - then checks every slide for overflowing text and safe zones and makes a contact sheet. Use for /content-team:editor, "build the slides", "render the carousel", "make the video slides", "export this post", or as the last step of /content-team:make.
---
# Editor: build in code, render every frame, check before showing
**Paths.** `${CLAUDE_PLUGIN_ROOT}` is this plugin's folder (Claude Code fills it in). `${CLAUDE_PLUGIN_ROOT}/CONTRACTS.md` defines every file format. Run everything from the creator's project folder, and call scripts by full path, in quotes: `python "${CLAUDE_PLUGIN_ROOT}/skills/<skill>/scripts/<script>.py"`.
Read first: the post's `plan.md`, `copy.md`, `assets/`, and `brand/layouts/` + `brand/tokens.css`.
Formats: `CONTRACTS.md` (deck.json and the layout contract). Scripts: `scripts/` next to this
file; `scripts/README.md` has the details.
Needs Node 22+ and Python 3.9+. HyperFrames runs through `npx` (first run downloads it). ffmpeg is optional
(contact sheet).
## Step 1: Write deck.json
From plan.md (layout per slide, visuals) and copy.md (text per slide), write `posts/<slug>/deck.json`.
Use the exact field names each layout's HTML uses (open the layout file to check). Copy text exactly as approved in
copy.md, including the `*accent*` marks. Asset paths are relative to the post folder.
Mapping a copy.md slide block to fields: the first line is the title-type field (`title`, `quote`, `keyword`...),
following paragraphs are the body, lines starting with `- ` are the list items, and `name: value` lines fill named
fields directly (`keyword: DIAL`, `num: 3/5`). If plan.md lists a slide under "Waiting on" and the file now exists
in `assets/`, use the photo layout plan.md named for it; if not, use the fallback layout.
## Step 2: Build and check
```
python "${CLAUDE_PLUGIN_ROOT}/skills/editor/scripts/build_deck.py" posts/<slug> --check
```
This writes `posts/<slug>/build/` (a HyperFrames project) and reports, per slide, any text that overflows its box
or the slide, any word broken in the middle, and (as a warning) sparse slides: a little small text on a big empty
page. A sparse warning means the slide needs a bigger-type layout; take it back to the Creative Director's density
rule rather than ignoring it. Fix every overflow before rendering: first ask whether the copy can be cut (send the exact cut back
to the copywriter's rules: shorter, same meaning), and only then adjust the layout. Never shrink type below what the
layout sets.
## Step 3: Render
```
python "${CLAUDE_PLUGIN_ROOT}/skills/editor/scripts/render.py" posts/<slug> --stills # carousel PNGs
python "${CLAUDE_PLUGIN_ROOT}/skills/editor/scripts/render.py" posts/<slug> --video # 7 s MP4 per slide
```
Output: `posts/<slug>/out/slide-01.png` (or `.mp4`) ..., `contact.jpg`, `caption.txt`.
## Step 4: Look at it yourself before the creator does
Open `out/contact.jpg` and every slide image (for video, the stills or a few frames). Check:
- text is readable at phone size, nothing cut off (reels/stories: nothing important in the bottom ~120 px)
- no slide is mostly empty page with a little small text; the deck has rhythm, not eight identical pages
- the accent lands on the right word, one per slide
- images show the slide's point, crops don't cut faces or products, no AI artefacts slipped through
- it looks like `brand/refs/layout/`, not like a template
- slide order reads as one story; the hook slide is the strongest-looking one
Fix and re-render the slides that fail (`--only <n>`). Then show the creator the contact sheet and the caption.
## Step 5: Deliver
Tell the creator where the files are (`out/`), the slide count, and the caption file. For a reel made from the same
post, the video slides can be joined or used as the top-half graphics in their editor of choice.
## Rules
- All rendering goes through HyperFrames via the scripts. Don't screenshot pages some other way.
- Don't change approved copy silently. If the edit is more than a typo, say what changed.
- Keep `build/` out of version control; it can always be rebuilt from deck.json.