Creating Hero Images
БесплатноБез исполняемых скриптовНе проверенCreate hero images, og:images or slides for www.aem.live pages (docs, blog, developer guides) in the AEM Live "Backgrounds Megadeck" art style. Everything is…
от adobe★ 45 звёзд на GitHubОб этом скилле
Creating Hero Images
Overview
tools/slides/ is a slide factory. Slides are single HTML files built from custom elements:
- backgrounds, grids and checker patterns
- app-icon tiles, corner badges and cards
- shapes and icons
All of them reproduce the art style of the AEM Live Backgrounds Megadeck. scripts/export.mjs
renders a slide with playwright-cli and writes a 4:3 PNG. The aem.live docs heroes are 4:3 as well.
The full rules, style guide and component reference are in tools/slides/AGENTS.md.
Read it before writing a slide.
When to Use This Skill
- "Make a hero image for https://www.aem.live/developer/…"
- "We need an og:image / header graphic / illustration for this blog post"
- "Make a slide that explains X in the AEM Live style"
Requirements
- Node ≥ 20
playwright-clion PATH, orPLAYWRIGHT_CLI=/path/to/playwright-cli
Workflow
Understand the page. Fetch the content:
curl -s https://www.aem.live/<path>.plain.html. Note the one idea a reader should take away.Pick a concept. The deck's grammar is one centred hero object with plenty of background around it, plus a round badge on its corner. Map the page's idea onto that:
- Thing + modifier. A tile with a glyph (lock, gear, webhook, …) and a badge or emoji
that adds the twist. Examples:
reference/p013-lock-pencil.html,p017-night-lock-globe.html. - A → B flow. Two tiles joined by a wedge. Example:
reference/p027-html-json.html. - Concrete artifact. A card with a real code or JSON snippet, a logo or a wordmark.
Examples:
p066-fastly.html,slides/webhook-c-payload.html. - Big word or number. Examples:
p036-unsupported.html,p054-bubbles.html,p055-dns.html.
Unless asked for one, make three variants that differ in concept and background. Pick the closest reference slide for each.
- Thing + modifier. A tile with a glyph (lock, gear, webhook, …) and a badge or emoji
that adds the twist. Examples:
Write the slides. From
tools/slides/:cp slides/_template.html slides/<topic>-a-<idea>.html- Use only components, tokens and icons from
lib/. The icon list is atcatalog.html. - If an icon is missing, draw it in
lib/icons-custom.jsin the same chunky flat style. MIT/Apache-licensed geometry is fine with attribution in a comment. - No raster images, ever. That includes
<img>,<canvas>, SVG<image>,.png/.jpgURLs anddata:image/png.
- Use only components, tokens and icons from
Lint and export.
node scripts/lint.mjs node scripts/export.mjs <topic> # → exports/<topic>-*.png, 2048×1536 node scripts/export.mjs --scale 4 <topic> # 4096×3072 if neededEvery line must read
✓ name.png 2048×1536. A✗or!line means it failed.Look at every PNG. Check that:
- nothing is clipped
- badges sit on corners
- text fits and is legible when scaled down to 750px wide
- there are no red unknown-icon boxes
- it looks like it belongs next to the reference slide
Deliver. Give the user the PNG paths, or a served preview:
- Run
node scripts/serve.mjsand open/slides/<name>.html?preview. - PNGs are content: the author uploads the chosen one to the page.
- Do not commit PNGs. Commit the slide HTML (and any new icons or components) so the image can be regenerated.
- Run
Before opening a PR, run the repo's
npm run lint.tools/slides/lib/*.jsis linted with the rest of the site.
Tips
- One idea per image. If you need a caption to explain it, the concept is too complicated.
- Recreations of pages from the original deck are named after the deck page (
reference/pNNN-*). Copy their positions and sizes rather than eyeballing new ones. - Text on heroes is rare. If you need it, put it on an
<aem-card>or use.aem-text(see AGENTS.md → Text).
Установить Creating Hero Images в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Creating Hero Images?
Create hero images, og:images or slides for www.aem.live pages (docs, blog, developer guides) in the AEM Live "Backgrounds Megadeck" art style. Everything is code (HTML/CSS/SVG, no raster) in tools/slides, exported to PNG with playwright-cli. Use this skill whenever someone asks for a hero image, header illustration, meta image, slide or visual for an aem.live page.
Как установить скилл Creating Hero Images?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Creating Hero Images запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic