--- name: "3d-web-experience-v2" description: "3D Web Experience workflow skill. Use this skill when the user needs Expert in building 3D experiences for the web - Three.js, React and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off." version: "0.0.1" category: "fullstack-web" tags: - "d-web-experience-v2" - "d-web-experience" - "expert" - "building" - "experiences" - "for" - "the" - "web" - "omni-enhanced" complexity: "advanced" risk: "safe" tools: - "codex-cli" - "claude-code" - "cursor" - "gemini-cli" - "opencode" source: "omni-team" author: "Omni Skills Team" date_added: "2026-04-15" date_updated: "2026-04-21" source_type: "omni-curated" maintainer: "Omni Skills Team" family_id: "3d-web-experience-v2" family_name: "3D Web Experience" variant_id: "omni" variant_label: "Omni Curated" is_default_variant: true derived_from: "skills/3d-web-experience-v2" upstream_skill: "skills/3d-web-experience-v2" upstream_author: "sickn33" upstream_source: "community" upstream_pr: "91" upstream_head_repo: "diegosouzapw/awesome-omni-skills" upstream_head_sha: "8fab9480d35a3f46aca4c7314a9d34bd60d77f92" curation_surface: "skills_omni" enhanced_origin: "omni-skills-private" source_repo: "diegosouzapw/awesome-omni-skills" replaces: - "3d-web-experience-v2" --- # 3D Web Experience ## Overview This public intake copy packages `plugins/antigravity-awesome-skills/skills/3d-web-experience` from `https://github.com/sickn33/antigravity-awesome-skills` into the native Omni Skills editorial shape without hiding its origin. Use it when the operator needs the upstream workflow, support files, and repository context to stay intact while the public validator and private enhancer continue their normal downstream flow. This intake keeps the copied upstream files intact and uses `metadata.json` plus `ORIGIN.md` as the provenance anchor for review. # 3D Web Experience 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. 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. ### Expertise - Three.js - React Three Fiber - Spline - WebGL - GLSL shaders - 3D optimization - Model preparation Imported source sections that did not map cleanly to the public headings are still preserved below or in the support files. Notable imported sections: Capabilities, Patterns, 3D Stack Selection, 3D Model Pipeline, Scroll-Driven 3D, 3D Performance. ## When to Use This Skill Use this section as the trigger filter. It should make the activation boundary explicit before the operator loads files, runs commands, or opens a pull request. - User mentions or implies: 3D website - User mentions or implies: three.js - User mentions or implies: WebGL - User mentions or implies: react three fiber - User mentions or implies: 3D experience - User mentions or implies: spline ## Operating Table | Situation | Start here | Why it matters | | --- | --- | --- | | First-time use | `metadata.json` | Confirms repository, branch, commit, and imported path before touching the copied workflow | | Provenance review | `ORIGIN.md` | Gives reviewers a plain-language audit trail for the imported source | | Workflow execution | `SKILL.md` | Starts with the smallest copied file that materially changes execution | | Supporting context | `SKILL.md` | Adds the next most relevant copied source file without loading the entire package | | Handoff decision | `## Related Skills` | Helps the operator switch to a stronger native skill when the task drifts | ## Workflow This workflow is intentionally editorial and operational at the same time. It keeps the imported source useful to the operator while still satisfying the public intake standards that feed the downstream enhancer flow. 1. Confirm the user goal, the scope of the imported workflow, and whether this skill is still the right router for the task. 2. Read the overview and provenance files before loading any copied upstream support files. 3. Load only the references, examples, prompts, or scripts that materially change the outcome for the current request. 4. Execute the upstream workflow while keeping provenance and source boundaries explicit in the working notes. 5. Validate the result against the upstream expectations and the evidence you can point to in the copied files. 6. Escalate or hand off to a related skill when the work moves out of this imported workflow's center of gravity. 7. Before merge or closure, record what was used, what changed, and what the reviewer still needs to verify. ### Imported Workflow Notes #### Imported: Capabilities - Three.js implementation - React Three Fiber - WebGL optimization - 3D model integration - Spline workflows - 3D product configurators - Interactive 3D scenes - 3D performance optimization ## Examples ### Example 1: Ask for the upstream workflow directly ```text Use @3d-web-experience-v2 to handle . Start from the copied upstream workflow, load only the files that change the outcome, and keep provenance visible in the answer. ``` **Explanation:** This is the safest starting point when the operator needs the imported workflow, but not the entire repository. ### Example 2: Ask for a provenance-grounded review ```text Review @3d-web-experience-v2 against metadata.json and ORIGIN.md, then explain which copied upstream files you would load first and why. ``` **Explanation:** Use this before review or troubleshooting when you need a precise, auditable explanation of origin and file selection. ### Example 3: Narrow the copied support files before execution ```text Use @3d-web-experience-v2 for . Load only the copied references, examples, or scripts that change the outcome, and name the files explicitly before proceeding. ``` **Explanation:** This keeps the skill aligned with progressive disclosure instead of loading the whole copied package by default. ### Example 4: Build a reviewer packet ```text Review @3d-web-experience-v2 using the copied upstream files plus provenance, then summarize any gaps before merge. ``` **Explanation:** This is useful when the PR is waiting for human review and you want a repeatable audit packet. ## Best Practices Treat the generated public skill as a reviewable packaging layer around the upstream repository. The goal is to keep provenance explicit and load only the copied source material that materially improves execution. - Keep the imported skill grounded in the upstream repository; do not invent steps that the source material cannot support. - Prefer the smallest useful set of support files so the workflow stays auditable and fast to review. - Keep provenance, source commit, and imported file paths visible in notes and PR descriptions. - Point directly at the copied upstream files that justify the workflow instead of relying on generic review boilerplate. - Treat generated examples as scaffolding; adapt them to the concrete task before execution. - Route to a stronger native skill when architecture, debugging, design, or security concerns become dominant. ## Troubleshooting ### Problem: The operator skipped the imported context and answered too generically **Symptoms:** The result ignores the upstream workflow in `plugins/antigravity-awesome-skills/skills/3d-web-experience`, fails to mention provenance, or does not use any copied source files at all. **Solution:** Re-open `metadata.json`, `ORIGIN.md`, and the most relevant copied upstream files. Load only the files that materially change the answer, then restate the provenance before continuing. ### Problem: The imported workflow feels incomplete during review **Symptoms:** Reviewers can see the generated `SKILL.md`, but they cannot quickly tell which references, examples, or scripts matter for the current task. **Solution:** Point at the exact copied references, examples, scripts, or assets that justify the path you took. If the gap is still real, record it in the PR instead of hiding it. ### Problem: The task drifted into a different specialization **Symptoms:** The imported skill starts in the right place, but the work turns into debugging, architecture, design, security, or release orchestration that a native skill handles better. **Solution:** Use the related skills section to hand off deliberately. Keep the imported provenance visible so the next skill inherits the right context instead of starting blind. ## Related Skills - `@00-andruia-consultant-v2` - Use when the work is better handled by that native specialization after this imported skill establishes context. - `@10-andruia-skill-smith-v2` - Use when the work is better handled by that native specialization after this imported skill establishes context. - `@20-andruia-niche-intelligence-v2` - Use when the work is better handled by that native specialization after this imported skill establishes context. - `@2d-games` - Use when the work is better handled by that native specialization after this imported skill establishes context. ## Additional Resources Use this support matrix and the linked files below as the operator packet for this imported skill. They should reflect real copied source material, not generic scaffolding. | Resource family | What it gives the reviewer | Example path | | --- | --- | --- | | `references` | copied reference notes, guides, or background material from upstream | `references/n/a` | | `examples` | worked examples or reusable prompts copied from upstream | `examples/n/a` | | `scripts` | upstream helper scripts that change execution or validation | `scripts/n/a` | | `agents` | routing or delegation notes that are genuinely part of the imported package | `agents/n/a` | | `assets` | supporting assets or schemas copied from the source package | `assets/n/a` | ### Imported Reference Notes #### Imported: Patterns ### 3D Stack Selection Choosing the right 3D approach **When to use**: When starting a 3D web project #### Imported: 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) ```jsx import Spline from '@splinetool/react-spline'; export default function Scene() { return ( ); } ``` ### React Three Fiber ```jsx import { Canvas } from '@react-three/fiber'; import { OrbitControls, useGLTF } from '@react-three/drei'; function Model() { const { scene } = useGLTF('/model.glb'); return ; } export default function Scene() { return ( ); } ``` ### 3D Model Pipeline Getting models web-ready **When to use**: When preparing 3D assets #### Imported: 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 ```bash # 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 ```jsx import { useGLTF, useProgress, Html } from '@react-three/drei'; import { Suspense } from 'react'; function Loader() { const { progress } = useProgress(); return {progress.toFixed(0)}%; } export default function Scene() { return ( }> ); } ``` ### Scroll-Driven 3D 3D that responds to scroll **When to use**: When integrating 3D with scroll #### Imported: Scroll-Driven 3D ### R3F + Scroll Controls ```jsx 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 ...; } export default function Scene() { return ( ); } ``` ### GSAP + Three.js ```javascript 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 ### Performance Optimization Keeping 3D fast **When to use**: Always - 3D is expensive #### Imported: 3D Performance ### Performance Targets | Device | Target FPS | Max Triangles | |--------|------------|---------------| | Desktop | 60fps | 500K | | Mobile | 30-60fps | 100K | | Low-end | 30fps | 50K | ### Quick Wins ```jsx // 1. Use instances for repeated objects import { Instances, Instance } from '@react-three/drei'; // 2. Limit lights // Just one // 3. Use LOD (Level of Detail) import { LOD } from 'three'; // 4. Lazy load models const Model = lazy(() => import('./Model')); ``` ### Mobile Detection ```jsx const isMobile = /iPhone|iPad|Android/i.test(navigator.userAgent); ``` ### Fallback Strategy ```jsx function Scene() { const [webGLSupported, setWebGLSupported] = useState(true); if (!webGLSupported) { return 3D preview; } return ; } ``` #### Imported: Validation Checks ### No 3D Loading Indicator Severity: HIGH Message: No loading indicator for 3D content. Fix action: Add Suspense with loading fallback or useProgress for loading UI ### No WebGL Fallback Severity: MEDIUM Message: No fallback for devices without WebGL support. Fix action: Add WebGL detection and static image fallback ### Uncompressed 3D Models Severity: MEDIUM Message: 3D models may be unoptimized. Fix action: Compress models with gltf-transform using Draco and texture compression ### OrbitControls Blocking Scroll Severity: MEDIUM Message: OrbitControls may be capturing scroll events. Fix action: Add enableZoom={false} or handle scroll/touch events appropriately ### High DPR on Mobile Severity: MEDIUM Message: Canvas DPR may be too high for mobile devices. Fix action: Limit DPR to 1 on mobile devices for better performance #### Imported: Collaboration ### Delegation Triggers - scroll animation|parallax|GSAP -> scroll-experience (Scroll integration) - react|next|frontend -> frontend (React integration) - performance|slow|fps -> performance-hunter (3D performance optimization) - product page|landing|marketing -> landing-page-design (Product landing with 3D) ### Product Configurator Skills: 3d-web-experience, frontend, landing-page-design Workflow: ``` 1. Prepare 3D product model 2. Set up React Three Fiber scene 3. Add interactivity (colors, variants) 4. Integrate with product page 5. Optimize for mobile 6. Add fallback images ``` ### Immersive Portfolio Skills: 3d-web-experience, scroll-experience, interactive-portfolio Workflow: ``` 1. Design 3D scene concept 2. Build scene in Spline or R3F 3. Add scroll-driven animations 4. Integrate with portfolio sections 5. Ensure mobile fallback 6. Optimize performance ``` #### Imported: Limitations - Use this skill only when the task clearly matches the scope described above. - Do not treat the output as a substitute for environment-specific validation, testing, or expert review. - Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.