shader-extract
Shader Extract
Capture one GPU-rendered surface and rebuild it as a verified, runnable local effect module. The governing principle — inherited from the vendored engine this skill wraps — is evidence before implementation: capture what the page's GPU pipeline actually does (shaders, uniforms, pass order, textures, timing) and match it, rather than eyeballing the visual and hand-tuning a lookalike. A lookalike drifts; a capture-matched baseline is faithful and honest about its gaps.
This skill = intake adapter + a vendored evidence-gated engine
The heavy machinery lives in vendor/web-shader-extractor/ — an
evidence-gated state machine (surface lock → source/runtime trace → capture →
verified baseline → projectize) by lixiaolin94 (MIT; see ATTRIBUTION.md). Do
not reimplement it. This wrapper does two things the vendored engine assumes were
done elsewhere: