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
- Clone the kostja94/bricks repository and open it in your terminal.
- Make your edit under skills/component-builder/references/ or update catalog/components.json.
- Run
npm testfrom the repository root. - 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
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