Communitygithub.com

nehanjamala/personal_website

이 스킬은 사용자가 '글라스모피즘 효과 추가', '프로스트드 글라스 UI', '애플 리퀴드 글라스 스타일', '프로스트드 블러 카드', '반투명 글라스 패널 애니메이션', '프로스트드 네비게이션 바 제작', '글라스 모달/대화상자 구축', '호버 시 글라스 카드 애니메이션', '굴절 액체 글라스 히어로' 등을 요청할 때 사용해야 합니다. backdrop-filter 블러가 적용된 프로스트드 반투명 패널, 가장자리/반사 하이라이트, SVG 액체-글라스 굴절, 호버/스크롤/진입 시 모션, 접근성을 위한 축소된 투명도 폴백을 다룹니다.

personal_website란 무엇인가요?

이 스킬은 웹 UI에 **글라스모피즘(Frosted & Liquid Glass)** 효과를 구현하는 완전한 가이드를 제공합니다. 핵심은 단순한 투명도가 아닌, 깊이와 재질감을 표현하는 데 있습니다. `backdrop-filter`를 사용한 프로스트(서리) 효과, 반투명 배경, 빛을 받는 가장자리 하이라이트, 그림자를 통한 입체감이라는 4가지 필수 요소를 상세히 설명하며, 여기에 SVG 필터(`feDisplacementMap`, `feTurbulence`)를 활용한 액체-글라스 굴절 효과와 호버/진입 시 부드러운 모션 애니메이션을 추가하는 방법을 코드 예제와 함께 제공합니다. 또한, 다수의 글라스 요소 사용 시 성능 저하를 방지하기 위한 최적화 팁과 `prefers-reduced-transparency`, `prefers-reduced-motion` 미디어 쿼리, `@supports` 폴백을 통한 접근성 및 브라우저 호환성 대책을 강조합니다. 최종 결과물로는 독립 실행형 HTML 파일을 제공하며, `?state`와 `?t=N` 파라미터를 이용해 특정 상태나 프레임을 고정하여 시각적 검증을 할 수 있는 방법까지 안내합니다. 이 스킬은 Claude Code, Cursor, Codex 등 다양한 AI 에이전트와 함께 사용할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/nehakanjamala/personal_website/tree/HEAD/.agents/skills/glassmorphism

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

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

문서

글라스모피즘 (프로스트드 & 리퀴드 글라스)

반투명하고 서리 낀 UI: 내용물이 비쳐 보이면서 배경은 부드러운 색상으로 흐려지고, 밝은 빛의 가장자리로 둘러싸여 있으며, 여러 겹의 그림자 위에 떠 있는 패널. 2026년 '리퀴드 글라스' 진화형은 굴절(배경이 패널을 통해 휘어져 보임)과 움직이는 반사 하이라이트를 추가합니다. 목표는 단순한 불투명도가 아니라 깊이와 재질감입니다.

사용 시기

  • 복잡한/사진 배경 위의 프로스트드 카드, 내비게이션 바, 사이드바, 모달/대화상자, 툴바
  • 페이지 위에 레이어된 느낌을 주어야 하는 로그인/히어로 패널 및 오버레이
  • 애플 스타일 '리퀴드 글라스' 히어로: 굴절하며 천천히 소용돌이치는 표면과 반사 스위프
  • 글라스에 호버/스크롤/진입 모션 적용 — 프로스트가 깊어지고, 하이라이트가 밝아지며, 패널이 떠오름
  • 콘텐츠가 떠 있는 유리처럼 보이면서도 읽기 쉬워야 하는 모든 곳

그럴듯한 글라스의 네 가지 재료

유리는 하나의 속성으로 만들어지지 않습니다. 모든 패널은 네 가지를 모두 갖춰야 하며, 그렇지 않으면 평범한 반투명 상자로 보입니다:

  1. 프로스트 — backdrop-filter: blur()와 saturate()를 함께 사용하여 흐림 속에서도 배경색이 선명하게 유지되도록 함.
  2. 반투명도 — 알파가 약 0.08~0.18인 background, 완전히 불투명하지도 않고 완전히 투명하지도 않음.
  3. 유리의 가장자리 — 채움색보다 밝은 가는 테두리, 이상적으로는 밝은 왼쪽 위 → 어두운 오른쪽 아래 방향의 하이라이트로 가장자리가 빛을 받도록 함.
  4. 깊이 — 여러 겹의 box-shadow: 패널을 띄우기 위한 주변 그림자와 표면을 둥글게 만들어 주는 inset 상단 하이라이트 및 하단 음영.
