217 Kayforkind

reimagine-it-generate Skill

>- 从 HTML 源文件生成一个内容驱动设计方向,或让 Auto 选择最强方向。当用户说 /reimagine-it generate、“重新设计这个页面”、“做成落地页”、“改成信息图”,或指定某个 token(共 17 个:webpage、infographic、svg、3js、simulation、artistic、cinematic、dashboard、photography、landing、editorial、gradient、showcase、motion、glass、lookbook、particles),或想要内容感知的重设计而非情绪板时使用。CLI:npx reimagine-it --auto -i page.html -o out.html。reimagine-it 内容驱动设计套件的一部分。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

/reimagine-it generate

Parent: ../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

# 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.

  1. Check the fidelity line: the engine reports the percentage of detected

source facts preserved. It must be ≥ 80%.

  1. Offer variations when the user wants choice; offer --ref when they

want an existing brand honored.

  1. 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 — MIT.