AGENT SKILL

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

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

  1. Define the user value and confirm simpler CSS, SVG, image, or video approaches are insufficient.
  2. Use the active architecture to choose the renderer and asset pipeline.
  3. Separate scene content, simulation, rendering, input, presentation integration, and disposal.
  4. Set pixel ratio, geometry, texture, draw-call, update-rate, and mobile budgets.
  5. Implement resize, visibility pause, context loss, loading, error, reduced-motion, and non-WebGL fallbacks.
  6. 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

TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

integrate-game-wallets

Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4