[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AD8PZC2XBZHFQRFEKMNFVF":3,"skill-same:01M7AD8PZC2XBZHFQRFEKMNFVF":46},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7AD8PZC2XBZHFQRFEKMNFVF","rts-3d-procedural-art",null,"Use when building or upgrading 2D\u002Fisometric\u002Ftop-down games or canvases to look like pre-rendered 3D (Warcraft III, Age of Empires III, Hades) with PBR-style lighting, directional cast shadows, seamless terrain splatting, Gerstner water waves, skeletal IK\u002FFK locomotion, and Verlet cloth physics without external 3D asset files.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002F.devin\u002Fskills\u002Frts-3d-procedural-art\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: rts-3d-procedural-art\ndescription: Use when building or upgrading 2D\u002Fisometric\u002Ftop-down games or canvases to look like pre-rendered 3D (Warcraft III, Age of Empires III, Hades) with PBR-style lighting, directional cast shadows, seamless terrain splatting, Gerstner water waves, skeletal IK\u002FFK locomotion, and Verlet cloth physics without external 3D asset files.\n---\n\n# RTS 3D Procedural Art & Physics Engine\n\n## Core Principle: Math Over Flat Primitives\n\nFlat `fillRect` and `arc` calls with uniform hex colors read as 2D programmer art. Pre-rendered\u002Frealtime 3D RTS visuals require five mathematical layers on every frame:\n\n1. **Seamless Terrain Splatting & Elevation Shading** (no blocky tile grid seams)\n2. **Directional Sun\u002FMoon Lighting Vector L + Ground Cast Shadows + Ambient Occlusion (AO)**\n3. **3D Volumetric Surface Gradients** (Lambertian diffuse + Blinn-Phong specular + Fresnel rim light)\n4. **Articulated Multi-Bone Skeletal Rigs** (2-bone stride kinematics, counter-rotating pauldrons, weapon swing arcs)\n5. **Verlet Spring-Damper Cloth & Wind Physics** (capes, banners, canopies, Gerstner water crests)\n\n## 1. Directional Lighting & Projected Cast Shadows\n\nGiven a normalized light direction L = (Lx, Ly, Lz) (e.g. (-0.55, -0.62, 0.56) by day, modulated by `nightFactor` and `cloud_pct`):\n- **Shadow Skew Projection**: An object of height H at (x, y) casts an elliptical\u002Fpolygonal shadow offset by (-Lx * H, -Ly * H) with alpha clamped to [0.10, 0.45] inversely proportional to cloud cover.\n- **Ambient Occlusion (AO) Contact Ring**: Every structure and unit draws a soft dark radial gradient at its ground contact footprint before drawing geometry, anchoring it to the terrain.\n\n## 2. 3D Volumetric Shading Primitives (Canvas 2D)\n\n- **Cylindrical \u002F Spherical Volume (Towers, Columns, Helmets, Cuirass)**:\n  Use a 4-stop linear\u002Fradial gradient perpendicular to L:\n  - `0.0`: Specular highlight (+35% lightness)\n  - `0.28`: Base albedo color\n  - `0.78`: Core terminator shadow (-40% lightness)\n  - `1.0`: Fresnel rim bounce light (+15% lightness or sky tint)\n- **Axonometric 3D Building Extrusion**:\n  - Draw South\u002FFront Wall (medium lit, stone courses \u002F timber beams)\n  - Draw East\u002FSide Wall (shadowed -28%, depth extrusion)\n  - Draw West Roof Slope (sun-lit +18% with shingle courses) and East Roof Slope (shadowed -22%)\n  - Draw Recessed Archways & Windows (dark frame + specular glass reflection by day, warm `#ffcf5c` candle bloom at dusk\u002Fnight).\n\n## 3. Articulated Skeletal Rigs & Locomotion\n\nDecompose every humanoid unit into 9 articulated parts driven by phase `phi = omega * t + seed`:\n1. **Shadow + Hero Glow + Rotating Aura Rune** (ground plane)\n2. **Back Cape (4-node Verlet ribbon)** trailing unit velocity and oscillating with the live wind vector.\n3. **Left & Right Legs \u002F Boots**: Stride offset `sin(phi) * S`, pelvis vertical bounce `-abs(cos(phi)) * A`.\n4. **Torso \u002F Cuirass + Tabard**: 3D-shaded breastplate with waist belt and hanging tabard.\n5. **Left & Right Pauldrons (Shoulders)**: Oversized WC3-proportioned shoulder plates with metallic trim, counter-rotating with arm swing.\n6. **Left Arm (Shield \u002F Tome \u002F Quiver)** & **Right Arm (Weapon \u002F Staff \u002F Bow)**:\n   - Idle (`Stand - 1`): slow breathing counter-sway.\n   - Look-around (`Stand - 2`): head + helm yaw.\n   - Flourish (`Stand - 3`): weapon raised with specular glint.\n   - Combat\u002FWork (`Attack`\u002F`Work`): right arm sweeps through slash\u002Fstrike arc with fading blade-ribbon and impact sparks.\n7. **Head & Class Helmet\u002FHat\u002FHood** with visor\u002Feyes and plume.\n\n## 4. Seamless Terrain Splatting & Gerstner Water\n\n- **Offscreen Terrain Bake (`_terrainCanvas`)**: Render the base terrain once per map layout into an offscreen canvas using multi-octave value noise, organic biome transitions, stone-paved Keep courtyards, wheel-rutted dirt roads with grassy edges, and cliff drop-shadows. Blit the visible viewport rect in a single `drawImage` call.\n- **Gerstner Water Waves**: Superpose 2 directional wave trains aligned with the wind vector, rendering specular sun\u002Fmoon glints and rhythmic shore foam where water borders land.\n","# RTS 3D Procedural Art & Physics Engine\n\n## Core Principle: Math Over Flat Primitives\n\nFlat `fillRect` and `arc` calls with uniform hex colors read as 2D programmer art. Pre-rendered\u002Frealtime 3D RTS visuals require five mathematical layers on every frame:\n\n1. **Seamless Terrain Splatting & Elevation Shading** (no blocky tile grid seams)\n2. **Directional Sun\u002FMoon Lighting Vector L + Ground Cast Shadows + Ambient Occlusion (AO)**\n3. **3D Volumetric Surface Gradients** (Lambertian diffuse + Blinn-Phong specular + Fresnel rim light)\n4. **Articulated Multi-Bone Skeletal Rigs** (2-bone stride kinematics, counter-rotating pauldrons, weapon swing arcs)\n5. **Verlet Spring-Damper Cloth & Wind Physics** (capes, banners, canopies, Gerstner water crests)\n\n## 1. Directional Lighting & Projected Cast Shadows\n\nGiven a normalized light direction L = (Lx, Ly, Lz) (e.g. (-0.55, -0.62, 0.56) by day, modulated by `nightFactor` and `cloud_pct`):\n- **Shadow Skew Projection**: An object of height H at (x, y) casts an elliptical\u002Fpolygonal shadow offset by (-Lx * H, -Ly * H) with alpha clamped to [0.10, 0.45] inversely proportional to cloud cover.\n- **Ambient Occlusion (AO) Contact Ring**: Every structure and unit draws a soft dark radial gradient at its ground contact footprint before drawing geometry, anchoring it to the terrain.\n\n## 2. 3D Volumetric Shading Primitives (Canvas 2D)\n\n- **Cylindrical \u002F Spherical Volume (Towers, Columns, Helmets, Cuirass)**:\n  Use a 4-stop linear\u002Fradial gradient perpendicular to L:\n  - `0.0`: Specular highlight (+35% lightness)\n  - `0.28`: Base albedo color\n  - `0.78`: Core terminator shadow (-40% lightness)\n  - `1.0`: Fresnel rim bounce light (+15% lightness or sky tint)\n- **Axonometric 3D Building Extrusion**:\n  - Draw South\u002FFront Wall (medium lit, stone courses \u002F timber beams)\n  - Draw East\u002FSide Wall (shadowed -28%, depth extrusion)\n  - Draw West Roof Slope (sun-lit +18% with shingle courses) and East Roof Slope (shadowed -22%)\n  - Draw Recessed Archways & Windows (dark frame + specular glass reflection by day, warm `#ffcf5c` candle bloom at dusk\u002Fnight).\n\n## 3. Articulated Skeletal Rigs & Locomotion\n\nDecompose every humanoid unit into 9 articulated parts driven by phase `phi = omega * t + seed`:\n1. **Shadow + Hero Glow + Rotating Aura Rune** (ground plane)\n2. **Back Cape (4-node Verlet ribbon)** trailing unit velocity and oscillating with the live wind vector.\n3. **Left & Right Legs \u002F Boots**: Stride offset `sin(phi) * S`, pelvis vertical bounce `-abs(cos(phi)) * A`.\n4. **Torso \u002F Cuirass + Tabard**: 3D-shaded breastplate with waist belt and hanging tabard.\n5. **Left & Right Pauldrons (Shoulders)**: Oversized WC3-proportioned shoulder plates with metallic trim, counter-rotating with arm swing.\n6. **Left Arm (Shield \u002F Tome \u002F Quiver)** & **Right Arm (Weapon \u002F Staff \u002F Bow)**:\n   - Idle (`Stand - 1`): slow breathing counter-sway.\n   - Look-around (`Stand - 2`): head + helm yaw.\n   - Flourish (`Stand - 3`): weapon raised with specular glint.\n   - Combat\u002FWork (`Attack`\u002F`Work`): right arm sweeps through slash\u002Fstrike arc with fading blade-ribbon and impact sparks.\n7. **Head & Class Helmet\u002FHat\u002FHood** with visor\u002Feyes and plume.\n\n## 4. Seamless Terrain Splatting & Gerstner Water\n\n- **Offscreen Terrain Bake (`_terrainCanvas`)**: Render the base terrain once per map layout into an offscreen canvas using multi-octave value noise, organic biome transitions, stone-paved Keep courtyards, wheel-rutted dirt roads with grassy edges, and cliff drop-shadows. Blit the visible viewport rect in a single `drawImage` call.\n- **Gerstner Water Waves**: Superpose 2 directional wave trains aligned with the wind vector, rendering specular sun\u002Fmoon glints and rhythmic shore foam where water borders land.\n",{"name":5,"description":7},"main","02b95ddb62959a00b3c31442c2046aca0d19563c",".devin\u002Fskills\u002Frts-3d-procedural-art",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill rts-3d-procedural-art",{"tool":38,"command":39},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill rts-3d-procedural-art",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill rts-3d-procedural-art","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002F.devin\u002Fskills\u002Frts-3d-procedural-art\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"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},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":83,"name":77,"nameZh":6,"description":78,"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},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]