Testing AI UI Coding Agents with Primer and Storybook MCPTesting AI UI Coding Agents with Primer and Storybook MCP
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
I gave an AI coding agent 10 everyday UI tasks against GitHub's Primer design system and compiled every file against the exact version. - No help: 9 of 10 screens didn't compile. The agent remembered Box and sx, which Primer removed. - With Primer's official Storybook MCP: 4 of 10 still failed. The docs gave root imports for components Primer only exports from @primer/react/experimental. - MCP plus permission to run a type check: 0 of 10. The agent read the compiler error and fixed the import itself. The lesson: documentation isn't enough. Give the agent a way to check its own work. I reported the import bug to Storybook (storybookjs/storybook#37644). Full method and limits: https://kata.nobori.studio/articles/storybook-mcp-primer
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started