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

How to check a Bricks reference edit before merging with Bricks

Run the Bricks validation suite after changing a component reference.

Short answer: Clone the kostja94/bricks repository and open it in your terminal; then make your edit under skills/component-builder/references/ or update catalog/components.json; run npm test from the repository root. All steps.

Who it is forA contributor or maintainer of the Bricks repo who edits a component reference or the catalog and needs to confirm the changes pass the checks.

The problemEdits to references, the catalog, or the schema can break paths or expectations without an obvious signal.

The outcomeA clear pass or fail report from the Bricks validation suite, with any broken catalog entries, reference paths, or schema expectations identified.

What you need first

  • A project codebase with routes, components, design tokens, and a frontend framework the agent can read
  • A coding agent that can run shell commands such as npx in the project
  • Node.js and npm, needed for npx and for npm test in the Bricks repo

Steps

  1. Clone the kostja94/bricks repository and open it in your terminal.
  2. Make your edit under skills/component-builder/references/ or update catalog/components.json.
  3. Run npm test from the repository root.
  4. Fix any reported catalog, reference path, schema, or Skill failures and run the command again.

Prompt for your agent

In the kostja94/bricks repository at <local path>, edit the reference for <component name> under skills/component-builder/references/components/, then run npm test. Report each failure with its file path and the fix you made, and confirm the final run passes.

Caveat. The validation suite checks catalog, paths, schema, and Skill structure, not whether a component design works in any particular product.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for kostja94/bricks and "Check a Bricks reference edit before merging"

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