[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EATTRWA6ZP2RSAHGYVG497":3,"skill-same:01M7EATTRWA6ZP2RSAHGYVG497":80},{"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":50,"commitSha":51,"skillDirectory":52,"forksCount":14,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M7EATTRWA6ZP2RSAHGYVG497","webgl-particle-galaxy",null,"A real-time particle galaxy — tens of thousands of additive-blended GPU\npoints spiraling around a bright core, their orbits solved entirely in the\nvertex shader (from gl_VertexID), so the whole cloud draws in one call.\nRendered as a single self-contained `index.html`. Use when the brief asks\nfor a \"particle field\", \"particle galaxy\", \"point cloud\", \"instanced\npoints\", \"starfield\", \"GPU particles\", or a swirling generative point\nsystem. OpenDesign serves this in powered-preview mode so the GPU stack\nactually runs.","testground-lab\u002Fdesignground","testground-lab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F213383747?v=4","01M7E8Q0BABJ7Q9AVGKG7SM9V4","TestGround Inc","01M7E8Q0BV18ZX6XCJTGNN3096",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: webgl-particle-galaxy\ndescription: |\n  A real-time particle galaxy — tens of thousands of additive-blended GPU\n  points spiraling around a bright core, their orbits solved entirely in the\n  vertex shader (from gl_VertexID), so the whole cloud draws in one call.\n  Rendered as a single self-contained `index.html`. Use when the brief asks\n  for a \"particle field\", \"particle galaxy\", \"point cloud\", \"instanced\n  points\", \"starfield\", \"GPU particles\", or a swirling generative point\n  system. OpenDesign serves this in powered-preview mode so the GPU stack\n  actually runs.\ntriggers:\n  - \"particle\"\n  - \"particles\"\n  - \"particle galaxy\"\n  - \"point cloud\"\n  - \"instanced points\"\n  - \"starfield\"\n  - \"gpu particles\"\n  - \"粒子\"\n  - \"粒子星系\"\nod:\n  mode: prototype\n  platform: web\n  scenario: design\n  preview:\n    type: html\n    entry: index.html\n    reload: debounce-100\n  design_system:\n    requires: false\n    sections: [color, typography]\n  craft:\n    requires: [animation-discipline]\n---\n\n# Particle Galaxy Skill\n\nProduce a single self-contained `index.html` that renders a real-time particle system full-screen, with a clean typographic overlay on top. The signature move: **compute each particle's position on the GPU** so the CPU never loops over particles.\n\n## Why this is a powered artifact\n\nOpenDesign detects `getContext('webgl2')` and renders this file in **powered preview** — a cross-origin-isolated iframe with `allow-same-origin`. The full GPU pipeline is available; you do not need to work around the opaque sandbox.\n\n## Resource map\n\n```\nwebgl-particle-galaxy\u002F\n├── SKILL.md      ← you're reading this\n└── example.html  ← a working 50,000-point WebGL2 galaxy (READ FIRST)\n```\n\n## Workflow\n\n### Step 0 — Read the reference\nRead `example.html` end to end. Note the shape: **no vertex buffer** — the vertex shader reads `gl_VertexID`, hashes it into a stable per-particle seed, and derives a log-spiral orbit with an inner-fast rotation curve. Points are drawn with `gl.drawArrays(gl.POINTS, 0, N)` in one call, additive-blended (`blendFunc(ONE, ONE)` with premultiplied color) so overlapping points glow.\n\n### Step 1 — Pick the motion\nChoose a field the vertex shader can express cheaply from `gl_VertexID` + `uTime`:\n- **Spiral galaxy** (default): log-spiral arms, rotation curve `speed ≈ k \u002F (r + ε)`, thin disk.\n- **Attractor \u002F flow**: curl or a strange-attractor step baked as a closed-form function of time.\n- **Explosion \u002F reform**: interpolate between a seeded start and a target shape on a looping clock.\n\n### Step 2 — Build `index.html`\n- One file, zero external requests. Bind a VAO even with no attributes (some drivers require it).\n- Point size in the vertex shader (`gl_PointSize`), clamped and DPR-aware; soft round sprites via `gl_PointCoord` + a gaussian falloff in the fragment shader.\n- Additive blending on a dark clear color; premultiply the fragment color so `blendFunc(ONE, ONE)` reads as glow, not double-exposure.\n- Compile shaders with error logging (`getShaderInfoLog` \u002F `getProgramInfoLog`) so a typo fails loudly.\n\n### Step 3 — Overlay + brand\n- Map the accent colors to the active DESIGN.md when one is present; otherwise a restrained dark palette with one vivid accent (the reference uses lime `#63fe13` for the arms and a white-blue core).\n- Headline ≤ 15ch plus one supporting line. Never bury the particles behind the text.\n\n### Step 4 — Self-review (P0)\n- [ ] Renders continuously at ~60fps; the FPS badge updates.\n- [ ] Tens of thousands of points in a **single** draw call (no per-particle CPU loop).\n- [ ] No WebGL console errors; program links cleanly.\n- [ ] Resizes crisply on window resize (no stretching \u002F blur).\n- [ ] Degrades to a message (not a blank page) if `webgl2` is unavailable.\n","# Particle Galaxy Skill\n\nProduce a single self-contained `index.html` that renders a real-time particle system full-screen, with a clean typographic overlay on top. The signature move: **compute each particle's position on the GPU** so the CPU never loops over particles.\n\n## Why this is a powered artifact\n\nOpenDesign detects `getContext('webgl2')` and renders this file in **powered preview** — a cross-origin-isolated iframe with `allow-same-origin`. The full GPU pipeline is available; you do not need to work around the opaque sandbox.\n\n## Resource map\n\n```\nwebgl-particle-galaxy\u002F\n├── SKILL.md      ← you're reading this\n└── example.html  ← a working 50,000-point WebGL2 galaxy (READ FIRST)\n```\n\n## Workflow\n\n### Step 0 — Read the reference\nRead `example.html` end to end. Note the shape: **no vertex buffer** — the vertex shader reads `gl_VertexID`, hashes it into a stable per-particle seed, and derives a log-spiral orbit with an inner-fast rotation curve. Points are drawn with `gl.drawArrays(gl.POINTS, 0, N)` in one call, additive-blended (`blendFunc(ONE, ONE)` with premultiplied color) so overlapping points glow.\n\n### Step 1 — Pick the motion\nChoose a field the vertex shader can express cheaply from `gl_VertexID` + `uTime`:\n- **Spiral galaxy** (default): log-spiral arms, rotation curve `speed ≈ k \u002F (r + ε)`, thin disk.\n- **Attractor \u002F flow**: curl or a strange-attractor step baked as a closed-form function of time.\n- **Explosion \u002F reform**: interpolate between a seeded start and a target shape on a looping clock.\n\n### Step 2 — Build `index.html`\n- One file, zero external requests. Bind a VAO even with no attributes (some drivers require it).\n- Point size in the vertex shader (`gl_PointSize`), clamped and DPR-aware; soft round sprites via `gl_PointCoord` + a gaussian falloff in the fragment shader.\n- Additive blending on a dark clear color; premultiply the fragment color so `blendFunc(ONE, ONE)` reads as glow, not double-exposure.\n- Compile shaders with error logging (`getShaderInfoLog` \u002F `getProgramInfoLog`) so a typo fails loudly.\n\n### Step 3 — Overlay + brand\n- Map the accent colors to the active DESIGN.md when one is present; otherwise a restrained dark palette with one vivid accent (the reference uses lime `#63fe13` for the arms and a white-blue core).\n- Headline ≤ 15ch plus one supporting line. Never bury the particles behind the text.\n\n### Step 4 — Self-review (P0)\n- [ ] Renders continuously at ~60fps; the FPS badge updates.\n- [ ] Tens of thousands of points in a **single** draw call (no per-particle CPU loop).\n- [ ] No WebGL console errors; program links cleanly.\n- [ ] Resizes crisply on window resize (no stretching \u002F blur).\n- [ ] Degrades to a message (not a blank page) if `webgl2` is unavailable.\n",{"od":24,"name":5,"triggers":39,"description":49},{"mode":25,"craft":26,"preview":29,"platform":33,"scenario":34,"design_system":35},"prototype",{"requires":27},[28],"animation-discipline",{"type":30,"entry":31,"reload":32},"html","index.html","debounce-100","web","design",{"requires":20,"sections":36},[37,38],"color","typography",[40,41,42,43,44,45,46,47,48],"particle","particles","particle galaxy","point cloud","instanced points","starfield","gpu particles","粒子","粒子星系","A real-time particle galaxy — tens of thousands of additive-blended GPU\npoints spiraling around a bright core, their orbits solved entirely in the\nvertex shader (from gl_VertexID), so the whole cloud draws in one call.\nRendered as a single self-contained `index.html`. Use when the brief asks\nfor a \"particle field\", \"particle galaxy\", \"point cloud\", \"instanced\npoints\", \"starfield\", \"GPU particles\", or a swirling generative point\nsystem. OpenDesign serves this in powered-preview mode so the GPU stack\nactually runs.\n","main","53231d40b778d88eba23f35547bf99485d3ae9fc","plugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground","https:\u002F\u002Fgithub.com\u002Ftestground-lab","2026-10-06 15:26:48",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add testground-lab\u002Fdesignground --skill webgl-particle-galaxy",{"tool":62,"command":63},"bunx","bunx skills add testground-lab\u002Fdesignground --skill webgl-particle-galaxy",{"tool":65,"command":66},"pnpm","pnpm dlx skills add testground-lab\u002Fdesignground --skill webgl-particle-galaxy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy\u002FSKILL.md",true,[70,76],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"example.html","REFERENCE","参考文档",7054,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy\u002Fexample.html",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"open-design.json",8350,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy\u002Fopen-design.json",[81,88,95,102,109,118],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7EBNKQZ9A2JHZDHZHQ94JDM","Beta Skill","Instruction-only fixture skill.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Ftools\u002Frelease\u002Ftests\u002Ffixtures\u002Fcatalog\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7EBNJDND50BQN37ZETG1R52","Alpha Skill","First fixture skill with a runnable demo.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Ftools\u002Frelease\u002Ftests\u002Ffixtures\u002Fcatalog\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7EBNG48FMGPH5KMW4D0FAAH","Deck One","A small deck template fixture.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Ftools\u002Frelease\u002Ftests\u002Ffixtures\u002Fcatalog\u002Fdesign-templates\u002Fdeck-one\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7EBNDZS46J6JG0BPPPWBR0C","youtube-clipper","YouTube clip generation and editing with automated workflows — pull source video, slice highlights, add captions, and export.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7EBN9KVM1DJCX1A7T4S7S24","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\".","MIT","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-guidelines\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-guidelines\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M7EBN797QTQP07GBV32T8TPF","wpds","WordPress Design System. Apply WordPress's official design tokens, typography, and component patterns to themes and sites.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fskills\u002Fwpds\u002FSKILL.md",[],[]]