[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BSGJQ8EPP7FFPBX4MWCWQV":3,"skill-same:01M7BSGJQ8EPP7FFPBX4MWCWQV":83},{"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":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M7BSGJQ8EPP7FFPBX4MWCWQV","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. Open Design serves this in powered-preview mode so the GPU stack\nactually runs.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Design-设计资源\u002FYYC3-Design-设计资源-open-design\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. Open Design 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\nOpen Design 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\nOpen Design 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. Open Design serves this in powered-preview mode so the GPU stack\nactually runs.\n","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Design-设计资源\u002FYYC3-Design-设计资源-open-design\u002Fplugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill webgl-particle-galaxy",{"tool":65,"command":66},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill webgl-particle-galaxy",{"tool":68,"command":69},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill webgl-particle-galaxy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Design-设计资源\u002FYYC3-Design-设计资源-open-design\u002Fplugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy\u002FSKILL.md",true,[73,79],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"example.html","REFERENCE","参考文档",7055,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Design-设计资源\u002FYYC3-Design-设计资源-open-design\u002Fplugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy\u002Fexample.html",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"open-design.json",8351,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Design-设计资源\u002FYYC3-Design-设计资源-open-design\u002Fplugins\u002F_official\u002Fexamples\u002Fwebgl-particle-galaxy\u002Fopen-design.json",[84,91,98,105,112,119],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]