Communitygithub.com

jhy0285/monofield

Atelier Zero デザインシステムを採用した、ワールドクラスのシングルページ編集系ランディングサイトを生成します。ブランドブリーフから型付けされた `inputs.json` をエージェントが作成し、オプションで gpt-image-2 による16枚のコラージュ画像を生成、純粋関数コンポーザーが自己完結型の HTML ファイルを出力します。

monofield とは?

このスキルは、Open Design が自社マーケティングで使用するのと同じ、Atelier Zero デザインシステム(Monocle / Apartamento / Études のエディトリアルコラージュ美学)に基づいた、ワールドクラスのシングルページエディトリアルランディングサイトを構築するためのエージェント向けレシピです。 エージェントはユーザーとの対話を通じてブランド情報を収集し、厳密に型付けされた `inputs.json` を生成します。その後、画像戦略(プレースホルダー、gpt-image-2 による生成、ユーザー提供の3つから選択)を決定し、TypeScript コンポーザー(`scripts/compose.ts`)を実行して、スタイル、スクロールリビールアニメーション、Headroom スタイルの固定ナビゲーション、GitHub スターカウントなどをすべてインライン化した単一の自己完結型 HTML ファイルを出力します。 別のオプションとして、`apps/landing-page/` にある Astro マーケティングサイトをミラーリングするためのフォーク&編集パスも用意されており、本番環境へのデプロイが容易です。このスキルは、エージェントが段階的に実行する明確な4ステップのワークフロー(ブランド入力収集、画像戦略決定、アーティファクト生成、任意の Astro サイトミラーリング)を定義しており、人間による確認のための詳細なチェックリストも完備しています。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/jhy0285/monofield/tree/HEAD/design-templates/open-design-landing

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

プレビュー

スキル README より

monofield preview

ドキュメント

open-design-landing

Atelier Zero デザインシステム(暖色紙背景、Inter Tight + Playfair Display、斜体セリフ強調スパン、点線ヘアライン、コーラル終端ドット、スクロールリビールモーション、16枚のシュールなコラージュプレート)を用いて、シングルページエディトリアルランディングサイト(またはスライドデッキ。兄弟スキル open-design-landing-deck を参照)を構築します。

これは Open Design のマーケティングページレシピの標準版です。出力例は、実際に open-design で表示されるページそのものです。

このスキルは完全にパラメータ化されています。エージェントはユーザーのブリーフから型付けされた1つの inputs.json を生成し、コンポーザーがその JSON と標準の styles.css をデプロイ可能なアーティファクトに変換します。

inputs.json + styles.css                       16 画像スロット
        │                                            │
        └──────────► scripts/compose.ts ◄────────────┘
                            │
                            ▼
              <out>/index.html  (自己完結型)
              <out>/assets/      (PNG または SVG)

得られるもの

以下のすべてを含む単一の HTML ファイル:

  • エディトリアルトップバー(巻数 / 号 / 言語ストリップ)、ライブ GitHub スターカウント付き Headroom スタイル固定ナビ。
  • 紙テクスチャ背景の8つのローマ数字セクション: ヒーロー(3つの統計リング + 4ステップインデックス)、アバウト、ケイパビリティ(4カード)、ラボ(5カード + フィルターピル + プログレスバー)、メソッド(サムネイル付き4ステップ)、厳選作品(ダークスラブ + 2傾斜カード)、 testimonial(プルクォート + 5パートナーグリフ)、CTA(リボン + メールピル)。
  • 4つのリンクカラムと大きな斜体セリフキッカーワードを持つフッター。
  • すべてのセクションにスクロールリビールモーション(IntersectionObserver、prefers-reduced-motion 尊重)。
  • 1280 / 1080 / 880 / 560 のブレークポイントで完全レスポンシブ。

ワークフロー契約

以下の4ステップを順番に実行します。エージェントは各ステップを完了してから次に進み、コピーを創作するよりもユーザーに焦点を絞った質問をすることを優先します。

1. ブランド入力の収集

AskQuestion(または UI の同等の機能)を使用して、ブランドブリーフをチャンク単位で収集します。schema.ts 全体をユーザーにダンプしないでください。回答を型付きの inputs.json にマッピングします。

8つの質問グループ(順番通り):

グループスキーマフィールド最小回答数備考
1brand.{name,mark,tagline,description,location}5Mark = 単一グリフ (Ø, ▲, ★…)
2brand.{license,version,year,primary_url,contact_email}4URL 必須; ライセンスは Apache-2.0 がデフォルト
3nav[] (最大5)3オプションのカウントバッジ
4hero.{label,headline,lead,primary,secondary,stats}すべてヘッドラインは MixedText(サンセリフ+斜体+ドット)
5about + capabilities.cards[4]すべて4カード × {num,tag,title,body}
6labs.cards[5] + method.steps[4]すべて両グリッドは固定アリティ
7work.cards[2] + testimonialすべて5パートナーグリフ(インライン SVG パスデータ)
8cta + footer.{columns[4],mega}すべてメガキッカーはヘッドラインと同様の MixedText

完全な動作例(Open Design 自身)については inputs.example.json を開いてください。

2. 画像戦略の決定

戦略選択すべきタイミングコスト / レイテンシ
placeholder最初のパス。デモ。社内スライド。まだ画像予算がない場合。$0, <1s
generate最終納品。ブランドがオリジナルコラージュを希望する場合。~$0.40, ~6 min
bring-your-ownユーザーがアートディレクション済みの PNG を持っている場合。assets_path に配置。$0, 0s

