Communitygithub.com

jhy0285/monofield

以 Atelier Zero 视觉语言(暖纸背景、斜体衬线强调、珊瑚色终止点、超现实拼贴图)生成单文件幻灯片,采用水平杂志式翻页交互,是 Open Design 品牌演示的专属技能。

monofield 是什么?

这是一个面向开发者与设计师的 AI Agent 技能,用于在单一 HTML 文件中生成一套水平卷轴式幻灯片,而非传统的纵向滚动页面。该技能完全复用姐妹技能 open-design-landing 的视觉系统(Atelier Zero:暖纸纹理、Inter Tight 与 Playfair Display 字体、斜体衬线强调、珊瑚色点装饰)以及 16 槽位图片库,因此无需重复管理资源。导航交互借鉴了 guizang-ppt 的“杂志翻页”模式:支持 ←/→ 键盘、滚轮/触控滑动、ESC 概览网格快速跳转,并配有每张幻灯片的品牌栏、页码计数器、底部珊瑚进度条和点状指示器。用户只需编辑 inputs.json 定义幻灯片类型(封面、章节、内容、数据、引用、行动号召、结束),运行 compose.ts 脚本即可编译出自包含的 HTML 文件。该技能强调视觉一致性、简洁的无路由单文件架构,并严格限制内容适应单视口(不宜溢出),适合制作品牌演示、提案、作品集等不需要多页路由的精致独角兽演示。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jhy0285/monofield/tree/HEAD/design-templates/open-design-landing-deck

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

open-design-landing-deck

与 open-design-landing 同源的姐妹技能。采用相同的 Atelier Zero 视觉系统(暖纸背景、Inter Tight + Playfair Display 字体、斜体衬线强调、珊瑚色终止点),但以水平杂志式翻页幻灯片形式呈现,而非纵向长滚动页面。

导航模型有意借鉴 guizang-ppt 技能——通过 ←/→ 箭头键、滚轮 / 触控滑动、以及 ESC 概览网格进行操作——使其更像是逐页翻阅纸质杂志,而非滚动浏览网页幻灯片。

inputs.json + ../open-design-landing/styles.css
        │
        └──────────► scripts/compose.ts
                            │
                            ▼
                   <out>/index.html
                   (每张幻灯片一个视口,水平翻页)

您将获得

  • 单个自包含的 HTML 文件,内含 N 个视口大小的幻灯片,在一个变形后的弹性轨道上水平排列。
  • 键盘导航:←/→ · ↑/↓ · PageUp/PageDown · Space · Home/End。
  • 滚轮 + 触控滑动(带有动量保护,防止单次触控板滑动过度翻页)。
  • 每张幻灯片的栏目条:品牌标识、演示标题、位置、罗马数字年份、实时幻灯片计数器(如 01 / 11)。
  • 底部珊瑚色进度条,随着翻页填充。
  • 底部附近的点状指示器,点击任意圆点即可跳转。
  • ESC 概览网格——显示所有幻灯片的缩略图,点击即可跳转。与 guizang-ppt 的概览体验一致。
  • 复用姐妹技能的相同 16 槽位图片库——无需重复资源。

幻灯片类型

类型用途
cover开始的标题页。两栏文案 + 拼贴艺术。
section章节间的罗马数字分隔页。居中、全出血。
content眉题 + 标题 + 正文 + 列表 + 可选拼贴艺术。
stats最多 4 个大号数据单元格(数值 · 标签 · 子标签)。
quote引用 + 作者。右侧可选肖像拼贴图。
cta结尾提案 + 1-2 个按钮。
end巨型斜体衬线收尾词 + 签名页脚。

一个典型的 11 页演示:

1. cover     — 标题页,英雄拼贴图
2. section   — “I. 问题”
3. content   — 关于 / 宣言,列表
4. content   — 能力,列表
5. stats     — 4 个数字
6. section   — “II. 感受”
7. content   — 方法,列表
8. content   — 精选作品
9. quote     — 客户推荐
10. cta      — 主要 + 次要行动
11. end      — 巨型收尾词 + 签名

工作流程

1. 编写 inputs.json

从 inputs.example.json 开始(即 Open Design 演示文稿)。品牌块、图片策略和资源路径与姐妹技能保持一致——如果您已经填写过 open-design-landing 的简要,请直接复制 brand 和 imagery。

对于每张幻灯片,选择一个 kind 并根据 schema.ts 中的类型字段进行填写。MixedText(无衬线基准文本 + 斜体衬线强调片段 + 珊瑚色终止点)与姐妹技能使用的编码相同——请参见其 inputs.example.json。

2. (可选)生成或模拟图片

本技能不包含自己的图片生成器或占位符脚本——它复用 open-design-landing 的 16 槽位图库。若要重新生成或创建占位符:

# 使用 gpt-image-2 (fal.ai) 生成
FAL_KEY=... npx tsx ../open-design-landing/scripts/imagegen.ts ../open-design-landing/inputs.example.json --out=../open-design-landing/assets/

