build-webgl-experiences
Design and implement purposeful WebGL features with clear ownership, bounded rendering cost, responsive lifecycle, accessible fallback, and deterministic validation. Use for interactive 3D, particles, data scenes, immersive backgrounds, or shader effects that materially improve a web experience.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- build-webgl-experiences
- engines
- [ "AGNOSTIC" ]
- description
- Design and implement purposeful WebGL features with clear ownership, bounded rendering cost, responsive lifecycle, accessible fallback, and deterministic validation. Use for interactive 3D, particles, data scenes, immersive backgrounds, or shader effects that materially improve a web experience.
02 资源文件 22
- 参考文档agents/openai.yaml245 B
- 参考文档data/context-templates.md7.4 KB
- 参考文档data/delivery-templates.md8.7 KB
- 参考文档data/design-templates.md5.2 KB
- 参考文档data/existing-product-guide.md19.9 KB
- 参考文档data/kaizen-iteration-guide.md3.5 KB
- 参考文档data/kaizen-principles.md5.9 KB
- 参考文档data/monitoring-guide.md3.1 KB
- 参考文档data/monitoring-templates.md7.7 KB
- 参考文档steps-a/step-01-identify.md5.8 KB
- 参考文档steps-a/step-02-gather-context.md7.1 KB
- 参考文档steps-d/step-01-design-update.md7.8 KB
- 参考文档steps-p/step-01-create-delivery.md9.8 KB
- 参考文档steps-p/step-02-hand-off.md7.2 KB
- 参考文档steps-t/step-01-validate.md9.2 KB
- 参考文档workflow-analyze.md1.7 KB
- 参考文档workflow-deploy.md2.0 KB
- 参考文档workflow-design.md2.1 KB
- 参考文档workflow-implement.md2.0 KB
- 参考文档workflow-scope.md2.1 KB
- 参考文档workflow-test.md2.1 KB
- 参考文档workflow.md3.3 KB
03 SKILL.md 正文
Build Webgl Experiences
When to use
- A web feature genuinely requires real-time 3D or shader rendering.
- Integrating a WebGL scene into a semantic page or application.
- Diagnosing lifecycle, resize, fallback, or performance failures in a graphics feature.
Workflow
- Define the user value and confirm simpler CSS, SVG, image, or video approaches are insufficient.
- Use the active architecture to choose the renderer and asset pipeline.
- Separate scene content, simulation, rendering, input, presentation integration, and disposal.
- Set pixel ratio, geometry, texture, draw-call, update-rate, and mobile budgets.
- Implement resize, visibility pause, context loss, loading, error, reduced-motion, and non-WebGL fallbacks.
- Validate visual correctness, interaction, cleanup, memory stability, and page conversion or task clarity.
Output
- A WebGL architecture and ownership contract.
- Asset and performance budgets with fallback requirements.
- Integration, lifecycle, accessibility, and verification scenarios.
Guardrails
- Do not create a second renderer when one shared renderer can own the scene.
- Do not use shader pixels as authoritative application or gameplay state.
- Do not obscure semantic content or controls behind the canvas.
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.