Communitygithub.com

SamuelChien/mega-skills-collection

모든 동영상을 Apple 스타일의 시네마틱 스크롤 기반 랜딩 페이지로 변환합니다. 스크롤 진행에 따라 동영상 프레임이 전환되는 히어로 섹션을 제공합니다.

mega-skills-collection란 무엇인가요?

이 스킬은 사용자가 제공한 동영상 파일을 Apple 제품 페이지나 GitHub Copilot 랜딩 페이지와 같은 시네마틱 스크롤 기반 랜딩 페이지로 변환합니다. ffmpeg를 사용하여 동영상에서 균일한 간격으로 N개의 프레임을 추출하고, 스티키 히어로와 JS 스크롤 리스너가 포함된 자체 완결형 HTML 페이지를 빌드합니다. 사용자가 스크롤할 때마다 보이는 프레임이 전환되며, 히어로 아래에는 헤드라인, 섹션, CTA가 배치됩니다. 기본 디자인 시스템(yuv-design-system)의 타이포그래피(Anton + Inter for English, Rubik + Assistant for Hebrew)와 Fly High 퍼플 팔레트를 따릅니다. 최종 출력은 `index.html`과 `frames/` 디렉토리로 구성된 단일 폴더이며, 정적 호스팅 서비스에 바로 배포할 수 있습니다. 이 스킬은 Claude Code, Cursor, Codex 등 모든 AI 어시스턴트와 호환되며, `references/extract-frames.py` 스크립트를 통해 자동화된 프레임 추출 및 HTML 생성을 지원합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SamuelChien/mega-skills-collection/tree/HEAD/video-to-landing-page

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

동영상 → 스크롤 기반 랜딩 페이지

동영상의 히어로가 시간이 아닌 스크롤에 따라 재생되는 시네마틱 랜딩 페이지를 만듭니다. Apple 제품 페이지나 GitHub Copilot 랜딩 페이지와 같습니다. 소스 동영상에서 프레임을 추출하여 사용자가 스크롤할 때마다 프레임이 전환됩니다. 스티키 히어로 아래에는 일반 스크롤 섹션에 카피와 CTA가 배치됩니다.

호출 시점

  • 사용자가 동영상을 업로드하고 랜딩 페이지, 스크롤 사이트, 스크롤 프레임 히어로, 또는 동영상으로 만든 웹사이트를 요청할 때
  • "Apple 스타일 스크롤", "GitHub Copilot 랜딩", "스크롤 시 프레임 전환", "스크롤 동영상" 등의 언급이 있을 때
  • 히브리어 동의어: "דף נחיתה מסרטון", "אתר עם גלילה", "סרטון בגלילה"

저장 위치

기본값: ~/Documents/yuv-projects/landings/<slug>/ — 랜딩 페이지는 항상 이곳에 저장하여 나중에 다시 찾을 수 있도록 합니다. 상위 디렉토리가 없으면 생성합니다.

mkdir -p ~/Documents/yuv-projects/landings
cd ~/Documents/yuv-projects/landings
# 여기에 <slug>/를 빌드합니다.

최종 경로: ~/Documents/yuv-projects/landings/<slug>/. 빌드가 끝날 때마다 사용자에게 랜딩 페이지 위치를 알려줍니다.


워크플로우 (8단계)

  1. 소스 조사 — ffprobe를 사용하여 재생 시간, FPS, 해상도, 오디오 정보를 확인합니다.
  2. 프레임 수 선택 — 기본값 80. 최소 40(이보다 낮으면 끊김), 최대 160(페이지가 무거워짐). 재생 시간에 따라 선택: ≤10초 → 50, 10–30초 → 80, 30–60초 → 120, >60초 → 160.
  3. 출력 디렉토리 결정 — 기본값 ~/Documents/yuv-projects/landings/<slug>/. <slug>는 짧게, 동영상 이름이나 주제에서 파생합니다. 명시적 요청이 있을 때만 재정의합니다.
  4. 프레임 추출 — references/extract-frames.py <source-video> <output-dir> [count] 실행. output-dir/frames/f_0001.jpg... 형식으로 JPG 품질 82, 최대 너비 1920px(소스가 더 크면 다운스케일)로 출력합니다.
  5. 복사 및 커스터마이징 — references/landing-template.html을 output-dir/index.html로 복사합니다:
    • __FRAMES__ 플레이스홀더를 각 프레임의 <img> 태그로 교체합니다(빌드 스크립트가 --build-html 옵션을 전달하면 자동으로 처리).
    • __HEADLINE__, __TAGLINE__, __CTA_TEXT__, __CTA_HREF__, 섹션을 채웁니다.
    • 히브리어 콘텐츠의 경우: <html lang="he" dir="rtl">로 설정하고 폰트를 Rubik/Assistant로 교체합니다(references/design-notes.md 참조).
  6. 프레임 최적화 — 빌드 스크립트가 이미 최대 1920px로 스케일링합니다. 페이지 전체 용량이 12MB를 초과하면 품질을 75로 낮추거나 프레임 수를 줄입니다.
  7. 미리보기 — 출력 디렉토리 내에서 python -m http.server를 실행하고 http://localhost:8000을 엽니다. 적절한 머신에서 부드러운 스크롤을 확인할 수 있습니다.
  8. 배포 — 폴더를 Vercel/Netlify/Cloudflare Pages에 업로드합니다. 빌드 단계가 필요 없습니다.

스크롤 메커니즘

  • 외부 스크롤러 .scroll-stage의 높이는 뷰포트 단위로 설정됩니다(기본값 600vh = 모든 프레임을 이동하려면 5번의 스크롤 페이지 필요).
  • 스티키 히어로 position: sticky; top: 0; height: 100vh에는 모든 프레임이 절대 위치로 배치되며 활성 프레임만 표시됩니다.
  • 스크롤 리스너가 progress = scrolledIntoStage / scrollableHeight를 계산하여 0–1로 고정(clamp)합니다.
  • idx = floor(progress * (N - 1)) — 해당 프레임에 .active 클래스를 전환합니다.
  • 리스너를 requestAnimationFrame으로 감싸서 60fps를 유지합니다.

디자인 규칙

  • 프로젝트의 디자인 시스템이 지정된 경우 따르고, 그렇지 않으면 yuv-design-system 스킬의 기본값을 사용합니다: Anton + Inter (영어) / Rubik + Assistant (히브리어), Fly High 퍼플 (#5E17EB) + 노랑 (#FFEC00) + 회색 (#F1F2F2) 팔레트, 오프화이트(순수 #fff 사용 금지), 0px 또는 999px 반경(8–12px 코너 금지). Warm Editorial(분홍+노랑+본)은 Hope/bigcats 브랜드군 전용입니다.
  • 히어로 오버레이는 미묘하게 — 비네트와 하나의 큰 헤드라인만; 프레임을 가리지 않습니다.
  • 히어로 아래 섹션: 본 배경, 큰 Anton 제목, 18–22px의 Inter 본문, 날카로운 분홍색 사각형에 Anton 텍스트가 있는 CTA.
  • 히브리어: RTL 준수, 제목에는 Rubik 900, 본문에는 Assistant 400/500 사용.

파일 참조

파일용도
references/extract-frames.pyffmpeg 기반 프레임 추출기; 한 번에 전체 HTML을 빌드하는 옵션도 있음
references/landing-template.html스크롤 메커니즘이 포함된 자체 완결형 랜딩 페이지 스켈레톤
references/design-notes.md타이포그래피, 팔레트 및 모션 기본값

Individual skills in this repo

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

SamuelChien/mega-skills-collection

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

SamuelChien/mega-skills-collection

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

SamuelChien/mega-skills-collection

Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.

SamuelChien/mega-skills-collection

Estratega de Inteligencia de Dominio de Andru.ia. Analiza el nicho específico de un proyecto para inyectar conocimientos, regulaciones y estándares únicos del sector. Actívalo tras definir el nicho.

SamuelChien/mega-skills-collection

2D game development principles. Sprites, tilemaps, physics, camera.

SamuelChien/mega-skills-collection

3D game development principles. Rendering, shaders, physics, cameras.

SamuelChien/mega-skills-collection

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

SamuelChien/mega-skills-collection

Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.

SamuelChien/mega-skills-collection

Ab Test Analyzer - Auto-activating skill for Data Analytics. Triggers on: ab test analyzer, ab test analyzer Part of the Data Analytics skill category.

SamuelChien/mega-skills-collection

A B Test Config Creator - Auto-activating skill for ML Deployment. Triggers on: a b test config creator, a b test config creator Part of the ML Deployment skill category.

SamuelChien/mega-skills-collection

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.

SamuelChien/mega-skills-collection

Acceptance Criteria Creator - Auto-activating skill for Enterprise Workflows. Triggers on: acceptance criteria creator, acceptance criteria creator Part of the Enterprise Workflows skill category.

SamuelChien/mega-skills-collection

Use when a coding task should be driven end-to-end from issue intake through implementation, review, deployment, and acceptance verification with minimal human re-intervention.

SamuelChien/mega-skills-collection

Accessibility Audit Runner - Auto-activating skill for Frontend Development. Triggers on: accessibility audit runner, accessibility audit runner Part of the Frontend Development skill category.

SamuelChien/mega-skills-collection

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

SamuelChien/mega-skills-collection

Web accessibility patterns for WCAG 2.2 compliance including ARIA, keyboard navigation, screen readers, and testing

SamuelChien/mega-skills-collection

Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.

SamuelChien/mega-skills-collection

Create unified specification packages across Business, Development, and Design teams. Staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria) to build shared understanding. Does not write code.

SamuelChien/mega-skills-collection

Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM. Trigger with "research [company]", "look up [person]", "intel on [prospect]", "who is [name] at [company]", or "tell me about [company]".

SamuelChien/mega-skills-collection

Validate messaging consistency across website, GitHub repos, and local documentation generating read-only discrepancy reports. Use when checking content alignment or finding mixed messaging. Trigger with phrases like "check consistency", "validate documentation", or "audit messaging".

관련 스킬