# 或创建纸质纹理 SVG 占位符
npx tsx ../open-design-landing/scripts/placeholder.ts ../open-design-landing/assets/

设置您的演示文稿的 inputs.imagery.assets_path 指向这些 PNG 所在的位置(示例中默认为 ../open-design-landing/assets/)。

3. 编译幻灯片

npx tsx scripts/compose.ts inputs.json out/index.html

编译器读取 inputs.json,从 ../open-design-landing/styles.css 加载规范的 Atelier Zero 样式表,在其上叠加幻灯片特有的规则(水平弹性轨道、幻灯片布局、HUD、点导航、ESC 概览、键盘/滚轮/触摸处理器),并生成一个自包含的 HTML 文件。

4. 自检清单

  • 在新浏览器标签页中打开 HTML;第 1 张幻灯片(封面)应显示,右上角的栏目条中显示 01 / N。
  • 按下 →(或 Space,或向下滚动)。平滑向右移动一个视口;点导航前进;珊瑚色进度条向前递进。
  • 按下 End。跳转到最后一张幻灯片。
  • 按下 Home。返回第 1 张幻灯片。
  • 按下 Esc。概览网格出现,显示缩略图;点击任意缩略图即可跳转并关闭概览。
  • 将窗口尺寸调整为 1080px 和 640px。封面/内容幻灯片折叠为单列;点导航仍可工作;栏目条缩小。
  • prefers-reduced-motion: reduce(DevTools → Rendering):页面过渡保持轻快,不会引起晕动。
  • Lighthouse:对比度 AA、font-display swap、无布局偏移。

边界限制

  • 复用姐妹技能的样式表。 编译器在编译时读取 ../open-design-landing/styles.css。请勿在此处维护重复副本;如果 Atelier Zero 标记更新,请在姐妹技能中一次性修改。
  • 复用姐妹技能的图片库。 无需重新提示或重新渲染——相同的 16 张图版同样适用于两种媒介。
  • 保持幻灯片为单视口。 如果幻灯片内容在 1280×800 下超出 100vh × 100vw,则会溢出并显得拥挤。请精简文案或拆分为两张幻灯片。
  • 不要切换为纵向滚动对齐。 水平翻页姿势是本技能体现杂志式展开的关键;纵向滚动只会变成冗长的着陆页。
  • 不要添加路由。 这是单文件制品。多页面幻灯片超出范围;如需多组演示体验,请分别渲染每组幻灯片并从父索引链接它们。

参见

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

jhy0285/monofield

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

jhy0285/monofield

Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Open Design uses for its own marketing surface. The agent fills a typed `inputs.json` from a brand brief, optionally generates 16 collage assets via gpt-image-2, then runs a pure-function composer that emits a self-contained HTML file; a separate path can mirror the Astro marketing site in `apps/landing-page/`. Drop-in scroll-reveal motion and a Headroom-style sticky nav are wired automatically.

jhy0285/monofield

A standalone pricing page — header, plan tiers, feature comparison table, and an FAQ. Use when the brief asks for "pricing", "plans", "subscription tiers", or a "compare plans" page.

jhy0285/monofield

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

jhy0285/monofield

Minimal pre-launch landing with email capture, brand logo, and optional decorative layer. Reads DESIGN.md for colors, typography, and layout rules. Best for: product launches, beta signups, early access programs, indie projects.

jhy0285/monofield

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

jhy0285/monofield

Use this plugin when the user wants a premium, GSAP-driven cinematic B2B landing page: a scroll-driven full-screen video slider hero with clip-path ellipse transitions, SplitText char-reveal headlines, a masonry product gallery, scroll-reveal about text, a partner marquee, Lottie-style feature cards, and a multi-office footer. Invoke for 'cinematic landing page', 'video hero landing', 'bakery / food-service landing', 'GSAP scroll site', or when the user references the Cinematic Landing Page template.

jhy0285/monofield

Use this plugin when the user wants a single-page immersive parallax landing page with a scroll-driven portal/curtain entrance and a curved arc card slider — a 'dreamcore' / 'reverie' hero that scales a portal image toward the viewer as the user scrolls into a second dream-world scene. Invoke for 'parallax landing', 'scroll cinematic hero', 'portal zoom landing', 'arc card slider', or when the user references the Dreamcore Landing template.

jhy0285/monofield

Use this plugin when the user wants a dark, pure-monochrome newsletter / content-platform landing page (Mindloop): fullscreen video hero, Instrument-Serif italic accent words, liquid-glass controls, scroll-driven word-by-word mission reveal, and an HLS-video CTA. Invoke for 'Mindloop landing', 'black monochrome newsletter landing page', 'video hero content platform', or when the user references the Mindloop template.

jhy0285/monofield

Programmatic video creation with React. Useful for branded explainers, social cuts, dashboards-to-video, and reproducible motion graphics.

相关技能