Who it is forA developer whose team designs effects in the Shaders editor and needs the same versions in the codebase.
The problemCopying exported code by hand means every later design change has to be copied again.
The outcomeDesign files in your components folder that update when you change the design in the editor.
What you need first
- Node.js and npm to install the shaders package
- A project using React, Vue, Svelte, Solid, or plain JavaScript
- A browser with WebGPU support for the effects to render
- A free shaders.com account if you want to use the design editor or CLI sync
Steps
- Run
npx shaders connectto link this codebase to a Shaders project. - Run
npx shaders installto pick Shaders from that project and write component files. - Run
npx shaders search "..."with a description to find a preset in the library. - After editing the design in the editor, run
npx shaders updateto pull in the changes.
Prompt for your agent
In the shader-effects-inc/shaders repo, use the Shaders CLI to connect <project-path> to a Shaders project, install <shader-name>, and update it. Expected output: the new component files and an updated lock file. Verify that the lock file lists the installed shader.
Caveat. The CLI needs a Shaders account and project, and the README does not describe how the account link is stored, so review what connect changes before committing.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for shader-effects-inc/shaders and "Keep designed Shaders in sync with your codebase"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer