[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DCXYGG03J77G8Z4VNA4S3F":3,"skill-same:01M7DCXYGG03J77G8Z4VNA4S3F":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7DCXYGG03J77G8Z4VNA4S3F","premium-3d-website",null,"Guidelines for building premium 3D websites, focusing on custom WebGL shaders, post-processing, physics-based interactions, smooth animations, preloaders, and device optimization.","Marvellbrazil\u002Fmy-agentic-skills","Marvellbrazil","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184349613?v=4","01M7DCJPCRHP7SZS0T5H1GJZ8F","Marvello Faisal","01M7DCJPDCZDB94VG0QXGC6RC3",5,"MIT","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Farchive\u002Fspecialized-frameworks\u002Fpremium-3d-website\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: premium-3d-website\ndescription: Guidelines for building premium 3D websites, focusing on custom WebGL shaders, post-processing, physics-based interactions, smooth animations, preloaders, and device optimization.\ncategory: frontend\nrisk: safe\nsource: self\nsource_type: self\ndate_added: \"2026-06-25\"\nauthor: Rsmiyani\ntags: [threejs, webgl, shaders, post-processing, creative-coding, premium-design]\ntools: [claude, cursor, gemini]\n---\n\n# Premium 3D Website\n\n## Overview\n\nThis skill provides architectural guidelines and code patterns for developing premium, high-end 3D websites. It targets developers looking to implement advanced WebGL visual effects, custom shader pipelines, interactive physics elements, and immersive page transitions while maintaining high performance.\n\n## When to Use This Skill\n\n- Use when designing premium or award-winning creative websites with 3D elements.\n- Use when integrating Three.js, React Three Fiber (R3F), or Spline with custom shaders (GLSL).\n- Use when implementing post-processing effects like bloom, depth-of-field, or custom film grain.\n- Use when designing interactive preloaders and high-performance asset loading strategies.\n- Use when optimizing complex 3D scenes for mobile responsiveness and performance.\n\n## How It Works\n\n### Step 1: Establish the Render Loop and Scene Architecture\nSetting up a robust WebGL context with proper resize handling and performance-friendly pixel ratios is crucial. Keep pixel ratios capped at a maximum of 2 to avoid rendering too many pixels on high-DPI screens.\n\n### Step 2: Implement Shader Effects and Post-Processing\nIncorporate post-processing pipelines (using `EffectComposer` or `@react-three\u002Fpostprocessing`) to add bloom, chromatic aberration, depth of field, or film grain. Keep pass counts low and combine custom fragment shaders to minimize draw calls.\n\n### Step 3: Integrate Interactive Physics and Motion\nUtilize physics frameworks (such as Cannon.js or Rapier) or procedural spring animations to make 3D objects react to mouse hover, drag, and click inputs with organic feedback.\n\n### Step 4: Asset Pipeline and Preloader\nOptimize 3D models (using Draco compression) and load them using custom loading managers. Render interactive preloaders to entertain users while heavy assets are fetched in the background.\n\n## Examples\n\n### Example 1: Custom Post-processing in React Three Fiber (R3F)\n\n```jsx\nimport { Canvas } from '@react-three\u002Ffiber';\nimport { EffectComposer, Bloom, DepthOfField, Vignette } from '@react-three\u002Fpostprocessing';\n\nexport default function PremiumComposer() {\n  return (\n    \u003CCanvas dpr={[1, 2]} gl={{ powerPreference: \"high-performance\", antialias: false }}>\n      \u003CambientLight intensity={0.5} \u002F>\n      \u003Cmesh>\n        \u003CboxGeometry \u002F>\n        \u003CmeshStandardMaterial emissive=\"orange\" emissiveIntensity={2.0} \u002F>\n      \u003C\u002Fmesh>\n      \n      \u003CEffectComposer disableNormalPass>\n        \u003CDepthOfField focusDistance={0} focalLength={0.02} bokehScale={2} height={480} \u002F>\n        \u003CBloom luminanceThreshold={0.3} luminanceSmoothing={0.9} height={300} \u002F>\n        \u003CVignette eskil={false} offset={0.1} darkness={1.1} \u002F>\n      \u003C\u002FEffectComposer>\n    \u003C\u002FCanvas>\n  );\n}\n```\n\n### Example 2: Custom GLSL Shader Material for Liquid\u002FWavy Effects\n\n```javascript\nimport * as THREE from 'three';\n\nconst CustomWavyMaterial = new THREE.ShaderMaterial({\n  vertexShader: `\n    varying vec2 vUv;\n    uniform float uTime;\n    void main() {\n      vUv = uv;\n      vec3 pos = position;\n      pos.z += sin(pos.x * 5.0 + uTime) * 0.1;\n      pos.z += cos(pos.y * 5.0 + uTime) * 0.1;\n      gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);\n    }\n  `,\n  fragmentShader: `\n    varying vec2 vUv;\n    uniform float uTime;\n    uniform vec3 uColor;\n    void main() {\n      float pulse = 0.5 + 0.5 * sin(uTime + vUv.x * 10.0);\n      gl_FragColor = vec4(uColor * pulse, 1.0);\n    }\n  `,\n  uniforms: {\n    uTime: { value: 0.0 },\n    uColor: { value: new THREE.Color('#3b82f6') }\n  }\n});\n```\n\n## Best Practices\n\n- ✅ Set `dpr={[1, 2]}` to restrict the device pixel ratio to a maximum of 2.\n- ✅ Disable antialiasing on the WebGLRenderer when post-processing is active to prevent double-aliasing performance penalties.\n- ✅ Bake ambient occlusion, lighting, and shadows into textures using Blender or other 3D software instead of using dynamic lights and real-time shadows.\n- ✅ Use instance rendering (`THREE.InstancedMesh` or R3F `\u003CInstances>`) for scenes containing multiple identical meshes.\n- ❌ Avoid using uncompressed GLTF\u002FOBJ models. Always compress models using Draco or Meshopt.\n- ❌ Avoid real-time shadow maps (such as `THREE.DirectionalLightShadow`) on mobile or low-end devices due to the heavy performance overhead.\n\n## Limitations\n\n- This skill does not replace environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, or safety boundaries are missing.\n- Complex shader mathematics and advanced physics simulation bounds require manual testing across different device chipsets.\n\n## Security & Safety Notes\n\n- Verify that external 3D model URLs (loaded via `GLTFLoader`) are hosted on trusted, secure CDNs (HTTPS).\n- Do not execute arbitrary, unvalidated shell scripts or use unpinned NPM packages to optimize assets.\n\n## Common Pitfalls\n\n- **Problem**: Severe lag\u002Fframerate drop on mobile or high-DPI (Retina) screens.\n  **Solution**: Ensure the pixel ratio is limited to 2 (`renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2))`) and disable unused post-processing passes.\n- **Problem**: Long loading times and white screens during initialization.\n  **Solution**: Use a loading manager (`THREE.LoadingManager`) and display a responsive, interactive preloader to keep the user engaged.\n\n## Related Skills\n\n- `@3d-web-experience` - Core WebGL, Three.js, and Spline concepts.\n- `@scroll-experience` - Integrating 3D animation with scroll controllers.\n- `@performance-optimizer` - General code execution performance tuning.\n","# Premium 3D Website\n\n## Overview\n\nThis skill provides architectural guidelines and code patterns for developing premium, high-end 3D websites. It targets developers looking to implement advanced WebGL visual effects, custom shader pipelines, interactive physics elements, and immersive page transitions while maintaining high performance.\n\n## When to Use This Skill\n\n- Use when designing premium or award-winning creative websites with 3D elements.\n- Use when integrating Three.js, React Three Fiber (R3F), or Spline with custom shaders (GLSL).\n- Use when implementing post-processing effects like bloom, depth-of-field, or custom film grain.\n- Use when designing interactive preloaders and high-performance asset loading strategies.\n- Use when optimizing complex 3D scenes for mobile responsiveness and performance.\n\n## How It Works\n\n### Step 1: Establish the Render Loop and Scene Architecture\nSetting up a robust WebGL context with proper resize handling and performance-friendly pixel ratios is crucial. Keep pixel ratios capped at a maximum of 2 to avoid rendering too many pixels on high-DPI screens.\n\n### Step 2: Implement Shader Effects and Post-Processing\nIncorporate post-processing pipelines (using `EffectComposer` or `@react-three\u002Fpostprocessing`) to add bloom, chromatic aberration, depth of field, or film grain. Keep pass counts low and combine custom fragment shaders to minimize draw calls.\n\n### Step 3: Integrate Interactive Physics and Motion\nUtilize physics frameworks (such as Cannon.js or Rapier) or procedural spring animations to make 3D objects react to mouse hover, drag, and click inputs with organic feedback.\n\n### Step 4: Asset Pipeline and Preloader\nOptimize 3D models (using Draco compression) and load them using custom loading managers. Render interactive preloaders to entertain users while heavy assets are fetched in the background.\n\n## Examples\n\n### Example 1: Custom Post-processing in React Three Fiber (R3F)\n\n```jsx\nimport { Canvas } from '@react-three\u002Ffiber';\nimport { EffectComposer, Bloom, DepthOfField, Vignette } from '@react-three\u002Fpostprocessing';\n\nexport default function PremiumComposer() {\n  return (\n    \u003CCanvas dpr={[1, 2]} gl={{ powerPreference: \"high-performance\", antialias: false }}>\n      \u003CambientLight intensity={0.5} \u002F>\n      \u003Cmesh>\n        \u003CboxGeometry \u002F>\n        \u003CmeshStandardMaterial emissive=\"orange\" emissiveIntensity={2.0} \u002F>\n      \u003C\u002Fmesh>\n      \n      \u003CEffectComposer disableNormalPass>\n        \u003CDepthOfField focusDistance={0} focalLength={0.02} bokehScale={2} height={480} \u002F>\n        \u003CBloom luminanceThreshold={0.3} luminanceSmoothing={0.9} height={300} \u002F>\n        \u003CVignette eskil={false} offset={0.1} darkness={1.1} \u002F>\n      \u003C\u002FEffectComposer>\n    \u003C\u002FCanvas>\n  );\n}\n```\n\n### Example 2: Custom GLSL Shader Material for Liquid\u002FWavy Effects\n\n```javascript\nimport * as THREE from 'three';\n\nconst CustomWavyMaterial = new THREE.ShaderMaterial({\n  vertexShader: `\n    varying vec2 vUv;\n    uniform float uTime;\n    void main() {\n      vUv = uv;\n      vec3 pos = position;\n      pos.z += sin(pos.x * 5.0 + uTime) * 0.1;\n      pos.z += cos(pos.y * 5.0 + uTime) * 0.1;\n      gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);\n    }\n  `,\n  fragmentShader: `\n    varying vec2 vUv;\n    uniform float uTime;\n    uniform vec3 uColor;\n    void main() {\n      float pulse = 0.5 + 0.5 * sin(uTime + vUv.x * 10.0);\n      gl_FragColor = vec4(uColor * pulse, 1.0);\n    }\n  `,\n  uniforms: {\n    uTime: { value: 0.0 },\n    uColor: { value: new THREE.Color('#3b82f6') }\n  }\n});\n```\n\n## Best Practices\n\n- ✅ Set `dpr={[1, 2]}` to restrict the device pixel ratio to a maximum of 2.\n- ✅ Disable antialiasing on the WebGLRenderer when post-processing is active to prevent double-aliasing performance penalties.\n- ✅ Bake ambient occlusion, lighting, and shadows into textures using Blender or other 3D software instead of using dynamic lights and real-time shadows.\n- ✅ Use instance rendering (`THREE.InstancedMesh` or R3F `\u003CInstances>`) for scenes containing multiple identical meshes.\n- ❌ Avoid using uncompressed GLTF\u002FOBJ models. Always compress models using Draco or Meshopt.\n- ❌ Avoid real-time shadow maps (such as `THREE.DirectionalLightShadow`) on mobile or low-end devices due to the heavy performance overhead.\n\n## Limitations\n\n- This skill does not replace environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, or safety boundaries are missing.\n- Complex shader mathematics and advanced physics simulation bounds require manual testing across different device chipsets.\n\n## Security & Safety Notes\n\n- Verify that external 3D model URLs (loaded via `GLTFLoader`) are hosted on trusted, secure CDNs (HTTPS).\n- Do not execute arbitrary, unvalidated shell scripts or use unpinned NPM packages to optimize assets.\n\n## Common Pitfalls\n\n- **Problem**: Severe lag\u002Fframerate drop on mobile or high-DPI (Retina) screens.\n  **Solution**: Ensure the pixel ratio is limited to 2 (`renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2))`) and disable unused post-processing passes.\n- **Problem**: Long loading times and white screens during initialization.\n  **Solution**: Use a loading manager (`THREE.LoadingManager`) and display a responsive, interactive preloader to keep the user engaged.\n\n## Related Skills\n\n- `@3d-web-experience` - Core WebGL, Three.js, and Spline concepts.\n- `@scroll-experience` - Integrating 3D animation with scroll controllers.\n- `@performance-optimizer` - General code execution performance tuning.\n",{"name":5,"risk":24,"tags":25,"tools":32,"author":36,"source":37,"category":38,"date_added":39,"description":7,"source_type":37},"safe",[26,27,28,29,30,31],"threejs","webgl","shaders","post-processing","creative-coding","premium-design",[33,34,35],"claude","cursor","gemini","Rsmiyani","self","frontend","2026-06-25","main","42203fde5eb692ba254e058168ee1af75855fcb4","archive\u002Fspecialized-frameworks\u002Fpremium-3d-website",0,"https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills","skills.marvellofaisal.me","https:\u002F\u002Fgithub.com\u002FMarvellbrazil","marvellofaisal.me","Software Engineering Student | Backend & API Developer | Tech Enthusiast | Homelabber","2026-10-23 22:23:52",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Marvellbrazil\u002Fmy-agentic-skills --skill premium-3d-website",{"tool":56,"command":57},"bunx","bunx skills add Marvellbrazil\u002Fmy-agentic-skills --skill premium-3d-website",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Marvellbrazil\u002Fmy-agentic-skills --skill premium-3d-website","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Farchive\u002Fspecialized-frameworks\u002Fpremium-3d-website\u002FSKILL.md",true,[],[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7DDQP2F4E42AMTGY0VCJ6G2","writing-guidelines","Review docs\u002Fprose for Writing Guidelines compliance. Use when asked to \"review my docs\", \"check writing style\", \"audit prose\", \"review docs voice and tone\", or \"check this page against the writing handbook\".","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-guidelines\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7DDQM00XGSGT8V797C89R2E","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7DDQEF1HP9CMH88HMN9MCBA","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7DDQA32ZAG7J4PMRXRSQ3NQ","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7DDQ5482QSC0FC4NX107FVY","web-perf","Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-perf\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7DDQ1GZ7Z2Y67460SJJEMC0","using-agent-skills","Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of work at hand. This is the meta-skill that governs how all other skills are discovered and invoked.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fusing-agent-skills\u002FSKILL.md",[],[]]