Communitygithub.com

jhy0285/monofield

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

monofield 是什么?

基于 SKILL.md 的详细指令,该技能自动生成一个单页面 SaaS 落地页。它首先要求读取项目根目录下的 `DESIGN.md` 文件,从中提取颜色、排版和布局标记(token),并严格使用这些标记来构建页面,避免发明新的十六进制颜色值。页面按序包含 6 个预定义部分:Hero 区(含 logo、标题、副标题、主副按钮)、Features 区(3-6 个功能块)、社交证明区(根据 `proof_count` 参数决定是否显示)、定价区(只有当 `has_pricing` 为 true 时才显示)、页脚行动号召区(大面积强调色块)以及页脚(链接与版权)。输出是一个完整的、自包含的 `index.html` 文件,所有 CSS 内联在 `<style>` 中,无外部 JS,使用语义化 HTML 标签,并为每个可编辑元素添加 `data-od-id` 属性以实现与宿主应用的评论模式集成。最后,技能要求进行自检,确保所有文本有意义而非 lorem ipsum,颜色引用无断裂,响应式断点至少覆盖 1440w、768w和375w,且强调色最多使用两次。该技能主要面向 Claude Code、Cursor 等支持 SKILL.md 引导的 AI 编码代理,帮助开发者和产品经理快速生成统一设计语言下的 SaaS 营销页面。

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

在你喜欢的 AI 中提问

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

文档

SaaS 着陆页技能

生成一个单页 SaaS 着陆页。代理,请严格按照以下工作流程执行。

1. 阅读上下文

在开始撰写前:

  • 读取当前工作目录中的 DESIGN.md 文件。如果文件不存在,停止并请求提供。
  • 识别颜色调色板、排版标记和布局原则。
  • 注意“代理提示指南”部分——该指南与本处任何指令冲突时,以指南为准。

2. 规划版块

必需的版块(按顺序):

  1. 英雄区 — 徽标或文字标志、标题(标语输入)、副标题(1–2 句话)、主要行动号召、次要行动号召。使用 hero_density 参数作为垂直内边距(单位为 px)。
  2. 特性区 — 3–6 个特性卡片。每个卡片包括:图标、简短标题、1–2 句话描述。
  3. 社会证明 — proof_count 个徽标或推荐语。如果为 0,则跳过此版块。
  4. 定价区 — 2–3 个层级。仅在 has_pricing 为 true 时包含。
  5. 底部行动号召 — 大面积强调色带,带有单按钮行动号召。
  6. 页脚 — 最小化设计:链接 + 版权信息。

3. 应用设计系统

  • 所有颜色必须来自 DESIGN.md 中的标记。不得自行发明十六进制值。
  • 排版:标题使用声明的展示字体,其余内容使用正文字体。
  • 布局:遵循网格、最大宽度和版块间距规则。
  • 组件:使用声明的按钮/卡片/输入模式。如果 DESIGN.md 的“深度与高度”部分指示最小化,则不要添加阴影。
  • 强调色:在英雄区使用一次,在底部行动号召区使用一次,并用于所有链接。不要在页面中过度使用。

4. 编写文件

输出一个独立的 index.html 文件,要求:

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

5. 自检

完成前,请确认:

  • 所有文本内容有意义,而非占位符(使用 product_name 和 tagline 输入;其余部分生成合理的具体内容)。
  • 没有错误的颜色引用(每个 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 被视为协作者,而非覆盖项。当需求冲突时,技能授予代理覆盖 DESIGN.md 的权限,但不得自行发明新的标记。
  • data-od-id 标记是我们将元素连接到评论模式的方式。希望获得评论模式兼容性的技能必须对其输出进行标注。

请参阅 ../../docs/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

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.

相关技能