.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%); /* Safari는 접두사 필요 */
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),     /* 부유 */
    inset 0 1px 0 rgba(255, 255, 255, 0.35), /* 상단 하이라이트 */
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);      /* 하단 음영 */
}

프로스트 단계: 가벼운 UI 크롬은 blur(8–12px) / 알파 0.08–0.14; 무거운 모달/로그인은 blur(24–40px) / 알파 0.10–0.18. 어두운 글라스: 채움 rgba(0,0,0,0.3), 더 부드러운 상단 하이라이트.

backdrop-filter는 요소 뒤에 있는 콘텐츠만 흐리게 합니다. 평평한 배경색 위에서는 아무 효과도 보이지 않습니다 — 글라스는 프로스트 효과를 내기 위해 복잡한 배경(이미지, 그라디언트, 비디오)이 필요합니다.

반사 가장자리 하이라이트 및 안티-밴딩 그레인

평평한 테두리는 죽어 있습니다. ::before를 통해 빛이 비치는 모서리가 있는 마스킹된 1픽셀 링을 그리고, ::after를 통해 opacity ≤ 0.06의 희미한 feTurbulence 노이즈 오버레이로 그라디언트 밴딩(심한 블러 아래 계단식 등고선)을 디더링합니다. 전체 마스킹 테두리 및 인라인 노이즈 레시피는 references/glass-recipes.md에 있습니다.

모션: 기하학이 아닌 글라스 자체를 애니메이션

글라스의 속성 — 프로스트 깊어짐, 하이라이트 밝아짐, 패널 떠오름 — 을 애니메이션하여 표면이 "빛 속으로 기울어지는" 것처럼 보이게 합니다.

