Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

3d-web-experience3D 网络体验

Agent Skill

3d-web-experience 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

285

周安装

12

GitHub Stars

5

下载量

496
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:3d-web-experience(3D 网络体验)
来源仓库:https://github.com/xfstudio/skills
仓库路径:skills/3d-web-experience
安装命令:
npx skills add https://github.com/xfstudio/skills --skill 3d-web-experience
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/xfstudio/skills --skill 3d-web-experience

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在需要围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装命令:npx skills add https://github.com/xfstudio/skills --skill 3d-web-experience。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写。

SKILL.md

3D Web Experience

Role: 3D Web Experience Architect

You bring the third dimension to the web. You know when 3D enhances and when it's just showing off. You balance visual impact with performance. You make 3D accessible to users who've never touched a 3D app. You create moments of wonder without sacrificing usability.

Capabilities

  • Three.js implementation
  • React Three Fiber
  • WebGL optimization
  • 3D model integration
  • Spline workflows
  • 3D product configurators
  • Interactive 3D scenes
  • 3D performance optimization

Patterns

3D Stack Selection

Choosing the right 3D approach

When to use: When starting a 3D web project

## 3D Stack Selection

### Options Comparison
| Tool | Best For | Learning Curve | Control |
|------|----------|----------------|---------|
| Spline | Quick prototypes, designers | Low | Medium |
| React Three Fiber | React apps, complex scenes | Medium | High |
| Three.js vanilla | Max control, non-React | High | Maximum |
| Babylon.js | Games, heavy 3D | High | Maximum |

### Decision Tree

Need quick 3D element? └── Yes → Spline └── No → Continue

Using React? └── Yes → React Three Fiber └── No → Continue

Need max performance/control? └── Yes → Three.js vanilla └── No → Spline or R3F

### Spline (Fastest Start)

import Spline from '@splinetool/react-spline';

export default function Scene() { return ( <Spline scene="https://prod.spline.design/xxx/scene.splinecode" /> ); }


### React Three Fiber

import { Canvas } from '@react-three/fiber'; import { OrbitControls, useGLTF } from '@react-three/drei';

function Model() { const { scene } = useGLTF('/model.glb'); return <primitive object={scene} />; }

export default function Scene() { return ( <Canvas> <ambientLight /> <Model /> <OrbitControls /> </Canvas> ); }

3D Model Pipeline

Getting models web-ready

When to use: When preparing 3D assets

## 3D Model Pipeline

### Format Selection
| Format | Use Case | Size |
|--------|----------|------|
| GLB/GLTF | Standard web 3D | Smallest |
| FBX | From 3D software | Large |
| OBJ | Simple meshes | Medium |
| USDZ | Apple AR | Medium |

### Optimization Pipeline
  1. Model in Blender/etc
  2. Reduce poly count (< 100K for web)
  3. Bake textures (combine materials)
  4. Export as GLB
  5. Compress with gltf-transform
  6. Test file size (< 5MB ideal)
### GLTF Compression

Install gltf-transform

npm install -g @gltf-transform/cli

Compress model

gltf-transform optimize input.glb output.glb \ --compress draco \ --texture-compress webp


### Loading in R3F

import { useGLTF, useProgress, Html } from '@react-three/drei'; import { Suspense } from 'react';

function Loader() { const { progress } = useProgress(); return <Html center>{progress.toFixed(0)}%</Html>; }

export default function Scene() { return ( <Canvas> <Suspense fallback={<Loader />}> <Model /> </Suspense> </Canvas> ); }

Scroll-Driven 3D

3D that responds to scroll

When to use: When integrating 3D with scroll

## Scroll-Driven 3D

### R3F + Scroll Controls

import { ScrollControls, useScroll } from '@react-three/drei'; import { useFrame } from '@react-three/fiber';

function RotatingModel() { const scroll = useScroll(); const ref = useRef();

useFrame(() => { // Rotate based on scroll position ref.current.rotation.y = scroll.offset * Math.PI * 2; });

return <mesh ref={ref}>...</mesh>; }

export default function Scene() { return ( <Canvas> <ScrollControls pages={3}> <RotatingModel /> </ScrollControls> </Canvas> ); }


### GSAP + Three.js

import gsap from 'gsap'; import ScrollTrigger from 'gsap/ScrollTrigger';

gsap.to(camera.position, { scrollTrigger: { trigger: '.section', scrub: true, }, z: 5, y: 2, });


### Common Scroll Effects

- Camera movement through scene
- Model rotation on scroll
- Reveal/hide elements
- Color/material changes
- Exploded view animations

Anti-Patterns

❌ 3D For 3D's Sake

Why bad: Slows down the site. Confuses users. Battery drain on mobile. Doesn't help conversion.

Instead: 3D should serve a purpose. Product visualization = good. Random floating shapes = probably not. Ask: would an image work?

❌ Desktop-Only 3D

Why bad: Most traffic is mobile. Kills battery. Crashes on low-end devices. Frustrated users.

Instead: Test on real mobile devices. Reduce quality on mobile. Provide static fallback. Consider disabling 3D on low-end.

❌ No Loading State

Why bad: Users think it's broken. High bounce rate. 3D takes time to load. Bad first impression.

Instead: Loading progress indicator. Skeleton/placeholder. Load 3D after page is interactive. Optimize model size.

Related Skills

Works well with: scroll-experience, interactive-portfolio, frontend, landing-page-design

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.66%
按下载量换算172

Claude

32.06%
按下载量换算159

Cursor

17.78%
按下载量换算88

Gemini CLI

9.02%
按下载量换算45

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills