[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CFR0P1B4MP3XZ5ARGYYGY9":3,"skill-same:01M7CFR0P1B4MP3XZ5ARGYYGY9":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":5,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7CFR0P1B4MP3XZ5ARGYYGY9","threejs",null,"Use when building or debugging interactive 3D scenes on the web with Three.js (scene\u002Fcamera\u002Frenderer, lights\u002Fmaterials, GLTF loading, controls, performance). Helpful for designers shipping 3D UI moments.","getedgehq\u002Fskills","getedgehq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F327350993?v=4","01M7CEH5YJQYF1PB3MDG9PA5HX","01M7CEH5ZAPY8TX4H3E04KM875",5,"MIT","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fthreejs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fthreejs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: threejs\ndescription: Use when building or debugging interactive 3D scenes on the web with Three.js (scene\u002Fcamera\u002Frenderer, lights\u002Fmaterials, GLTF loading, controls, performance). Helpful for designers shipping 3D UI moments.\nmetadata:\n  author: Meng To\n  source: https:\u002F\u002Fgithub.com\u002FMengTo\u002Fskills\u002Ftree\u002Fa965851e27dc179e693fde1bee94457a64e1a7a5\u002Fagent-skills\u002Fweb-design\u002Fthreejs\n  license: MIT\n---\n\n# Three.js — WebGL 3D Scenes Skill\n\n## When to use\n- Real 3D: product spins, interactive hero scenes, shaders\u002Fmaterial effects, 3D data viz\n- You need full control beyond “background effects”\n- You can budget time for asset pipeline + performance tuning\n\n## Core mental model\n- Create:\n  - `Scene` (root graph)\n  - `Camera` (Perspective\u002FOrthographic)\n  - `Renderer` (`WebGLRenderer`)\n  - `Mesh` = `Geometry` + `Material`\n  - Lights (if using non-unlit materials)\n- Render loop:\n  - `requestAnimationFrame(animate)`\n  - Update time-based animations, controls, mixers, then `renderer.render(scene, camera)`\n\n## Key APIs\u002Fpatterns\n- Setup:\n  - `const renderer = new THREE.WebGLRenderer({ canvas, antialias, alpha })`\n  - `renderer.setSize(width, height, false)`\n  - `renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2))`\n- Camera:\n  - `camera.aspect = width \u002F height; camera.updateProjectionMatrix()`\n- Scene graph:\n  - `scene.add(object)` \u002F `object.position\u002Frotation\u002Fscale`\n- Loading assets:\n  - `GLTFLoader` (models), `TextureLoader` (images), `DRACOLoader` (compressed glTF)\n- Controls (common):\n  - `OrbitControls` (debug\u002Fproduct), `PointerLockControls` (FPS), custom pointer handlers\n- Cleanup (important in SPAs):\n  - `geometry.dispose()`, `material.dispose()`, `texture.dispose()`, `renderer.dispose()`\n  - Remove event listeners; cancel RAF.\n\n## Common pitfalls\n- Not handling resize → stretched\u002Fcropped rendering\n- Too high devicePixelRatio → mobile GPU meltdown\n- Leaking WebGL resources (not disposing) → crashes after route changes\n- Loading huge textures\u002Fmodels → slow start; use compressed textures, Draco\u002FKTX2, smaller maps\n- Using too many lights\u002Fshadows → expensive; fake lighting with baked textures when possible\n\n## Quick recipes\n\n### 1) Minimal spinning cube\n```js\nimport * as THREE from \"three\";\n\nconst canvas = document.querySelector(\"#c\");\nconst renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });\n\nconst scene = new THREE.Scene();\nconst camera = new THREE.PerspectiveCamera(45, 1, 0.1, 100);\ncamera.position.set(0, 0, 4);\n\nconst geom = new THREE.BoxGeometry(1, 1, 1);\nconst mat = new THREE.MeshStandardMaterial({ color: 0x7c3aed });\nconst mesh = new THREE.Mesh(geom, mat);\nscene.add(mesh);\n\nscene.add(new THREE.AmbientLight(0xffffff, 0.8));\nconst dir = new THREE.DirectionalLight(0xffffff, 0.8);\ndir.position.set(2, 2, 2);\nscene.add(dir);\n\nfunction resize() {\n  const w = canvas.clientWidth;\n  const h = canvas.clientHeight;\n  renderer.setSize(w, h, false);\n  renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));\n  camera.aspect = w \u002F h;\n  camera.updateProjectionMatrix();\n}\nwindow.addEventListener(\"resize\", resize);\nresize();\n\nfunction animate(t) {\n  mesh.rotation.y = t * 0.0006;\n  renderer.render(scene, camera);\n  requestAnimationFrame(animate);\n}\nrequestAnimationFrame(animate);\n```\n\n### 2) Respect reduced motion\n- If `prefers-reduced-motion: reduce`, render a still frame (no RAF) or slow updates.\n\n## What to ask the user\n- Is this decorative (hero) or functional 3D (product viewer)?\n- Target devices: mobile? older iPhones?\n- Asset format availability (glTF, HDRI, textures) and file size constraints\n- Accessibility\u002Freduced motion requirements\n","# Three.js — WebGL 3D Scenes Skill\n\n## When to use\n- Real 3D: product spins, interactive hero scenes, shaders\u002Fmaterial effects, 3D data viz\n- You need full control beyond “background effects”\n- You can budget time for asset pipeline + performance tuning\n\n## Core mental model\n- Create:\n  - `Scene` (root graph)\n  - `Camera` (Perspective\u002FOrthographic)\n  - `Renderer` (`WebGLRenderer`)\n  - `Mesh` = `Geometry` + `Material`\n  - Lights (if using non-unlit materials)\n- Render loop:\n  - `requestAnimationFrame(animate)`\n  - Update time-based animations, controls, mixers, then `renderer.render(scene, camera)`\n\n## Key APIs\u002Fpatterns\n- Setup:\n  - `const renderer = new THREE.WebGLRenderer({ canvas, antialias, alpha })`\n  - `renderer.setSize(width, height, false)`\n  - `renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2))`\n- Camera:\n  - `camera.aspect = width \u002F height; camera.updateProjectionMatrix()`\n- Scene graph:\n  - `scene.add(object)` \u002F `object.position\u002Frotation\u002Fscale`\n- Loading assets:\n  - `GLTFLoader` (models), `TextureLoader` (images), `DRACOLoader` (compressed glTF)\n- Controls (common):\n  - `OrbitControls` (debug\u002Fproduct), `PointerLockControls` (FPS), custom pointer handlers\n- Cleanup (important in SPAs):\n  - `geometry.dispose()`, `material.dispose()`, `texture.dispose()`, `renderer.dispose()`\n  - Remove event listeners; cancel RAF.\n\n## Common pitfalls\n- Not handling resize → stretched\u002Fcropped rendering\n- Too high devicePixelRatio → mobile GPU meltdown\n- Leaking WebGL resources (not disposing) → crashes after route changes\n- Loading huge textures\u002Fmodels → slow start; use compressed textures, Draco\u002FKTX2, smaller maps\n- Using too many lights\u002Fshadows → expensive; fake lighting with baked textures when possible\n\n## Quick recipes\n\n### 1) Minimal spinning cube\n```js\nimport * as THREE from \"three\";\n\nconst canvas = document.querySelector(\"#c\");\nconst renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });\n\nconst scene = new THREE.Scene();\nconst camera = new THREE.PerspectiveCamera(45, 1, 0.1, 100);\ncamera.position.set(0, 0, 4);\n\nconst geom = new THREE.BoxGeometry(1, 1, 1);\nconst mat = new THREE.MeshStandardMaterial({ color: 0x7c3aed });\nconst mesh = new THREE.Mesh(geom, mat);\nscene.add(mesh);\n\nscene.add(new THREE.AmbientLight(0xffffff, 0.8));\nconst dir = new THREE.DirectionalLight(0xffffff, 0.8);\ndir.position.set(2, 2, 2);\nscene.add(dir);\n\nfunction resize() {\n  const w = canvas.clientWidth;\n  const h = canvas.clientHeight;\n  renderer.setSize(w, h, false);\n  renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));\n  camera.aspect = w \u002F h;\n  camera.updateProjectionMatrix();\n}\nwindow.addEventListener(\"resize\", resize);\nresize();\n\nfunction animate(t) {\n  mesh.rotation.y = t * 0.0006;\n  renderer.render(scene, camera);\n  requestAnimationFrame(animate);\n}\nrequestAnimationFrame(animate);\n```\n\n### 2) Respect reduced motion\n- If `prefers-reduced-motion: reduce`, render a still frame (no RAF) or slow updates.\n\n## What to ask the user\n- Is this decorative (hero) or functional 3D (product viewer)?\n- Target devices: mobile? older iPhones?\n- Asset format availability (glTF, HDRI, textures) and file size constraints\n- Accessibility\u002Freduced motion requirements\n",{"name":5,"metadata":24,"description":7},{"author":25,"source":26,"license":14},"Meng To","https:\u002F\u002Fgithub.com\u002FMengTo\u002Fskills\u002Ftree\u002Fa965851e27dc179e693fde1bee94457a64e1a7a5\u002Fagent-skills\u002Fweb-design\u002Fthreejs","main","01960aeb08909dbd0c1a2d4f219cdb300099b8b9",0,"https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills","https:\u002F\u002Fgetedge.cc","https:\u002F\u002Fgithub.com\u002Fgetedgehq","2026-11-12 10:05:02",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add getedgehq\u002Fskills --skill threejs",{"tool":40,"command":41},"bunx","bunx skills add getedgehq\u002Fskills --skill threejs",{"tool":43,"command":44},"pnpm","pnpm dlx skills add getedgehq\u002Fskills --skill threejs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fthreejs\u002FSKILL.md",true,[48,54,60,64,68,72],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"demo\u002Findex.html","REFERENCE","参考文档",16255,"https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fthreejs\u002Fdemo\u002Findex.html",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"demo\u002Fpreview.jpg","ASSET","资产文件",39601,"https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fthreejs\u002Fdemo\u002Fpreview.jpg",{"path":61,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":62,"sourceHtmlUrl":63},"demo\u002FPROMPT.md",1903,"https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fthreejs\u002Fdemo\u002FPROMPT.md",{"path":65,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":66,"sourceHtmlUrl":67},"DERIVATION.json",4064,"https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fthreejs\u002FDERIVATION.json",{"path":69,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":15},"LICENSE","许可证",1064,{"path":73,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":74,"sourceHtmlUrl":75},"REFERENCES.md",49,"https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fthreejs\u002FREFERENCES.md",[77,86,94,101,108,116],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":81,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7CFVPC1P7JN60J5AN9AZZ5G","zero-downtime-cloud-move","Runbook for moving a live app from one cloud to another (Google Cloud to AWS, AWS to Google Cloud, a PaaS to your own account, or one storage provider to another) without downtime. The agent inventories what is really running, builds the new stack next to the old one, keeps a one-line rollback for every phase, proves the new stack with real workloads before any traffic moves, cuts over with a checklist, watches a fixed window after the switch, copies data with an idempotent job whose second pass must report 0 left, and deletes the old cloud last. Use when someone asks to migrate, move or replatform a production app, switch cloud providers, move a backend, database files or object storage, plan a DNS cutover, or decommission an old cloud account.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fzero-downtime-cloud-move\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fzero-downtime-cloud-move\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":81,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7CFVH8VN6G2KE8PBFD1CRMN","zayats-ceo-branding","Build an evidence-based CEO positioning paper, Personal Branding Roadmap, and editorial workflow using Marina Zayats's public method. Use for executive branding, LinkedIn ghostwriting briefs, profile strategy, and recurring CEO-approved content planning.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fzayats-ceo-branding\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fzayats-ceo-branding\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7CFV9BB7G8K8CX9RKZ3GECX","yc-app-roast","YC App Roast: roast a YC or a16z Speedrun application. Use when a founder wants their YC or Speedrun answers scored, asks \"what would a YC partner think\", wants the weak answers found or rewritten, or wants their draft checked before they submit. Scores every answer 0-10 against public advice from YC and Speedrun partners, names the top issue with the exact words that cost points, and writes a rewrite from the founder's own facts. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fyc-app-roast\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7CFV11Z1HB9EEWFQ6PCJ98X","yc-app-review","YC App Review: get a YC or a16z Speedrun application reviewed by people you trust. Use when a founder wants friends, mentors or alumni to review their YC or Speedrun application, or asks to share their draft for feedback. Builds a shareable review page (one HTML file, application-portal look) where reviewers leave notes per question and press \"Send my notes\" to send them back as text, then parses the notes into proposed rewrites. Optional tracked private links per reviewer. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fyc-app-review\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":81,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7CFTSVJV7XCSW62W39MX8CZ","x-growth-playbook","X Growth Playbook. Analyse a person's own X (Twitter) posts and tell them what to post next, with the numbers behind every claim. Compares quote posts vs originals, links vs no links, short vs long, time of day in their timezone, media vs text and the topics they name, reports medians with n, then writes a 10-step plan and the next 7 posts in their voice. Use when the user says \"analyse my X posts\", \"what works on my Twitter\", \"how do I grow on X\", \"what should I post next on X\", \"audit my X account\", or shares an X data archive, X API export or a list of their posts. Runs on the user's computer.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fx-growth-playbook\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fx-growth-playbook\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":81,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7CFTK101S3P00MQ129G5YNH","workplan","Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: \"workplan\", \"work plan\", \"create a plan\", \"what's the plan\", \"where was I\", or when Claude detects a multi-step task that needs tracking.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fworkplan\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fworkplan\u002FSKILL.md",[],[]]