Communitygithub.com

jhy0285/monofield

このスキルは、スクロール駆動のポータル/カーテン演出と曲線アークカードスライダーを備えた、没入感のあるシングルページ・パララックスランディングページ「Dreamcore Landing」を生成します。

monofield とは?

このスキルは、スクロールに伴いポータル画像が視聴者に向かって拡大ズームする「ドリームコア」/「夢想」ヒーローセクションを備えた、没入感のあるシングルページパララックスランディングページを生成します。背景、雲、ポータルフレーム、カーテンなど、8つのレイヤーで構成された固定ビューポート内で、2つのスクロール駆動シーン(ポータルがズームする第1シーンと、弧を描くカードスライダーが現れる第2シーン)が展開します。スキルに同梱の`example.html`(HTML/CSS/JS)を元に、コピーとデータのみを調整することを推奨します。また、ユーザーが明示的にReact + TypeScript + Tailwind + Viteプロジェクトを要求した場合、同じレイヤー構成、MAG値、フォントを忠実に移植した`src/App.tsx`を生成することも可能です。マウスパララックス、カーテンエントランス演出、アークカードスライダーのジオメトリはすべて固定されており、変更すべきではありません。

対応~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/jhy0285/monofield/tree/HEAD/plugins/_official/examples/dreamcore-landing

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

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

ドキュメント

Dreamcore Landing — 没入型パララックススクロールヒーロー

スクロール駆動の2つのシーンを1つの固定ビューポート内に持つ、没入感のあるシングルページパララックスランディングページを生成します。完全なレンダリング済みリファレンス実装が、このスキルとともに example.html として提供されています。これを出発点としてください。example.html をコピーし、コピーとデータを調整してください。レイヤー計算、イージング、ビジュアルランゲージを書き換えないでください。シードには、以下に説明する正確なレイヤースタック、スクロールマッピング、エントランスシーケンス、マウスパララックス、アークスライダージオメトリがすでにエンコードされています。

これが正式なビルド指示です。レイヤーのzオーダー、スケール範囲、スクロールブレークポイント、MAG値、フォント、画像URL、カードデータは固定されており、これに正確に従ってください。

スタック

  • デフォルト出力: 単一の自己完結型HTMLファイル(example.htmlシード)。Vanilla HTML/CSS/JS、ビルドステップ不要。フレームワーク機能はダウンマップされています: useScroll/useTransform → スクロールプログレスを書き込むパッシブな scroll リスナー;フレームごとのトランスフォーム → requestAnimationFrame ループ;マウスパララックス → speed = 0.07 でlerpする mousemove ハンドラー;エントランスアニメーション → setTimeout のマイルストーン。
  • ユーザーが明示的にReact + TypeScript + Tailwind + Viteプロジェクトを要求した場合、シードを忠実に単一の src/App.tsx に移植します:同じレイヤースタック、同じイージングヘルパー(easeInOut、lerp、clamp)、同じMAG値、lucide-reactは(ほとんど使われない)依存関係、Tailwindはレスポンシブブレークポイントのみに使用。xlブレークポイントを 1100px にオーバーライドします(screens: { xl: '1100px' })。移植中にデザインを変更しないでください。

フォントとグローバル設定

  • Google Fonts: <link> 経由で https://fonts.googleapis.com/css2?family=Viaoda+Libre&family=Imprima&display=swap。Viaoda Libre = セリフ見出し;Imprima = サンセリフ本文。タイトル: "Step Into Wonder"。
  • グローバルリセット、ダーク背景 #0a0608、font-family: 'Imprima', sans-serif、scrollbar-gutter: stable。
  • @keyframes bobUp: 50%で translateY -6px(スクロールキューのシェブロンを駆動、animation: bobUp 1.8s ease-in-out infinite)。

画像アセット(これらの正確なリモートURLを使用 — リモートのままにしてください)

これらは大きな安定したCDNスチル画像です;インライン化せず、ホストを変更しないでください。

