threejs-visual-validation
Skill8 starsChanged 4 months agoISCView on GitHub
Validate Three.js WebGPU/TSL implementations against falsifiable claims. Use for visual or mechanism correctness, temporal behavior, target performance or GPU attribution, resource ownership, and lifecycle stability.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- scottstts/Threejs-Awesome-Graphics-Agent-Skillstheir own version, first seen Aug 27, 2026
- jorgeasaurus/agent-skillstheir own version, first seen May 11, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- scottstts/Threejs-Awesome-Graphics-Agent-Skills★ 872same name
- jorgeasaurus/agent-skills★ 13same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- product-from-scratchSkill
- threejs-ambient-contact-shadingSkill
- threejs-black-holes-and-space-effectsSkill
- threejs-bloomSkill
- threejs-camera-controls-and-rigsSkill
- threejs-choose-skillsSkill
- threejs-compatibility-fallbacksSkill
- threejs-debuggingSkill
- threejs-dynamic-surface-effectsSkill
- threejs-exposure-color-gradingSkill
- threejs-image-pipelineSkill
- threejs-object-sculptorSkill
- threejs-particles-trails-and-effectsSkill
- threejs-procedural-buildings-and-citiesSkill
- threejs-procedural-creaturesSkill
- threejs-procedural-fieldsSkill
- threejs-procedural-geometrySkill
- threejs-procedural-materialsSkill
- threejs-procedural-motion-systemsSkill
- threejs-procedural-planetsSkill
- threejs-procedural-vegetationSkill
- threejs-rain-snow-and-wet-surfacesSkill
- threejs-scalable-real-time-shadowsSkill
- threejs-sky-atmosphere-and-hazeSkill
- threejs-spectral-oceanSkill
- threejs-volumetric-cloudsSkill
- threejs-water-opticsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 69
only the depth, normal, velocity, field, history, mask, resource, or pass diagnostics needed by declared claims.
- Distinctive: line 76
Keep HDR work scene-linear until one tone-map/output-transform owner.
- Very specific: line 91
When decoding a padded WebGPU texture-to-buffer copy, use the aligned-readback helper with the actual integer bytesPerRow supplied to the …
- Distinctive: line 106
Run only the branches the claims require:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Visual Validation
Validate claims, not polished frames. Keep each verdict scoped to one declared claim so evidence for appearance cannot substitute for mechanism, timing, or lifecycle proof. The owning subject skill defines mechanism truth and failure signatures; this skill defines how to falsify them.
1. Predeclare every claim
For each claim, record:
- class: visual, mechanism, temporal, performance, GPU attribution, resource, or lifecycle;
- invariant and truth source;
- observable and the diagnostic that isolates it;
- native-domain metric, units, alignment, mask, and aggregation;
- acceptance gate fixed before candidate inspection;
- blocking failure and required evidence.
Label every claim-driving number Authored, Derived, Measured, or Gated
and record its unit and source. Keep unknown values unknown.
This step is complete when every claim has a direct falsifier and no claim is supported only by the final image.
2. Freeze the run
For a purely CPU-side numerical, byte-layout, or metadata claim, freeze its actual execution environment without inventing a renderer dependency. Such results do not prove a GPU shader, rendered image, or target-performance claim. The initialized-backend gate below applies to renderer-dependent claims.
Freeze the exact Three.js revision, renderer and initialized backend, target, browser/GPU, camera matrices, seed, time or deterministic step, viewport, DPR, quality state, assets, and color/output graph. Construct the renderer with timestamp tracking before initialization whenever a declared claim needs GPU timing:
const renderer = new WebGPURenderer( {
trackTimestamp: gpuTimingRequirement === 'required'
} );
await renderer.init();
if ( renderer.backend.isWebGPUBackend !== true ) {
throw new Error( 'Canonical WebGPU validation is unavailable on this target.' );
}Record the blocker when canonical WebGPU is unavailable. Reach
$threejs-compatibility-fallbacks only when the user explicitly asks for that
branch.
This step is complete when the run can be repeated from the recorded state and initialized backend truth is captured rather than inferred.
3. Capture the producing mechanism
Capture the real pipeline under the frozen state:
- for visual or mechanism claims, the final, no-post, and contribution views required to isolate the claimed cause;
- only the depth, normal, velocity, field, history, mask, resource, or pass diagnostics needed by declared claims;
- for performance, GPU-attribution, resource, or lifecycle claims without a visual/mechanism claim, only the producing trace and diagnostics required by that claim;
- the pass/dispatch ownership graph, including histories and reset edges.
Keep HDR work scene-linear until one tone-map/output-transform owner. Diagnostic modes must switch the actual output node and invalidate the graph when required; a label-only toggle proves nothing.
This step is complete when every required artifact is traceable to the pass, dispatch, resource, and output owner that produced it.
4. Measure in the native domain
Compare each observable with its declared truth using the frozen metric and gate. For visual or mechanism claims, inspect the important final and diagnostic images directly; a nonblank capture or scalar summary is only transport evidence. Store the error map or worst interval when a global statistic can hide a local failure.
When decoding a padded WebGPU texture-to-buffer copy, use the
aligned-readback helper with the actual
integer bytesPerRow supplied to the copy encoder; never recover row stride
from width or total buffer length.
Read the graphics validation protocol for metric selection, aligned WebGPU readback, target timing, resource models, and lifecycle checks. Load only the sections used by the declared claims.
This step is complete when every measured value identifies its domain, unit, source, sample scope, frozen gate, and supporting artifact.
5. Exercise conditional state
Run only the branches the claims require:
- temporal: reset, first response, steady state, invalidation/disocclusion, and recovery under deterministic camera/object/state changes;
- performance: cold and final sustained windows on the named target;
- GPU attribution: fresh frame/scoped render and compute timestamps with bounded off-critical-path resolution and recorded collection overhead;
- resource: resident, transient, attachment, upload/readback, and traffic evidence proportional to the claim;
- lifecycle: repeated resize/DPR, quality/debug transition, history reset, teardown, and dispose/recreate until resources plateau or trend upward.
renderer.computeAsync() submits work; it is not proof of GPU completion.
CPU-visible completion requires an actual readback/map, while GPU cost requires
timestamp evidence.
This step is complete when every state transition named by a claim has the required before/after diagnostic, plus a reset policy or bounded resource outcome when that claim concerns reset or resources.
6. Return claim-scoped verdicts
Assign exactly one verdict to every claim:
PASS: every required artifact exists and all frozen gates pass;FAIL: a blocking failure occurred or a gate failed;INSUFFICIENT_EVIDENCE: required evidence or capability is unavailable.
Missing required GPU timestamps produce INSUFFICIENT_EVIDENCE for GPU-cost
claims; CPU frame time and presentation cadence do not become GPU timing.
Report unsupported claims and the exact evidence needed to close them.
Validation is complete when every declared claim has one verdict and every verdict resolves to direct evidence. Identify the sole output owner when the run produces rendered output; check deterministic reset for declared temporal state; require a bounded plateau only for declared resource or lifecycle claims.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

