Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for modern web shaders: Three Shading Language (TSL), WebGPU WGSL, Compute Shaders, and WebGL GLSL in Three.js and Babylon.js. Covers procedural generation, compute kernels, and post-processing / Panduan ahli shader web modern: TSL, WGSL, Compute Shader, dan GLSL.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
<a name="english"></a>
Connects and orchestrates with relevant domain skills:
web-3d-graphics-expert — WebGPU/WebGL scene rendering and NodeMaterial binding.web-game-engine-expert — Physics simulations, particle systems, and VFX materials.ui-ux-pro-max — Modern visual effects, glassmorphism, and screen-space distortion.performance-web-vitals — GPU profiling, draw call reduction, and compute shader optimization.Production-grade guidance for authoring, compiling, and optimizing GPU shaders for modern web applications. Focuses on the cutting-edge TSL (Three Shading Language) node system which cross-compiles to both WGSL (WebGPU) and GLSL (WebGL2), standalone WGSL Compute Shaders for parallel processing (particles, boids, simulation), and legacy GLSL optimization.
Activate this skill when the user is:
@compute workgroups, storage buffers).| Paradigm | Target API | Key Advantages | When to Use |
|---|---|---|---|
| TSL (Three Shading Language) | WebGPU + WebGL2 | Cross-compiles node trees to WGSL and GLSL; type-safe JavaScript/TypeScript syntax. | Default standard for modern Three.js (r170+) materials and post-processing. |
| WGSL (WebGPU Shading Language) | WebGPU native | Direct GPU memory access, structured storage buffers, atomic operations. | Raw WebGPU apps, Babylon.js WebGPU compute, custom WebGPU pipelines. |
| Compute Shaders | WebGPU | General-purpose GPU (GPGPU) computing; runs without rasterization or vertex buffers. | 100,000+ particle systems, cloth physics, fluid simulation, GPU boids. |
| GLSL (ES 3.0) | WebGL2 fallback | Universal device compatibility on legacy hardware. | Legacy Three.js/Babylon.js projects and fallback pipelines. |
TSL replaces string-concatenated GLSL with modular, type-safe node expressions that Three.js automatically compiles to WGSL on WebGPU and GLSL on WebGL2.
import * as THREE from 'three/webgpu';
import { Fn, float, vec3, color, uv, time, positionLocal, sin, uniform } from 'three/tsl';
// Define custom dynamic uniforms
const uFrequency = uniform(3.0);
const uSpeed = uniform(1.5);
// Reusable TSL shader function (Node-based)
const waterWave = Fn(([freq, spd]) => {
const coord = uv();
const wave = sin(coord.x.mul(freq).add(time.mul(spd)))
.add(sin(coord.y.mul(freq).add(time.mul(spd))))
.mul(0.5);
return wave;
});
// Vertex Position displacement in TSL
const displacedPosition = Fn(() => {
const wave = waterWave(uFrequency, uSpeed);
const newPos = positionLocal.add(vec3(0.0, wave.mul(0.2), 0.0));
return newPos;
});
// Create Node Material
const oceanMaterial = new THREE.MeshStandardNodeMaterial();
oceanMaterial.positionNode = displacedPosition();
oceanMaterial.colorNode = Fn(() => {
const wave = waterWave(uFrequency, uSpeed);
const baseColor = color(0x004488);
const foamColor = color(0x88eeff);
return baseColor.mix(foamColor, wave.add(0.5));
})();
Compute shaders run arbitrary mathematical workloads across thousands of GPU threads simultaneously:
import * as THREE from 'three/webgpu';
import { Fn, float, vec3, uniform, storage, instanceIndex } from 'three/tsl';
const PARTICLE_COUNT = 65536;
// Create GPU Storage Buffers
const positionBuffer = new THREE.StorageBufferAttribute(new Float32Array(PARTICLE_COUNT * 3), 3);
const velocityBuffer = new THREE.StorageBufferAttribute(new Float32Array(PARTICLE_COUNT * 3), 3);
const posStorage = storage(positionBuffer, 'vec3', PARTICLE_COUNT);
const velStorage = storage(velocityBuffer, 'vec3', PARTICLE_COUNT);
// TSL Compute Kernel (executes per particle on GPU)
const computeParticles = Fn(() => {
const index = instanceIndex;
const pos = posStorage.element(index);
const vel = velStorage.element(index);
// Update position based on velocity
pos.addAssign(vel.mul(0.016));
// Bounce off boundaries [-5, 5]
vel.y.assign(pos.y.lessThan(-5.0).select(vel.y.abs(), vel.y));
vel.y.assign(pos.y.greaterThan(5.0).select(vel.y.abs().negate(), vel.y));
})().compute(PARTICLE_COUNT);
// In the render loop:
// renderer.compute(computeParticles);
// renderer.render(scene, camera);
Eliminate Branching Divergence:
if/else, both paths are evaluated serially, destroying throughput.step(), smoothstep(), mix(), clamp(), or select().// BAD: Divergent GPU branch
if (vDepth > 0.5) { color = vec3(1.0); } else { color = vec3(0.0); }
// GOOD: Branchless step function
color = vec3(step(0.5, vDepth));
Precision Management:
mediump (16-bit float) for colors, normal vectors, and UVs to gain 2x arithmetic throughput and save bandwidth.highp (32-bit float) for world-space coordinates and depth calculations.Precompute on CPU or Vertex Shader:
<a name="bahasa-indonesia"></a>
Terhubung dan mengorkestrasi skill domain yang relevan:
web-3d-graphics-expert — Rendering scene WebGPU/WebGL dan integrasi NodeMaterial.web-game-engine-expert — Simulasi fisika, sistem partikel, dan material efek game.ui-ux-pro-max — Efek visual modern, glassmorphism, dan distorsi screen-space.performance-web-vitals — Profiling GPU, optimasi draw call, dan compute shader.Panduan produksi untuk menulis, mengompilasi, dan mengoptimalkan shader GPU untuk aplikasi web modern. Fokus pada sistem node TSL (Three Shading Language) yang dapat dikompilasi silang menjadi WGSL (WebGPU) dan GLSL (WebGL2), Compute Shader WGSL mandiri untuk pemrosesan paralel GPU skala masif (partikel, boids, simulasi cairan), dan optimasi GLSL.
Aktifkan skill ini ketika pengguna:
@compute workgroups, storage buffers).Adopsi TSL (Three Shading Language):
Fn, color, uv, positionLocal). TSL menjaga keamanan tipe (type-safety) dan otomatis menghasilkan WGSL atau GLSL sesuai runtime.GPGPU dengan Compute Shader:
Aturan Anti-Branching (Branchless Shader):
if/else yang tidak seragam akan memaksa GPU mengeksekusi kedua cabang secara berurutan (branch penalty).step(), smoothstep(), dan mix() alih-alih percabangan logika kondisional.Manajemen Presisi:
mediump (16-bit float) untuk warna, koordinat UV, dan vektor normal untuk melipatgandakan kecepatan komputasi pada GPU smartphone.highp (32-bit float) hanya untuk posisi ruang dunia (world space) dan perhitungan kedalaman (depth).まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor kompleksitas dari Flash/Haiku ke Sonnet/Opus/Astra, eskalasi dinamis dengan gerbang kualitas, pengurangan biaya token 40-60% dengan kualitas output terjaga.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for Affective Computing, emotional AI, and real-time sentiment analysis through native multimodal tokens (voice intonation and facial micro-expressions) / Panduan ahli komputasi afektif, AI emosional, dan analisis sentimen real-time melalui token multimodal native.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for AI-assisted coding workflows — agentic code generation, multi-agent code swarms, self-healing CI/CD, automated PR review, spec-to-code pipelines, codebase knowledge graphs, and human-in-the-loop approval gates / Panduan ahli untuk workflow pengkodean berbasis AI — generasi kode agentic, code swarm multi-agen, CI/CD self-healing, review PR otomatis, pipeline spec-to-code, knowledge graph codebase, dan gate persetujuan human-in-the-loop.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for long-term episodic memory integration (Mem0 v2, Letta/MemGPT, Zep v2), memory tier architecture, pgvector HNSW storage, and unified context management for autonomous AI agents / Panduan ahli untuk integrasi memori episodik jangka panjang (Mem0 v2, Letta/MemGPT, Zep v2), arsitektur tier memori, penyimpanan pgvector HNSW, dan manajemen konteks terpadu untuk agen AI otonom.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for designing Machine-to-Machine (M2M) micro-economies, autonomous agent wallets, and swarm budget allocation / Panduan ahli merancang ekonomi mikro antar-agen (M2M), dompet agen otonom, dan alokasi anggaran swarm.
日本語の概要は準備中です。原文の説明を表示しています。