Communitygithub.com

jhy0285/monofield

单页SaaS落地页,包含Hero、功能、社交证明、定价和行动号召。遵循当前DESIGN.md的颜色/排版/布局标记。

monofield 是什么?

该技能用于生成一个完全自包含的单页SaaS落地页的HTML文件。代理(Agent)必须严格按照工作流程操作:首先读取当前工作目录中的`DESIGN.md`文件,提取颜色调色板、排版标记和布局原则;然后按照Hero、功能、社交证明、定价、底部行动号召和页脚的顺序规划页面区域;接着应用设计系统,确保所有颜色来自`DESIGN.md`的标记,且强调色最多使用两次。最终输出一个内联所有CSS的`index.html`,使用语义化HTML,并对每个可编辑元素添加`data-od-id`属性,以支持宿主应用的评论模式。该技能适用于Cursor、Codex等支持自定义技能的AI代码助手,帮助用户快速创建符合品牌规范的SaaS营销页面。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jhy0285/monofield/tree/HEAD/docs/examples/saas-landing-skill

在你喜欢的 AI 中提问

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

文档

SaaS 落地页技能

生成一个单页SaaS落地页。Agent,请严格按照以下工作流执行。

1. 读取上下文

在写任何代码之前:

  • 读取当前工作目录下的 DESIGN.md。如果文件缺失,请停止并询问创建。
  • 识别其中的颜色调色板、排版标记和布局原则。
  • 注意“Agent 提示指南”部分——如果与本指令冲突,以该指南为准。

2. 规划区域

以下区域必须按顺序包含:

  1. Hero — Logo或文字标志、标题(标语输入)、副标题(1-2句话)、主要行动号召按钮、次要行动号召按钮。使用 hero_density 参数作为垂直内边距(单位px)。
  2. 功能 — 3-6个功能卡片。每个卡片包含:图标、简短标题、1-2句描述。
  3. 社交证明 — proof_count 个Logo或用户评价。如果为0,则跳过该区域。
  4. 定价 — 2-3个套餐。仅当 has_pricing 为 true 时包含。
  5. 底部行动号召 — 大面积强调色横幅,包含一个按钮的行动号召。
  6. 页脚 — 最小化:链接 + 版权信息。

3. 应用设计系统

  • 所有颜色必须来自 DESIGN.md 的标记。不要自行创建十六进制值。
  • 排版:标题使用声明的显示字体,其他内容使用正文字体。
  • 布局:遵循网格、最大宽度和区域间距规则。
  • 组件:使用声明的按钮/卡片/输入模式。如果 DESIGN.md 的深度与投影部分说明为最小化,则不要添加阴影。
  • 强调色:仅在Hero中一次、底部行动号召中一次、以及所有链接中使用。不要过度使用。

4. 编写文件

输出一个完全自包含的 index.html,要求:

  • 所有CSS内联在 <head> 的 <style> 块中。
  • 如果 DESIGN.md 的字体无法从Google Fonts等加载,提供系统字体回退。
  • 无外部JavaScript。
  • 使用语义化HTML(<header>、<main>、<section>、<footer>)。
  • 每个可编辑元素添加 data-od-id="<唯一标识>" 属性,以便宿主应用的评论模式能够定位。

5. 自检

在完成前,请确认:

  • 所有文本具有实际含义,不是Lorem Ipsum(使用产品名称和标语输入;其他部分生成合理具体的文案)。
  • 没有错误的颜色引用(每个CSS颜色值要么在 DESIGN.md 的调色板中,要么是有效的alpha/回退变体)。
  • 响应式断点与 DESIGN.md 的响应式行为部分一致。
  • 页面在1440w、768w和375w宽度下显示良好(在脑海中模拟)。
  • 强调色总共使用不超过两次。

6. 完成

只生成 index.html。不要生成单独的CSS文件、JS文件或README。


对于将此作为参考阅读的技能作者

这是一个最小但完整的技能。结构如下:

saas-landing-skill/
├── SKILL.md    ← 您当前所在位置
└── assets/
    └── base.html    (可选的起始模板;本技能未使用)

值得注意的事项:

  • od: 前置元数据块对于仅兼容Claude-Code是可选的,但添加它可以启用OD的输入类型、滑块、预览元数据和能力门控。
  • 前置元数据下方的工作流是纯Markdown,代理会将其作为系统提示。
  • DESIGN.md 被视为协作者,而非覆盖指令。当需求冲突时,本技能允许代理覆盖,但绝不可自行创建新的标记。
  • data-od-id 标记是我们将元素连接到评论模式的方式。需要评论模式兼容性的技能必须对输出进行注释。

有关完整协议,请参见 ../../skills-protocol.md。

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 single-file slide deck in the Atelier Zero visual language (warm-paper background, italic-serif emphasis spans, coral terminating dots, surreal collage plates) — Open Design's brand deck recipe. The deck uses **horizontal magazine-style swipe pagination** (←/→, wheel, swipe), a per-slide chrome strip with brand mark and slide counter, an ESC overview grid, a coral progress bar, and inherits the canonical stylesheet + 16-slot image library from the sister `open-design-landing` skill.

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

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.

相关技能