PORTAL_BG     = https://plugin-assets.open-design.ai/plugins/dreamcore-landing/image_1_vdzwae-464f73.webp
CURTAIN_LEFT  = https://plugin-assets.open-design.ai/plugins/dreamcore-landing/curtain_left_znkmva-f9eb4c.webp
CURTAIN_RIGHT = https://plugin-assets.open-design.ai/plugins/dreamcore-landing/curtain_right_paeyym-9fa947.webp
WORLD_BG      = https://plugin-assets.open-design.ai/plugins/dreamcore-landing/image_2_gkcdlx-5f252f.webp
BOTTOM_CLOUDS = https://plugin-assets.open-design.ai/plugins/dreamcore-landing/bottom_clouds_xskut6-c56b42.webp
CARD_IMAGES[0] = https://plugin-assets.open-design.ai/plugins/dreamcore-landing/hf_20260525_160507_2ccbb4eb-1469-484f-af25-59168ad9a233-0c7429.webp&w=1280&q=85
CARD_IMAGES[1] = https://plugin-assets.open-design.ai/plugins/dreamcore-landing/hf_20260525_160644_072a7f68-a101-4ded-a332-7d37707dbdd1-bfae0e.webp&w=1280&q=85
CARD_IMAGES[2] = https://plugin-assets.open-design.ai/plugins/dreamcore-landing/hf_20260525_160706_1c153d04-0dfb-4ac9-a4ef-e74f301c329c-8b9d4e.webp&w=1280&q=85

アーキテクチャ

  • 外側コンテナ: height: 480vh; position: relative。その内側: position: sticky; top: 0; height: 100vh; overflow: hidden; background: #0a0608 のビューポート。すべてのレイヤーは絶対配置 + z-index でスタックされます。
  • scrollProgress = clamp(window.scrollY / (container.scrollHeight - window.innerHeight), 0, 1)。
  • ヘルパー: easeInOut(t) = t<0.5 ? 2*t*t : -1+(4-2*t)*t;lerp(a,b,t);clamp(v,mn,mx)。isMobile() = matchMedia('(max-width: 767px)')。
  • ep = easeInOut(scrollProgress) がすべてのレイヤーのスケールを駆動します。

レイヤースタック(下から上へ z-index 順)

  1. ワールド背景 (z 0): WORLD_BG、inset 0、object-fit: cover、transform-origin: 50% 50%。スケール lerp(1, 1.18, ep)。マウスMAG = 6。
  2. ボトム雲 (z 10): BOTTOM_CLOUDS、下0、width:100% height:auto、transform-origin: 50% 100%。スケール lerp(1, 1.4, ep)。マウスMAG = 9(Yは×0.4で減衰)。最初の5%のスクロールで不透明度が0.7→1にフェード。
  3. アークカードスライダー (z 9): 絶対配置、bottom: 60px (モバイル)/80px (デスクトップ)、中央揃え。不透明度 = scene2Opacity。<ArcCardSlider>を保持(ジオメトリは下記参照)。
  4. ポータルフレーム (z 15): PORTAL_BG、inset 0、object-fit: cover、transform-origin: 52% 38%。スケール lerp(1, 7.5, ep) — ポータルへのズームイン。マウスMAG = 7。不透明度はスクロール0.65まで1、0.85までに0にフェード。
  5. ボトムフェード (z 16): 下、height: 40%、linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%)、pointer-events: none。
  6. 左カーテン (z 16): CURTAIN_LEFT、inset 0、object-fit: cover、object-position: right center、transform-origin: left center。エントランス: 100ms後に translateX(-62%) を transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1) でシフト。スクロール時: 追加で translateX -lerp(0,150,ep)%、スケール lerp(1,1.3,ep)。マウスMAG = 14(Y ×0.3)。2200ms後、トランジション → none で瞬時パララックスに。
  7. 右カーテン (z 16): ミラー — transform-origin: right center、object-position: left center、+62% シフト後 +lerp(0,150,ep)%、MAG = 14。
  8. トップフェード (z 45): 上、height: 42vh、linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%)、pointer-events: none。

ナビゲーション (z 50)

絶対配置上部、全幅、flex; space-between; center。リンクスタイル: Imprima、12px、letter-spacing: 0.12em、大文字、#fff、不透明度0.9。

  • モバイル (padding: 18px 20px): "Explore" (11px) · StarLogo · "Connect" (11px)。
  • デスクトップ (padding: 22px 48px): 左グループ ["Worlds","Atelier","Immersions"] ギャップ36 · StarLogo 中央 · 右グループ ["Craft","Codex","Connect"] ギャップ36。
  • StarLogo — インラインSVG 28×28: 白い星のパス M14 2l2.09 6.42H23l-5.45 3.96 2.09 6.42L14 14.84l-5.64 4.06 2.09-6.42L4.96 8.42h6.95L14 2z (不透明度0.9) + 3つの小さな円 (cx/cy 14/24 r1.5 不透明度.6; 6/6 r1 不透明度.4; 22/6 r1 不透明度.4)。

