For product teams building with coding agents

Your design-system team,
in one install.

Build and maintain your design system with your coding agent. DS Loop helps it find what exists, improve the shared code, and leave examples and decisions your next contributor can use.Build shared components with your coding agent. Use them in your screens and keep examples and decisions with the code.

npm install -D ds-loop@latest

Open source · MIT · Node.js 22.6+

Design System Loop on Product Hunt

A design-system change your team can maintain

How it works · Choose a step

01 / INVESTIGATE
Find the theme mismatch.
FindingAction uses a literal
Sourcebefore.css:7

Your agent reads your code, tokens, components, and docs first. Every finding points to its source.

The work of a design-system team.

Local source checks and a skill for your coding agent. Build shared components, put them into product screens, and document how to use them.

Every new screen adds another set of decisions.

Your app has a shared input, but the billing form builds its own. The settings screen hardcodes a color that already has a token. As people and agents ship changes, the code drifts from the system you agreed on.

An agent can repeat the same mistake when it cannot find your library. DS Loop helps it find the right component, use a checked example, and save the decision for the next change.

The same controls, drifting apart
Billing.tsx · another local button
<button className="billing-action">Pay</button>
Your agent builds another button.Without a clear path to your library, another screen gets another implementation.

Illustrative UI and code.

Build and maintain your design system

DS Loop helps your coding agent build shared components, connect existing screens to them, and keep usage guidance up to date. Your team chooses the work; your agent implements and checks it.

Choose what to work onBuild, adopt, document, or maintain

Build shared foundations

“Our screens need a shared foundation.”

Your agent builds tokens and shared components for the screens you choose, with examples your team can follow.

Use your existing components

“We have components. Our screens bypass them.”

Find which screens bypass your library. Your agent connects them to the shared components and checks the affected behavior.

Help agents use your system

“Our agent keeps rebuilding components we already have.”

Make real components, APIs, and decisions easy to find. Check the setup with a fresh agent completing a real task.

Maintain it as you ship

“We know what to do. We need hands.”

Your agent takes on migrations, documentation, and maintenance using your team’s existing conventions.

Your agent edits. The engine checks. Your team decides.

Local checks provide evidence from your code. Your coding agent investigates it, proposes a plan, and carries out the work you approve. Updated checks and project notes feed the next round.

Explore the workflowFollow a request from checks to changes

Your agent runs the checks. Hooks and CI need setup.

A report your team
can act on.

Findings with sources and an ordered plan. Each step says what it changes and how you’ll know it worked. This example follows a theme fix from the findings through implementation, browser checks, and handoff notes.

Read the example report

This example includes the fix, browser checks, and handoff notes.

A look inside the report. Follow the change through verification ↗

What your team gets

Shared components used in your product, editable tokens, working examples, and documented decisions. The code and guidance stay in your project so developers and coding agents can use them for the next change.

Color, spacing, and type

Editable color, spacing, and type decisions connected to the components that use them.

Reusable components and patterns

Shared buttons, inputs, and tables used in your product.

Documented decisions

Which product differences to keep, where they apply, and why.

Usage and maintenance guide

Correct import paths, supported props, working examples, and decisions your agent can find. Keep the guidance with the code and explain how to update it.

Use the same foundations across your screens.

Shared inputs, actions, and layout patterns give the next screen code to reuse.

Compare example screensSee shared foundations in use

Connect DS Loop to your coding agent

Open source · Checks run locally
Node 22.6 or later · Alpha · review changes before shipping

  1. Install

    Run npm install -D ds-loop@latest in your project to add the package and bundled skill.

  2. Connect your agent

    Choose your host: claude, codex, or cursor. For Codex, run npx ds-loop install --agent codex. Replace codex with your host’s name. Agent setup instructions.

  3. Start

    Ask your coding agent to read node_modules/ds-loop/skill/SKILL.md and investigate your project. Review the proposed plan and approve the work before it makes changes.

Before you install

What makes the design system LLM-ready?

Can a fresh agent find the right component, use its actual API, and check the result without you supplying every detail? DS Loop helps you connect the components, examples, and project decisions it needs, then try a representative task. That task shows what works and what still needs attention.

Why use it if my agent already has DESIGN.md?

Keep your DESIGN.md. DS Loop helps your agent turn that guidance into shared components, checked changes, and updated documentation.

Do we need a design system already?

No. Your agent can help you start one. If you already use a component library, it should look at what you have before suggesting a replacement.

What does it check, and what doesn’t it?

The engine reads CSS custom properties and selected rule properties, Tailwind values in JavaScript and TypeScript strings, DTCG and Style Dictionary token JSON, and SCSS/Sass. Rendered layouts, interactions, accessibility, and design quality need separate review. Read the exact coverage.

Does it run in the background?

The optional Claude Code hook reports findings after edits; it does not block them. You can also configure CI to fail on selected findings or coverage gaps. Installing the package does not schedule checks or start ongoing maintenance.

Does it replace shadcn/ui or require Storybook?

You can keep shadcn/ui or another suitable library. Storybook is optional; component examples and a usage guide may be enough to start.

What does it cost, and where does our code go?

The package and skill are open source under MIT. The engine runs locally without model calls, API keys, or network access. Your coding agent’s costs and data handling depend on its provider and your settings.