.glass {
  transition: backdrop-filter .4s ease, background .4s ease,
              box-shadow .4s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.glass:hover {
  backdrop-filter: blur(24px) saturate(180%);
  background: rgba(255,255,255,.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.5);
}
  • 진입 (투명에서 프로스트로 해소): [data-enter] 전환을 @starting-style { backdrop-filter: blur(0); opacity: 0; transform: translateY(16px) }와 쌍으로 사용.
  • 반사 스위프: 호버 시 또는 느린 주변 루프로 표면을 가로지르는 기울어진 흰색 그라디언트 애니메이션.
  • 주의사항: 블러 반경을 애니메이션하는 것이 여기서 가장 비용이 많이 드는 작업입니다 — 매 프레임마다 배경이 다시 블러됩니다. 호버가 끊기면 저렴한 transform/box-shadow/background를 애니메이션하고 블러 델타를 작게 유지하거나 스냅합니다.

리퀴드 글라스 — SVG 굴절 (2026년 스타일)

두꺼운 렌즈처럼 패널을 통해 배경을 휘게 만듭니다: 애니메이션된 feTurbulence로 feDisplacementMap을 구동하고, backdrop-filter 프로스트 위에 레이어된 filter를 통해 적용합니다.

<svg width="0" height="0" style="position:absolute"><filter id="liquid-glass">
  <feTurbulence type="fractalNoise" baseFrequency="0.008 0.012" numOctaves="2" seed="3" result="n">
    <animate attributeName="baseFrequency" dur="18s"
             values="0.008 0.012;0.012 0.008;0.008 0.012" repeatCount="indefinite"/>
  </feTurbulence>
  <feDisplacementMap in="SourceGraphic" in2="n" scale="22" xChannelSelector="R" yChannelSelector="G"/>
</filter></svg>

scale = 굴절 강도 (8–14 미묘, 20–30 뚜렷, >40 녹은 듯). baseFrequency가 낮을수록 더 크고 느린 파동(더 액체처럼). animate dur를 길게(12–20초) 유지하여 숨쉬는 듯한 효과를 냅니다. 이러한 필터는 무겁습니다 — 그리드가 아닌 하나의 히어로 요소에만 사용하세요.

성능 — backdrop-filter는 비용이 많이 듭니다

  • 각 글라스 요소는 뒤에 있는 모든 것을 다시 샘플링하고 블러 처리합니다. 개수를 제한하세요; 화면에 12개가 있으면 스크롤 FPS가 떨어집니다.
  • 무거운 글라스는 자체 레이어로 승격시키고(transform: translateZ(0) 또는 will-change: transform), 애니메이션 후에는 will-change를 제거하세요.
  • backdrop-filter 요소를 서로 겹쳐 쌓지 마세요 — 중첩된 블러는 블러를 다시 블러 처리합니다.(2차 비용).
  • 넓은 영역에 큰 반경(>40px)을 사용하는 것이 최악의 경우입니다. 반경과 패널 크기를 제한하세요.

접근성 — 선택 사항이 아닙니다

글라스는 장식입니다. 콘텐츠는 읽기 쉬워야 하고 효과는 비활성화 가능해야 합니다.

@media (prefers-reduced-transparency: reduce) {
  .glass { background: #1a1a2e; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .glass::after { display: none; }            /* 그레인 제거 */
}
@media (prefers-reduced-motion: reduce) {
  .glass { transition: none; }
  .liquid { filter: none; }                   /* 굴절 회전 중지 */
}
@supports not (backdrop-filter: blur(1px)) {
  .glass { background: rgba(30,30,50,.85); }  /* 충분히 불투명한 폴백 */
}

복잡한 배경 위의 대비: 사진 위의 반투명 패널은 텍스트를 WCAG 기준 이하로 떨어뜨릴 수 있습니다. 텍스트 아래에 반투명 스크림 또는 어두워지는 그라디언트를 추가하고, 선택적으로 text-shadow: 0 1px 2px rgba(0,0,0,.4)를 사용하며, 배경의 가장 밝은 영역에 대해 본문 ≥ 4.5:1 / 큰 텍스트 ≥ 3:1을 확인하세요.

전달 및 확인 (독립 실행형 HTML)

패키지 도우미 (scripts/): scripts/seek-shot.sh anim.html 0 1.5 3은 ?t=N 하네스를 고정하고 각 순간을 스크린샷으로 찍습니다; scripts/contact-sheet.sh sheet.png frame-*.png는 한눈에 검토할 수 있도록 타일로 배열합니다. scripts/README.md를 참조하세요.

자체 포함된 글라스 데모(카드, 내비게이션, 모달, 리퀴드 글라스 히어로)의 경우, 전달물은 브라우저에서 직접 열리는 하나의 HTML 파일입니다 — 마크업, CSS, (리퀴드인 경우) 하나의 인라인 SVG 필터, 빌드 단계 없음. 단일 파일이 글라스 표면에 적합한 계층입니다; 번들러에 의존하지 마세요. 패널은 실제 배경과 겹쳐져야 합니다(사진 또는 그라디언트 삽입). 그렇지 않으면 프로스트할 대상이 없어 데모가 거짓됩니다.

출력 계약:

  • 하나의 .html 파일: 복잡한 배경, 글라스 마크업, CSS(프로스트 + 가장자리 하이라이트 + 그레인 + 그림자), 그리고 필요한 인라인 SVG feDisplacementMap 필터.
  • 해결된 상태 와 루프의 고정된 프레임에 도달하는 방법 — 글라스는 상태(정지/호버/진입)와 시간(스위프/굴절) 모두로 확인합니다.
  • 아래 고정 하네스를 포함하여 모든 순간을 검사할 수 있도록 고정합니다.

탐색 하네스 — 결정적 상태 + 프레임 고정. ?state=hover는 호버 모양을 강제합니다; ?t=N은 CSS 애니메이션과 SVG 굴절을 N초에서 고정하여 스크린샷이 정지된 결정적 프레임을 찍도록 합니다:

<script>
  const p = new URLSearchParams(location.search);
  const state = p.get("state");
  if (state) document.documentElement.dataset.state = state;   // CSS는 :root[data-state="hover"]에 반응
  const t = p.get("t");
  if (t !== null) {
    document.getAnimations().forEach(a => { a.currentTime = parseFloat(t)*1000; a.pause(); }); // CSS 스위프 고정
    const svg = document.querySelector("svg");
    svg?.pauseAnimations?.(); svg?.setCurrentTime?.(parseFloat(t));                            // 굴절 고정
  }
  window.__ready = true;
</script>

확인 루프 — 렌더링 → 상태 설정/고정 → 스크린샷 → 확인: 각 의미 있는 상태(?state=rest, ?state=hover)와 고정된 루프 프레임(?t=2)을 열고, 스크린샷을 찍어 글라스가 글라스처럼 보이는지 — 블러와 가장자리 하이라이트가 보이고, 색상 밴딩이 없으며, 배경 위에서 텍스트 대비가 유지되는지 — 그리고 아티팩트(배경이 단색이어서 평평한 상자, Safari에서 -webkit- 접두사 누락, 굴절이 너무 강함/녹음, 블러 애니메이션으로 인한 끊김)를 확인합니다. 그런 다음 prefers-reduced-transparency를 로드하고 단색 폴백이 읽기 쉽게 렌더링되는지 확인합니다. 모든 헤드리스 도구가 작동합니다:

npx playwright screenshot --wait-for-timeout=500 "file://$PWD/glass.html?state=hover" hover.png
npx playwright screenshot --wait-for-timeout=500 "file://$PWD/glass.html?t=2"          loop.png

헤드리스로 폴백을 확인하려면 미디어 기능을 에뮬레이트하거나(예: Playwright --color-scheme 스타일 플래그, 또는 미디어 쿼리를 미러링하는 클래스를 토글하는 ?reduced=1 쿼리) 패널이 단색이고 읽기 쉬운지 스크린샷을 찍습니다.

마치기 전에:

  1. 독립 실행형으로 열림 — 콘솔 오류 없음; 글라스가 실제 복잡한 배경과 겹쳐지고, 단색이 아님.
  2. 글라스처럼 보임 — 블러와 밝은 가장자리 하이라이트가 모두 보이고, 레이어된 그림자가 떠 있게 하며, 밴딩 없음(그레인 있음).
  3. 배경의 가장 밝은 부분 위에서 텍스트 대비 유지(본문 ≥ 4.5:1).
  4. ?state= / ?t=N 고정이 결정적이고 안정된 프레임을 생성함.
  5. prefers-reduced-transparency → 단색 불투명 패널; prefers-reduced-motion → 굴절/스위프 중지; backdrop-filter 없음에 대한 @supports 폴백.
  6. 성능 합리적 — 글라스 개수 제한, 블러가 끊기는 경로에서 애니메이션되지 않음, 리퀴드 굴절은 하나의 요소에만 적용.

빠른 참조

필요접근 방식
기본 프로스트backdrop-filter: blur(16px) saturate(160%) + 알파 배경
유리의 가장자리더 밝은 border + 마스킹된 ::before 빛 모서리 링
부유 / 깊이box-shadow 드롭 + inset 상단 하이라이트 및 하단 음영
밴딩 제거feTurbulence 노이즈 ::after, opacity ≤ .06
호버 모션transform/box-shadow/background 전환, 작은 블러 델타
진입@starting-style { backdrop-filter: blur(0); opacity:0 }
리퀴드 굴절feDisplacementMap ← 애니메이션된 feTurbulence, filter를 통해
반사 스위프표면을 가로지르는 기울어진 흰색 그라디언트 애니메이션
Safari항상 -webkit-backdrop-filter 쌍으로 사용
축소된 투명도단색 불투명 패널, 그레인 제거
backdrop-filter 없음@supports not (...) 충분히 불투명한 폴백

참조 파일

  • references/glass-recipes.md — 전체 복사-붙여넣기 레시피: 단계별 기본 글라스 카드, 마스킹된 반사 가장자리 링, 안티-밴딩 그레인, 호버/진입/스크롤 모션, 반사 스위프, 튜닝 노브가 있는 SVG feDisplacementMap/feTurbulence 리퀴드-글라스 필터, 성능 규칙, 축소된 투명도/축소된 모션/@supports 폴백, 대비 방어, 독립 실행형 고정 하네스.

Individual skills in this repo

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

nehakanjamala/personal_website

This skill should be used when the user asks to "fix janky CSS animation", "make animation 60fps", "stop layout thrashing", "animate width/height/top/left smoothly", "convert animation to transform", "animate box-shadow performantly", "animate height auto", "FLIP animation", or "why is my scroll/hover animation choppy".

nehakanjamala/personal_website

This skill should be used when the user asks to "respect prefers-reduced-motion", "honor reduced motion", "make my animations accessible", "fix vestibular / motion-sickness issues", "add a useReducedMotion hook", "gate GSAP / Framer Motion / Lenis for reduced motion", or "meet WCAG 2.3.3 / C39". Provides tiered (not all-or-nothing) reduced-motion patterns in CSS and JS.

nehakanjamala/personal_website

Create, modify, debug, and deploy Apify Actors, and write their input and output schemas. Use when building an Actor from scratch, changing or troubleshooting Actor code, generating or updating .actor schema files, or pushing an Actor to the Apify platform. To wrap an existing non-Actor project, use apify-actorization instead.

nehakanjamala/personal_website

Convert existing projects into Apify Actors - serverless cloud programs. Actorize JavaScript/TypeScript (SDK with Actor.init/exit), Python (async context manager), or any language (CLI wrapper). Use when migrating code to Apify, wrapping CLI tools as Actors, or adding Actor SDK to existing projects.

nehakanjamala/personal_website

Deprecated. Output schema generation moved to the apify-actor-development skill; prefer that skill whenever it is available.

nehakanjamala/personal_website

Design and build an official Apify integration for a company's product - workflow-automation apps (Zapier/n8n-style), AI agent plugins (coding-agent skills+MCP bundles or OpenClaw/Hermes-style harnesses), AI framework packages (LangChain/LlamaIndex-style), or direct application clients via apify-client. Use when planning, creating, or reviewing an integration that exposes Apify Actors, runs, datasets, or key-value stores inside another product.

nehakanjamala/personal_website

Universal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok, YouTube, LinkedIn, X/Twitter, Google Maps, Google Search, Google Trends, Reddit, Airbnb, Yelp, and 15+ more platforms. Use for lead generation, brand monitoring, competitor analysis, influencer discovery, trend research, content analytics, audience analysis, review analysis, SEO intelligence, recruitment, or any data extraction task.

nehakanjamala/personal_website

This skill should be used when the user asks to "build a scroll animation", "add ScrollTrigger", "pin a section while scrolling", "scrub an animation to scroll", "create a hero timeline", "do a horizontal scroll section", "split text and animate words", "animate a layout change with GSAP Flip", "sync ScrollTrigger with Lenis", "Lenis smooth scroll jittery", "ScrollTrigger markers drift", "ScrollTrigger pins break with Lenis/Locomotive", or "set up smooth scroll with GSAP pinning". Covers GSAP timelines, ScrollTrigger, SplitText, Flip, and Lenis/Locomotive smooth-scroll sync for code-driven web motion.

nehakanjamala/personal_website

This skill should be used when the user asks to "add a Lottie animation", "play a .lottie or .json animation", "integrate a Bodymovin/After Effects animation on web or mobile", "control Lottie playback / segments", "make a scroll-driven Lottie", "recolor a Lottie at runtime", or "export an AE animation to Lottie". Covers dotLottie/lottie-web integration, playback control, interactivity, theming, and the AE export checklist.

nehakanjamala/personal_website

This skill should be used when the user asks to "add a hover/press effect", "animate a toggle or switch", "build an animated like button", "make a toast/snackbar slide in", "animate a drawer or modal", "animate list reordering or add/remove", "do a shared-element layout transition", or "polish UI feedback". Covers UI motion with Framer Motion (motion/react) and modern CSS.

nehakanjamala/personal_website

This skill should be used when the user asks to "animate page or route transitions", "add a page transition or crossfade between views", "animate route changes in Next.js App Router", "use the View Transitions API", "AnimatePresence exit doesn't fire on navigation", or "Framer Motion exit animation not working / exit animation before unmount in Next.js". Covers enter/exit page-transition animation with the View Transitions API and Framer Motion, for Next.js App Router and general SPA routing.

nehakanjamala/personal_website

Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; web_fetch fails; the site has anti-bot protections; write Python code to scrape/crawl; or write spiders.

nehakanjamala/personal_website

This skill should be used when the user asks to "animate an SVG", "make a line draw itself on", "do a stroke draw-on / signature animation", "morph one shape into another", "move an element along a path", "animate an icon/logo", or "animate an SVG gradient or filter". Covers stroke-dashoffset draw-on, path morphing, motion-along-path, and animated icons/gradients/filters via CSS, SMIL, and GSAP.

관련 스킬