Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)101k · #1074

od-web-effect-extractor

Skill này làm gì

Công cụ này sao chép các hiệu ứng hình ảnh và hoạt ảnh từ một website để bạn dùng trong dự án riêng. Nó tìm hiểu cách các yếu tố chuyển động, tương tác và hiển thị trên màn hình.

Khi nào nên dùng

  • ✓Khi bạn thấy một hiệu ứng hay trên website và muốn làm lại.
  • ✓Khi bạn muốn tìm hiểu cách các hoạt ảnh phức tạp hoặc đồ họa 3D (WebGL) hoạt động trên website.
  • ✓Khi bạn muốn điều chỉnh hiệu ứng của một website cho thiết kế của mình nhưng chưa biết bắt đầu từ đâu.

Liên kết skill

https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-web-effect-extractor/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-web-effect-extractor/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Sao chép hiệu ứng hoạt ảnh từ website này: [URL của website]”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ truy cập website, phân tích cách các hiệu ứng hình ảnh được tạo (bằng mã và cài đặt), rồi tái dựng chúng dưới dạng có thể chỉnh sửa.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Web Effect Extractor

Use this plugin when the user gives a website URL and asks OpenDesign to recreate, remix, or learn from its visual effects. It is especially useful for hero backgrounds, WebGL scenes, Canvas animations, shader effects, cursor trails, scroll-driven motion, animated typography, and interaction patterns that are hard to understand from screenshots alone.

This workflow is inspired by the MIT-licensed web-shader-extractor skill from lixiaolin94/skills, adapted for OpenDesign's website recreation and editable artifact workflow.

Scope

The goal is to produce a faithful, editable OpenDesign artifact that preserves the reference site's visual effect and interaction logic while replacing private content, trademarks, tracking code, and nonessential app logic.

Extract only what is needed to understand and recreate the visual behavior:

  • Layout structure, viewport behavior, breakpoints, and composition rhythm
  • Color, typography, blend modes, gradients, texture, lighting, and post-processing
  • Motion timing, easing, scroll triggers, pointer response, and idle animation loops
  • Canvas, WebGL, Three.js, shader, particle, and framebuffer pipeline details
  • Public static assets needed for visual parity, with provenance noted

Do not copy private product copy, hidden application state, user data, analytics, auth flows, or unrelated business logic.

Workflow

1. Prepare The Capture

Start from the supplied URL and define the exact effect to recreate. If the user is vague, inspect the first viewport first and infer the likely target effect.

Before extracting runtime details, prefer a browser context that can evaluate page scripts and inspect canvas/WebGL state. If Chrome DevTools MCP is available, use it for runtime interception. If it is not available, continue with the strongest available browser automation and clearly state that shader/runtime capture may be incomplete.

Record:

  • URL and capture timestamp
  • Viewport sizes to test, usually desktop and mobile
  • Main effect target and fallback effect targets
  • Framework clues from HTML, network requests, globals, and package signatures

2. Runtime Inspection

Capture runtime evidence before simplifying anything.

Inspect:

  • DOM tree, computed styles, fonts, CSS variables, custom properties, and animation names
  • Canvas elements, WebGL contexts, renderer attributes, supported extensions, and resolution scaling
  • Global framework markers such as THREE, BABYLON, __NEXT_DATA__, __NUXT__, vite, GSAP, Lenis, Framer Motion, or custom scene globals
  • Networked JS bundles, images, videos, fonts, LUTs, textures, HDRIs, and data files

When WebGL is present and tooling allows pre-page-load injection, intercept:

  • gl.shaderSource() for vertex and fragment source
  • gl.uniform*() calls for names and observed values
  • gl.bindFramebuffer() to understand multipass render order
  • gl.drawArrays() and gl.drawElements() to understand draw-call order
  • texture and buffer setup when it affects the final look

When 2D Canvas is present, inspect the render loop, draw primitives, image sources, compositing operations, and device-pixel-ratio handling.

3. Extract The Visual Model

Turn the raw capture into a compact visual model:

  • Scene graph or layer stack
  • Asset list with source, dimensions, and role
  • Shader/material list with uniforms and dependencies
  • Motion map with trigger, duration, easing, repeat behavior, and responsive differences
  • Interaction map for pointer, keyboard, scroll, resize, and reduced-motion handling
  • Known uncertainties, such as minified bundle branches or runtime values that could not be observed

Prefer evidence over guesses. If an effect cannot be observed directly, mark it as an inference.

4. Rebuild In OpenDesign

Create a standalone web artifact that can be inspected and edited.

Choose the simplest implementation that preserves the effect:

  • Static DOM/CSS for layout-only references
  • CSS animation or WAAPI for simple motion
  • GSAP for sequenced or scroll-linked motion
  • Canvas 2D for 2D procedural effects
  • Native WebGL2 for compact full-screen shader effects
  • Three.js when the reference uses 3D, cameras, materials, textures, post-processing, or GPGPU patterns

Keep the rebuild self-contained unless a dependency materially reduces complexity. If dependencies are used, load them in a transparent, reviewable way.

Important reconstruction rules:

…

Câu hỏi thường gặp

“OpenDesign artifact” là gì?

Đó là tệp chứa hiệu ứng hình ảnh đã được tái tạo, sẵn sàng để chỉnh sửa và dùng trong dự án của bạn.

Công cụ có sao chép toàn bộ nội dung website không?

Không, công cụ chỉ tập trung vào hiệu ứng hình ảnh và hoạt ảnh, bỏ qua thông tin riêng tư, chữ cụ thể hoặc các tính năng không phải hình ảnh.

Nếu hiệu ứng rất phức tạp (như WebGL) thì sao?

Công cụ cố trích xuất càng nhiều chi tiết càng tốt từ mã và cài đặt để tái tạo hiệu ứng, kể cả các hiệu ứng phức tạp.

Chi tiết

Mô tả gốc của tác giả

Extract visual effects, animation systems, Canvas/WebGL/Shader behavior, and interaction details from a reference website, then rebuild them as an editable OpenDesign web artifact.

repo: nexu-io/open-design

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#1074
Giấy phép
Apache-2.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự