after-hours-editorial-template

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

After Hours Editorial Template

After Hours 编辑模板

Produce a self-contained HTML editorial motion artifact in a dark luxury style, with three short pages, cinematic typography, and premium transition language.
生成一个独立的暗黑奢华风格HTML编辑动效制品,包含三个短页面、电影级排版与高端转场效果。

Resource map

资源地图

text
after-hours-editorial-template/
├── SKILL.md
├── assets/
│   └── template.html
├── references/
│   └── checklist.md
└── example.html
text
after-hours-editorial-template/
├── SKILL.md
├── assets/
│   └── template.html
├── references/
│   └── checklist.md
└── example.html

Workflow

工作流程

  1. Read active
    DESIGN.md
    and map colors, typography tone, and layout rhythm into CSS variables while preserving a dark editorial baseline.
  2. Copy
    assets/template.html
    to
    index.html
    .
  3. Keep three narrative pages in sequence; do not increase default page dwell above 3 seconds.
  4. Preserve premium motion behavior:
    • staged text reveal hierarchy
    • chapter wipe transitions
    • ambient grain/vignette depth
    • restrained cursor-light interaction for local preview
  5. Keep output single-file HTML with inline CSS and JS.
  6. Avoid sandbox-hostile browser APIs (e.g. localStorage and confirm).
  7. Validate with
    references/checklist.md
    before emitting.
  1. 读取当前的
    DESIGN.md
    ,将色彩、排版基调与布局节奏映射为CSS变量,同时保留暗黑编辑风格的基础样式。
  2. assets/template.html
    复制为
    index.html
  3. 保留三个叙事页面的顺序,默认页面停留时间不超过3秒。
  4. 保留高端动效表现:
    • 分阶段的文本展示层级
    • 章节擦除转场
    • 环境颗粒/暗角深度效果
    • 本地预览时的受限光标高亮交互
  5. 输出为包含内联CSS和JS的单文件HTML。
  6. 避免使用沙箱不兼容的浏览器API(如localStorage和confirm)。
  7. 输出前使用
    references/checklist.md
    进行验证。

Output contract

输出约定

One short orientation sentence, then:
xml
<artifact identifier="after-hours-editorial" type="text/html" title="After Hours Editorial Template">
<!doctype html>
<html>...</html>
</artifact>
先写一句简短的说明语,然后输出:
xml
<artifact identifier="after-hours-editorial" type="text/html" title="After Hours Editorial Template">
<!doctype html>
<html>...</html>
</artifact>