DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to keep designed Shaders in sync with your codebase with Shaders

Use the Shaders CLI to link a project, install designs as files, and pull later edits.

Short answer: Run npx shaders connect to link this codebase to a Shaders project; then run npx shaders install to pick Shaders from that project and write component files; run npx shaders search "..." with a description to find a preset in the library. All steps.

  • Content
  • Intermediate
  • 30 minutes
  • From the README
  • Any agent

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

  1. Run npx shaders connect to link this codebase to a Shaders project.
  2. Run npx shaders install to pick Shaders from that project and write component files.
  3. Run npx shaders search "..." with a description to find a preset in the library.
  4. After editing the design in the editor, run npx shaders update to 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer