reimagine-it-generate — скилл для Claude Code: редизайн HTML
Читает HTML-страницу и перестраивает её в новом визуальном направлении — лендинг, инфографику, дашборд или одно из 17 других. Факты из исходника сохраняются, меняется только композиция.
npx skills add Kayforkind/reimagine-it --skill generate -a claude-codeЧто делает reimagine-it-generate
Движок разбирает заголовки, даты, числа, ссылки и цвета в исходном HTML, выводит палитру и мотив из содержимого, затем собирает новую страницу. Режим --auto сам выбирает направление, которое лучше подходит под контент, и печатает обоснование. Можно задать направление явно — infographic, landing, dashboard или любой из 17 токенов — либо сгенерировать несколько вариантов командой variations. Движок проверяет верность: в выходном файле должно быть ≥ 80% фактов из исходника.
Если у проекта есть фирменный стиль, команда lock сохраняет палитру и шрифты в .lock.json, затем --ref применяет их к новой странице. Команда audit проверяет результат перед публикацией. Факты, статистику и цитаты движок не выдумывает — только переставляет то, что уже было в HTML.
Какие задачи решает
- превратить черновую HTML-страницу в лендинг
- собрать инфографику из списка фактов
- перестроить страницу под новый формат без потери данных
- сохранить фирменный стиль при редизайне
- сгенерировать несколько вариантов дизайна из одного исходника
Примеры запросов агенту
- Возьми
draft.htmlи сделай из него лендинг в режиме--auto - Переделай
report.htmlв инфографику, командаnpx reimagine-it -i report.html -t infographic -o poster.html - Сгенерируй три варианта дизайна из
page.htmlв папкуreview/
Как установить reimagine-it-generate
1Через Skills CLI (Vercel)
npx skills add Kayforkind/reimagine-it --skill generate -a claude-code2Вручную: положить файлы
~/.claude/skills/generate/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/generate/
1Через Skills CLI (Vercel)
npx skills add Kayforkind/reimagine-it --skill generate -a codex2Вручную: положить файлы
.agents/skills/generate/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Kayforkind/reimagine-it --skill generate -a cursor2Вручную: положить файлы
.cursor/skills/generate/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Kayforkind/reimagine-it generate2Вручную: положить файлы
.github/skills/generate/SKILL.md1Через Skills CLI (Vercel)
npx skills add Kayforkind/reimagine-it --skill generate -a gemini-cli2Командой платформы
gemini skills install https://github.com/Kayforkind/reimagine-it --path skills/reimagine-it/generateВручную: положить файлы
.devin/skills/generate/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Kayforkind/reimagine-it --skill generate -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о reimagine-it-generate
Как установить reimagine-it-generate в Claude Code?
Выполни npx skills add Kayforkind/reimagine-it --skill generate -a claude-code, файл скилла появится в ~/.claude/skills/generate/SKILL.md.
Что делает reimagine-it-generate?
Читает HTML, извлекает факты, даты, числа и цвета, затем собирает новую страницу в одном из 17 визуальных направлений — от лендинга до дашборда. Содержимое остаётся, меняется композиция.
Как выбрать направление дизайна?
Запусти --auto, чтобы движок сам подобрал направление под контент, либо укажи токен явно: infographic, landing, dashboard, cinematic или любой из 17. Полный список выведет npx reimagine-it --list.
Исходный текст
SKILL.md · MIT
---
name: reimagine-it-generate
description: >-
Generate one Content-Derived Design direction from an HTML source, or let
Auto choose the strongest direction. Use when the user says /reimagine-it
generate, "redesign this page", "make it a landing page", "turn this into
an infographic", names a token (all 17: webpage, infographic, svg, 3js,
simulation, artistic, cinematic, dashboard, photography, landing, editorial,
gradient, showcase, motion, glass, lookbook, particles),
or wants a
content-aware redesign instead of a mood board. CLI: npx reimagine-it --auto
-i page.html -o out.html. Part of the reimagine-it Content-Derived Design suite.
license: MIT
metadata:
author: Kayforkind
version: "2.15.0"
parent: reimagine-it
hosts:
- claude-code
- cursor
- codex
- copilot
- gemini-cli
keywords:
- redesign
- landing-page
- infographic
- design-generation
- content-derived-design
- html
category: Design
capabilities:
- content-derived-redesign
- auto-direction-choice
- seeded-variation
- brand-locking
trigger_phrases:
- /reimagine-it
- redesign this page
- reimagine it
- make it a landing page
- turn this into an infographic
- generate a design from this HTML
---
# /reimagine-it generate
**Parent:** [../SKILL.md](../SKILL.md) — the full Content-Derived Design engine. This sub-skill handles only generation of a redesigned page.
The source file is the brief. The engine reads headings, facts, names, dates,
numbers, links, emails, and hex colors already in the HTML, derives a palette
and motif from them, and writes a stronger standalone page. Source facts are
not invented; only the composition changes.
## Usage
```bash
# Let Auto choose, generate, verify, and explain (recommended first call)
npx reimagine-it --auto -i page.html -o redesign.html
# Pick a direction
npx reimagine-it -i page.html -t infographic -o poster.html
# Pin a creative variation
npx reimagine-it -i page.html -t landing --seed 42 -o landing.html
# Review three verified directions plus a contrast sheet
npx reimagine-it variations -i page.html -n 3 -o review/
# Keep an existing brand: lock, then reuse
npx reimagine-it lock -i house-style.html -o house.lock.json
npx reimagine-it -i page.html --ref house.lock.json -t landing -o on-brand.html
```
## The 17 tokens
webpage · infographic · svg · 3js · simulation · artistic · cinematic ·
dashboard · photography · landing · editorial · gradient · showcase · motion ·
glass · lookbook (photoshoots/collections) · particles (living networks)
`npx reimagine-it --list` describes each. **Auto** scores every lane against
the content and forbids the same silhouette twice.
## Procedure
1. Run Auto first (`--auto`). Read the printed rationale — it names why the
direction fits the content.
2. Check the fidelity line: the engine reports the percentage of detected
source facts preserved. It must be ≥ 80%.
3. Offer `variations` when the user wants choice; offer `--ref` when they
want an existing brand honored.
4. If the user names a token, run it directly — Auto is a default, not a gate.
## Must not
- Invent facts, statistics, or quotes not in the source
- Override the derived palette with generic colors (ban Inter/Roboto is the
*only* taste rule; content decides the rest)
- Ship without the fidelity check passing
- Skip verification when the output replaces a real page (run `audit`)
Part of [reimagine-it](https://github.com/Kayforkind/reimagine-it) — MIT.
© Kayforkind · MIT · Kayforkind/reimagine-it