シーン1 UI (z 20)

不透明度 = clamp(1 - scrollProgress/0.22, 0, 1)。Tailwindレスポンシブレイアウトブロック3つ(JSレイアウト分岐なし):

  • モバイル (md:hidden、padding 80px 24px 100px、中央揃えカラム): 見出し "FALL › INTO" (clamp(26px,7vw,42px)、tracking-widest、#3b1a0a) の後に "REVERIE" (clamp(52px,16vw,80px)、tracking-tight、leading-none、#3b1a0a)。› は #6b2e0e で 0.8em;"INTO" はイタリック。サブテキスト 15px、#5c2d0e、最大幅280。1つの140×140リールカード。
  • タブレット (hidden md:flex xl:hidden、ギャップ28): 同じ濃い茶色の見出し(サイズ clamp(28px,5vw,44px)/clamp(60px,12vw,86px))、サブテキスト 16px 最大幅400。3つの140×140カード(gap 14): card1リール、card2数字 "32" + "World Patrons"、card3リール。
  • デスクトップ (hidden xl:block/flex): 見出しブロックは絶対配置 top:46% left:60px maxWidth:440px translateY(-50%)、白で text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9)。"FALL › INTO" clamp(32px,4.5vw,54px) line-height 1.1 ls 0.04em、› = rgba(255,220,180,0.7)。"REVERIE" clamp(50px,7.5vw,88px) line-height 0.9 ls -0.02em。サブテキスト 18px line-height 1.7 rgba(255,245,235,0.88) 最大幅300、影付き。カードブロックは絶対配置 right:40px top:50% translateY(-50%) ギャップ12、3つの158×158カード radius 28 box-shadow: 0 8px 32px rgba(0,0,0,0.45)。

リールカードの構造(全サイズ共通): border-radius 22px (モバイル/タブレット) / 28px (デスクトップ)、CARD_IMAGES[i] 背景カバー、グラデーションオーバーレイ(高さ60%)、backdrop-blurレイヤー(高さ44%、マスクグラデーション)、下部コンテンツは12px inset。再生カード = 白い円(26/30px)+ 再生三角形SVG + "View Reel"(13/18px)。数字カード = "32" Viaoda Libre(28/36px)+ "World Patrons"。

  • スライダードット(下部): 28px (モバイル中央揃え) / 40px (デスクトップ left:60px)。4つのドット、最初のものは 28px 幅でアクティブ、残りは 14px、すべて 4px 高さ radius 2。アクティブ rgba(255,255,255,0.9)、非アクティブ rgba(255,255,255,0.35)。
  • スクロールキュー(デスクトップのみ、bottom:36px 中央揃え): "DESCEND"(10px、ls 0.22em、大文字、rgba(255,255,255,0.6))+ ScrollChevron(34px円、1.5px border rgba(255,255,255,0.5)、シェブロンSVG、animation: bobUp 1.8s ease-in-out infinite)。

シーン2 UI (z 46)

不透明度 = clamp((scrollProgress - 0.68)/0.16, 0, 1)。中央揃えカラム、margin-top 8vh (モバイル)/12vh (デスクトップ)。

  • 見出し(Viaoda Libre): "FORGE BEYOND THE REAL" — clamp(28px,8vw,44px) モバイル / clamp(38px,6.5vw,78px) デスクトップ、白、ls 0.03em、line-height 1.05、text-shadow: 0 2px 20px rgba(0,0,0,0.4)。
  • サブテキスト(Imprima): "Singular voyages to astonishing destinations, shaped for those who seek beauty beyond the ordinary and the known." — 14px/20px、line-height 1.6、ls -0.01em、最大幅 260/480、rgba(255,255,255,0.82)。

アークカードスライダーコンポーネント

9枚のカード(データは下記)。Props: cards[]、rotationOffset、isMobile。

