webgl-landing-steering — скилл для Claude Code: как установить
Скилл помогает выбрать визуальное направление, стек Three.js и ограничения производительности для лендинга с WebGL до написания кода.
npx skills add MengTo/Skills --skill webgl-landing-steering -a claude-codeЧто делает webgl-landing-steering
Скилл задаёт правила проектирования 3D-графики для промо-страниц. Вместо слепой генерации кода агент сопоставляет цели сайта с одним из четырёх направлений: мягкая глубина для SaaS, потоки частиц для инфраструктурных сервисов, 3D-модель продукта или кинематографичная сцена для промокампаний.
Внутри заложены технические гейты: ограничение плотности пикселей через Math.min(devicePixelRatio, 1.5-2), очистка геометрий и текстур при переходах в SPA, поддержка prefers-reduced-motion и показ резервного постера до загрузки шейдеров. Если перегрузить первый экран эффектами, упадёт конверсия. Поэтому скилл в первую очередь защищает контраст текста и кнопки действия.
Какие задачи решает
- выбрать визуальный стиль и архитектуру 3D-сцены под задачу лендинга
- настроить ограничения производительности и плотности пикселей на мобильных устройствах
- внедрить резервный вариант отображения для режима с уменьшением движения
- предотвратить утечки памяти при переключении маршрутов в SPA
Примеры запросов агенту
- Спроектируй первый экран с WebGL для B2B-сервиса аналитики, где важна читаемость оффера
- Помоги подобрать стек Three.js и fallback-постер для промо-страницы физического продукта
- Проверь 3D-сцену лендинга по чек-листу производительности и доступности
Как установить webgl-landing-steering
1Через Skills CLI (Vercel)
npx skills add MengTo/Skills --skill webgl-landing-steering -a claude-code2Вручную: положить файлы
~/.claude/skills/webgl-landing-steering/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/webgl-landing-steering/
1Через Skills CLI (Vercel)
npx skills add MengTo/Skills --skill webgl-landing-steering -a codex2Вручную: положить файлы
.agents/skills/webgl-landing-steering/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add MengTo/Skills --skill webgl-landing-steering -a cursor2Вручную: положить файлы
.cursor/skills/webgl-landing-steering/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install MengTo/Skills webgl-landing-steering2Вручную: положить файлы
.github/skills/webgl-landing-steering/SKILL.md1Через Skills CLI (Vercel)
npx skills add MengTo/Skills --skill webgl-landing-steering -a gemini-cli2Командой платформы
gemini skills install https://github.com/MengTo/Skills --path agent-skills/web-design/webgl-landing-steeringВручную: положить файлы
.devin/skills/webgl-landing-steering/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add MengTo/Skills --skill webgl-landing-steering -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о webgl-landing-steering
Как установить webgl-landing-steering в Claude Code?
Выполните команду npx skills add MengTo/Skills --skill webgl-landing-steering -a claude-code.
Зачем нужен скилл webgl-landing-steering?
Он помогает структурировать требования к 3D-графике на промо-странице, чтобы визуальные эффекты Three.js не мешали конверсии и не тормозили мобильные устройства.
Какие проверки качества включает скилл перед выпуском страницы?
Скилл проверяет чтение заголовка за 3 секунды, лимит devicePixelRatio до 1.5–2, поддержку prefers-reduced-motion и очистку ресурсов WebGL при смене маршрутов в SPA.
Исходный текст
SKILL.md · MIT
--- name: webgl-landing-steering description: Use when creating or refining WebGL-heavy landing pages and you need to steer toward a specific visual outcome (premium, technical, playful, cinematic) while balancing conversion clarity, performance, and implementation complexity. --- # WebGL Landing Steering Skill ## Use this skill to steer outcomes Map landing-page goal to WebGL direction before writing code. ### 1) Define the page intent Identify the primary conversion and brand signal: - Premium / luxury / minimal confidence - Technical / infrastructure / data authority - Playful / consumer / social energy - Cinematic / launch / storytelling impact Also capture: - Device mix (desktop-heavy vs mobile-heavy) - Motion tolerance (`prefers-reduced-motion` policy) - Production constraints (deadline, team skill, maintenance budget) ### 2) Choose the WebGL lane Pick one dominant lane; avoid mixing 3-4 heavy effects in the hero. #### Lane A: Subtle depth field (high conversion safety) Use for: SaaS, productivity, B2B tools where readability wins. - Visuals: soft gradient meshes, slow parallax planes, light bloom - Motion: low amplitude, always secondary to copy - Stack: Three.js plane shaders or lightweight shader canvas - Rule: hero text contrast and CTA prominence first #### Lane B: Data/particle intelligence (technical credibility) Use for: AI, infra, analytics, developer products. - Visuals: particle flows, node networks, vector fields, wireframes - Motion: purposeful directional flow toward CTA area - Stack: Three.js + custom shader/points, optionally GPGPU for dense fields - Rule: communicate "system behavior," not random sparkles #### Lane C: Object-centric 3D product moment (feature clarity) Use for: hardware, apps with strong product visuals, launches. - Visuals: central GLTF model, controlled camera orbit, material highlights - Motion: interaction-driven or timeline-based reveal - Stack: Three.js + GLTF/DRACO/KTX2 pipeline - Rule: one hero object, short loop, fast first meaningful paint fallback #### Lane D: Immersive cinematic scene (brand campaign) Use for: campaign pages where wow factor is the main KPI. - Visuals: volumetrics, heavy postprocessing, dense scene composition - Motion: choreographed sequence with scroll chapters - Stack: Three.js + postprocessing + optional GSAP ScrollTrigger - Rule: provide a static/mobile fallback and strict performance gates ### 3) Steering matrix by landing page type - Waitlist / pre-launch: Lane A or B. Keep copy legible and quick to load. - Product feature page: Lane A or C. Demonstrate product truth, not abstract noise. - Pricing / high-intent page: Mostly Lane A. Keep WebGL decorative only. - Enterprise trust page: Lane B with restrained palette and low noise. - Consumer app growth page: Lane B with playful palette, but cap CPU/GPU load. - Campaign microsite: Lane C or D with explicit fallback for lower-end devices. ### 4) Quality gates before shipping Pass these gates before adding more visual complexity: 1. Message gate: - Hero headline + CTA readable in under 3 seconds. - WebGL never blocks understanding of offer. 2. Performance gate: - Cap pixel ratio: `Math.min(devicePixelRatio, 1.5-2)`. - Target stable frame time on common mobile devices. - Lazy-load heavy assets; show immediate non-WebGL poster/fallback. 3. Accessibility gate: - Respect `prefers-reduced-motion` (still frame or low-motion mode). - Maintain color contrast over animated backgrounds. 4. Reliability gate: - Handle context loss and resize. - Dispose geometries/materials/textures in SPA route changes. ### 5) Implementation strategy by risk - Low risk (fastest): CSS + canvas illusion, minimal shaders - Medium risk: Three.js scene with 1-2 meshes, lightweight post FX - High risk: multi-pass shaders, dense particles, advanced postprocessing Default to low/medium risk for conversion pages unless user explicitly asks for campaign-grade immersion. ### 6) Prompting template for Codex-style execution Use this prompt pattern when asked to build a WebGL landing hero: "Build a [lane] WebGL hero for a [page type] with [brand adjectives]. Primary goal: [conversion]. Constraints: [device mix], [performance budget], [reduced motion policy]. Implement fallback first, then enhance with WebGL. Keep hero copy clarity as priority over visual complexity." ### 7) Common failure patterns and corrections - Failure: "Looks cool but conversion dropped." - Fix: reduce motion amplitude, darken/soften background, raise CTA contrast. - Failure: "Mobile stutters." - Fix: reduce particle count, lower DPR cap, remove expensive postprocessing. - Failure: "Visual style feels generic." - Fix: pick one signature motif aligned to brand (grid, wave, orbit, shards). - Failure: "Team cannot maintain shader complexity." - Fix: simplify to modular Three.js scene with documented parameters. ## Output format when applying this skill Return: 1. Recommended lane and why 2. Visual spec (palette, motion behavior, composition) 3. Technical stack and complexity tier 4. Fallback behavior 5. Performance + accessibility checklist 6. Build order (MVP first, enhancement second)
© MengTo · MIT · MengTo/Skills