[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72T7KXBT3QDCXG5JAV990M3":3,"skill-same:01M72T7KXBT3QDCXG5JAV990M3":55},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M72T7KXBT3QDCXG5JAV990M3","threejs-shadow-systems",null,"Implement stable, scalable directional-shadow systems for Three.js. Use for large procedural worlds, city scenes, terrain, moving cameras, WebGPU\u002FTSL shadow nodes, cascades, cached clipmaps, texel stabilization, update budgets, and targeted invalidation.","iberi22\u002Fskills","iberi22","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10615454?v=4","01M72SQ2NXAA3GW0FSH053A5ES","Brahyan Belalcazar","01M72SQ2PYCH0SSA1K61NGEHDV",0,"MIT","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgeneral\u002Fthreejs-shadow-systems\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: threejs-shadow-systems\ndescription: Implement stable, scalable directional-shadow systems for Three.js. Use for large procedural worlds, city scenes, terrain, moving cameras, WebGPU\u002FTSL shadow nodes, cascades, cached clipmaps, texel stabilization, update budgets, and targeted invalidation.\n---\n\n# Shadow Systems\n\nUse a single shadow map only when its receiver region is genuinely bounded. For large moving views, make shadow coverage an explicit spatial hierarchy.\n\n## Cached clipmap workflow\n\n1. Define concentric light-space square levels.\n2. Snap each level center to its own texel grid.\n3. Cross-fade adjacent levels in shader space.\n4. Refresh near levels continuously.\n5. Cache coarse levels and update them under a frame budget.\n6. Invalidate intersecting levels when important casters or streamed terrain change.\n7. Scale normal bias by world-space texel width.\n\nRead [references\u002Fcached-clipmap-shadows.md](references\u002Fcached-clipmap-shadows.md) before implementing a large-world directional light.\n\nRead the\n[cached shadow clipmaps](..\u002Fthreejs-procedural-architecture\u002Fexamples\u002Fprocedural-financial-tower\u002Fshadow-clipmaps.js)\nfor three light-space square levels, per-level texel snapping, containment\ncross-fades, cached coarse updates, scaled bias, and unshadowed outside weight.\n\n## Failure conditions\n\n- projection centers move by fractions of a texel;\n- shader containment does not match the map's committed center;\n- all cascades refresh every frame without evidence;\n- coarse levels freeze moving casters indefinitely;\n- depth texture samples occur in divergent fragment control flow;\n- the same normal bias is used across radically different texel sizes;\n- level boundaries become visible under camera motion.\n\n## Routing boundary\n\nUse this skill for light-space directional shadow maps. Use\n`$threejs-screen-space-ambient-occlusion` for view-dependent ambient\nvisibility; AO is not a replacement for cast shadows.\n","# Shadow Systems\n\nUse a single shadow map only when its receiver region is genuinely bounded. For large moving views, make shadow coverage an explicit spatial hierarchy.\n\n## Cached clipmap workflow\n\n1. Define concentric light-space square levels.\n2. Snap each level center to its own texel grid.\n3. Cross-fade adjacent levels in shader space.\n4. Refresh near levels continuously.\n5. Cache coarse levels and update them under a frame budget.\n6. Invalidate intersecting levels when important casters or streamed terrain change.\n7. Scale normal bias by world-space texel width.\n\nRead [references\u002Fcached-clipmap-shadows.md](references\u002Fcached-clipmap-shadows.md) before implementing a large-world directional light.\n\nRead the\n[cached shadow clipmaps](..\u002Fthreejs-procedural-architecture\u002Fexamples\u002Fprocedural-financial-tower\u002Fshadow-clipmaps.js)\nfor three light-space square levels, per-level texel snapping, containment\ncross-fades, cached coarse updates, scaled bias, and unshadowed outside weight.\n\n## Failure conditions\n\n- projection centers move by fractions of a texel;\n- shader containment does not match the map's committed center;\n- all cascades refresh every frame without evidence;\n- coarse levels freeze moving casters indefinitely;\n- depth texture samples occur in divergent fragment control flow;\n- the same normal bias is used across radically different texel sizes;\n- level boundaries become visible under camera motion.\n\n## Routing boundary\n\nUse this skill for light-space directional shadow maps. Use\n`$threejs-screen-space-ambient-occlusion` for view-dependent ambient\nvisibility; AO is not a replacement for cast shadows.\n",{"name":5,"description":7},"main","688810f2886d212632acf81e532b24e483dd8b98","skills\u002Fgeneral\u002Fthreejs-shadow-systems","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills","https:\u002F\u002Fgithub.com\u002Fiberi22","Senior WEB Full-Stack","2026-10-12 02:46:21",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add iberi22\u002Fskills --skill threejs-shadow-systems",{"tool":37,"command":38},"bunx","bunx skills add iberi22\u002Fskills --skill threejs-shadow-systems",{"tool":40,"command":41},"pnpm","pnpm dlx skills add iberi22\u002Fskills --skill threejs-shadow-systems","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgeneral\u002Fthreejs-shadow-systems\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fcached-clipmap-shadows.md","REFERENCE","参考文档",10707,"https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgeneral\u002Fthreejs-shadow-systems\u002Freferences\u002Fcached-clipmap-shadows.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"SOURCE.txt",113,"https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgeneral\u002Fthreejs-shadow-systems\u002FSOURCE.txt",[56,62,69,75,81,87],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M72TWQEQD46ZC9TRBAABF78P","web-design-guidelines","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fweb-design-guidelines\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M72TWMQFTYD08DGXVAXRPPEB","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall. Recovers the page via archives and provenance-checked fallbacks.","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M72TVQMS3HCTX18C8T97WTQQ","studio-coach","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftools\u002Fstudio-coach\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M72TVNA2PR9RZW0ZAXYP1G6J","src-generator","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftools\u002Fsrc-generator\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M72TVEJHHB6SAT3R3TY9MJKS","sqlite-pro","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftools\u002Fsqlite-pro\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M72TVC2EVBHQHCX96VTTYKB8","rigor-evaluator","Use when you need a quick heuristic rigor score (10 criteria, 0-2 each) for the features in a .gitcore\u002Ffeatures.json file, to decide which features are ready to ship.","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftools\u002Frigor-evaluator\u002FSKILL.md",[],[]]