レイアウト計算 — cardSpacingDeg: 12(モバイル)/9(デスクトップ);centerIndex = floor(9/2) = 4;arcRadius: 700/1100;cardW: 160/220;cardH: 175/230;sliderH: 260/360。arcSweepDeg = (9-1)*10 = 80。rotationOffset = lerp(0, arcSweepDeg, clamp((scrollProgress - 0.70)/0.30, 0, 1))。

カードごと: baseDeg = (i - centerIndex)*cardSpacingDeg;deg = baseDeg - rotationOffset + (centerIndex*cardSpacingDeg);rad = deg*PI/180;x = sin(rad)*arcRadius;y = arcRadius - cos(rad)*arcRadius。絶対配置で bottom: -y + (140 モバイル/200 デスクトップ)px、left: calc(50% + x - halfW)、transform: rotate(deg)、transformOrigin: halfW arcRadius。

外観: 角丸矩形(18px/26px)、背景 = card.color(パステル)、box-shadow: 0 8px 40px rgba(80,40,60,0.18)。右上に番号付き円(24px、1.5px border rgba(80,50,60,0.3)、テキスト rgba(80,50,60,0.6)、10px Imprima、ゼロ埋めインデックス)。下部: タイトル Viaoda Libre(22px/30px、#3a2530)+ 説明 Imprima(12px/15px、rgba(58,37,48,0.65))。

カードデータ(9枚)

{ title: 'Hidden Realms',  desc: 'Luminous sanctuaries unseen by wandering eyes', color: '#f3cdd6' }
{ title: 'Wild Solitudes', desc: 'Dissolve into untamed horizons and deep calm',  color: '#dcedc2' }
{ title: 'Silent Havens',  desc: 'Remote escapes far beyond ordinary reach',      color: '#c3e3f4' }
{ title: 'Bespoke Quests', desc: 'Journeys shaped around your vision and soul',   color: '#f0e4c0' }
{ title: 'Vivid Drifts',   desc: 'Surreal passages through breathtaking terrain', color: '#dcd2f2' }
{ title: 'Mystic Crests',  desc: 'Timeless ridgelines wrapped in cloud and myth', color: '#f3cdd6' }
{ title: 'Deep Currents',  desc: 'Glowing depths alive with uncharted wonder',    color: '#c3e3f4' }
{ title: 'Gilded Dusk',    desc: 'Amber horizons that stretch past all reason',   color: '#f0e4c0' }
{ title: 'Glassy Tides',   desc: 'Calm waters holding skies of pure stillness',   color: '#dcedc2' }

エントランスシーケンス

  • t=100ms: curtainsOpen → true → 各カーテンが 1.8s cubic-bezier(0.16, 1, 0.3, 1) で62%水平シフト。
  • t=600ms: uiVisible → true → シーン1 UIがフェード/スライドイン(opacity 0.9s ease, transform 0.9s ease)、遅延はスタッガー: 見出し0.3s、カード0.55s、ドット0.8s、スクロールキュー0.9s。
  • t=2200ms: entranceDone → true → カーテンのトランジションが none に切り替わり、パララックスが瞬時に。

マウスパララックス(デスクトップ)

requestAnimationFrame ループが speed = 0.07 で生のマウス位置をlerp。各レイヤーは、マウスと逆方向に自身の MAG 分オフセットし、スクロール駆動のスケール/移動と組み合わされます。MAG: world=6、clouds=9、portal=7、curtainL=14、curtainR=14。

ハードルール

  • ポータルのスケール範囲 lerp(1, 7.5, ep) とカーテンのエントランス -62%/+62% は特徴的なモーションです — これらを縮小しないでください。
  • 5つのCloudinaryスチル画像と3つのhiggs.aiカード画像はすべてリモートURLのままにしてください。これらは大きく安定したCDNメディアです。インライン化せず、ホストを変更しないでください。
  • 外部アバターホスト(i.pravatar.cc、api.dicebear.com)は使用しないでください — このテンプレートはアバターを使用しません。
  • フォントは固定: Viaoda Libre(セリフ見出し)+ Imprima(本文)。背景 #0a0608。
  • スクロールブレークポイントは固定: scene1は0.22までにフェードアウト;ポータルは0.65→0.85でフェードアウト;scene2は0.68→0.84でフェードイン;アーク回転は0.70→1.0で駆動。

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

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 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.

関連スキル