inputs.imagery.strategy を適宜設定します。

placeholder — フレームモード

npx tsx scripts/placeholder.ts <out>/assets/

互換性のために .png エイリアスも付いた16個の .svg ファイルを <out>/assets/ に書き出します。各プレースホルダーはスロットID、アスペクト比、ピクセル寸法、image-manifest.json のプロンプトヒントを表示します。コンポーザーの <img src='./assets/hero.png'> などはそのまま動作します。

generate — gpt-image-2 モード

FAL_KEY=... npx tsx scripts/imagegen.ts <inputs.json> --out=<out>/assets/

fal.ai の openai/gpt-image-2 同期エンドポイントをスロットごとに呼び出します。プロンプトは以下のように構成されます: スタイルアンカー(紙コラージュエディトリアルシステム)+ ブランド変数(inputs.json から取得する名前/ナビ/ヘッドライン/斜体強調)+ スロットごとの構成(例: 切り取られた石膏像 + アーチを貫く木)。対象ファイルが既に存在するスロットはスキップします。再レンダリングするには --force を渡します。

FAL_KEY がない場合、スクリプトはプロンプトを出力するため、オペレーターは /gpt-image-fal スラッシュコマンドスキルを使用して手動でルーティングできます。

bring-your-own

assets/image-manifest.json のファイル名に一致する16個の PNG を inputs.imagery.assets_path に配置します。以上です。

3. アーティファクトの生成

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

コンポーザーは inputs.json と ../styles.css を読み込み、1つの自己完結型 HTML ファイルを書き出します。このページには以下が含まれます:

  • Atelier Zero スタイルシート全体(インライン化)。
  • すべてのセクションマークアップ(data-reveal 属性付き)。
  • インライン IntersectionObserver スクリプト(apps/landing-page/app/_components/reveal-root.tsx をミラー)。
  • インライン Headroom ナビスクリプト(header.tsx をミラー)。
  • インライン GitHub スターカウントフェッチャー(brand.primary_url から自動検出)。

4. (任意) デプロイ可能な Astro サイトのミラーリング

デプロイ可能なプロダクション出力のためには、apps/landing-page/ パッケージをフォークします: ワークスペースにコピーし、app/page.tsx を inputs.json の内容に合わせて調整し、<out>/assets/*.png を app/image-assets.ts / R2 URL が期待するパスにコピーします。pnpm --filter @open-design/landing-page build でビルドすると、任意の CDN にデプロイ可能な静的 out/ エクスポートが生成されます。

将来のイテレーションでは、inputs.json から apps/landing-page/ ツリー全体を1コマンドで生成するコンポーザーがバンドルされる可能性があります。それまでは、フォーク&編集がサポートされるパスです。


納品前のセルフチェック

完了とマークする前に、エージェントは以下を必ず確認してください:

  • <out>/index.html がブラウザでコンソールエラーなく開くこと。
  • 16すべての画像スロットが読み込まれること(DevTools ネットワークタブで 404 がないこと)。
  • ヘッドラインの斜体強調スパンが Playfair(サンセリフではない)でレンダリングされること。
  • すべての display h1/h2 の末尾にコーラル終端ドットがあること。
  • 上から下までスクロールし、すべてのセクションが一度ずつアニメーションすること。
  • 880px と 560px にリサイズし、水平スクロールや重なりがないこと。
  • prefers-reduced-motion: reduce(DevTools → Rendering)でトランジションが完全に無効になること。
  • Lighthouse: コントラスト AA、font-display swap、ヒーローでレイアウトシフトがないこと(CLS < 0.05)。

このスキルのファイル

skills/open-design-landing/
├── SKILL.md                 # 本契約
├── README.md                # クイックスタート
├── schema.ts                # 型付き入力(唯一の真実の情報源)
├── styles.css               # Atelier Zero スタイルシート(唯一の真実の情報源)
├── inputs.example.json      # 動作例としての Open Design
├── example.html             # 標準レンダリング(inputs.example.json から再生成)
├── scripts/
│   ├── compose.ts           # inputs.json + styles.css → index.html
│   ├── imagegen.ts          # gpt-image-2 ラッパー(fal.ai)
│   └── placeholder.ts       # SVG 紙テクスチャフレーム
└── assets/
    ├── *.png                # 16コラージュプレート(Open Design インスタンス)
    ├── image-manifest.json  # スロット → ファイル/寸法/プロンプトマッピング
    └── imagegen-prompts.md  # 人間が読めるプロンプトパック

境界

  • 新しい色や書体を発明しないでください。 トークンは design-systems/atelier-zero/DESIGN.md にあります。ここに新しいランプを追加する前に、デザインシステムを拡張してください。
  • 生成されたマークアップから data-reveal 属性を削除しないでください。 これがないとページは静的で生命力のないものになります。
  • 構成された HTML を、独自のスタイルシートの順序を注入するフレームワークでラップしないでください。 Atelier Zero は、紙のテクスチャとサイドレールの z-index をスタイルシートのカスケード順序に依存しています。
  • Astro ランディングページフォーク用の個別のスタイルシートファイルを追加しないでください。 視覚的同一性を保つために、styles.css をそのまま app/globals.css にコピーしてください。

関連項目

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

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.

関連スキル