Skip to content
Back to skills

Editor

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentspythongonode

Works with

  • claude code

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add cth9191/content-team --skill editor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Editor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Editor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cth9191-editor/badge)](https://www.skillsdirectory.com/skills/cth9191-editor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md4.2 KB
  • scripts/README.md4.9 KB
  • scripts/build_deck.py35.5 KB
  • scripts/overflow_check.mjs16.2 KB
  • scripts/preview.py15.2 KB
  • scripts/render.py9.9 KB
  • starter/example-post/assets/02-chart.svg69.5 KB
  • starter/example-post/assets/06-swipe-file.svg78.1 KB
  • starter/example-post/copy.md3.1 KB
  • starter/example-post/deck.json2.6 KB
  • starter/example-post/out/caption.txt433 B
  • starter/example-post/out/slide-03.png97 KB
  • starter/example-post/out/slide-05.png83.4 KB
  • starter/example-post/out/slide-07.png65.2 KB
  • starter/fonts/InstrumentSans-Variable.woff229.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.