Openclaw design system

From openclaw/clawhub · View interactive version

Openclaw design system is an AI agent skill from the GitHub repository openclaw/clawhub. Compatibility alias for existing OpenClaw installations that now applies Carapace semantic tokens, themes, shared CSS foundations, consumer adapters, and established local primitives.

How to use this skill

Skill file

Carapace Compatibility Alias

This skill identifier remains available for existing skills-lock.json

entries during the v0.1.x migration. New installations should use

openclaw-carapace.

Use the shared package for foundations and framework-neutral visual primitives.

Keep consumer-specific behavior, data, routes, and layout composition local.

Before changing imports, inspect the consumer manifest: use

@openclaw/carapace when it is installed, otherwise preserve the legacy

@openclaw/design-system specifier until the dependency is migrated.

Workflow

  1. Read tokens.md before choosing colors, spacing, type, radii, or shadows.
  2. Read consumer-adapters.md for the current framework.
  3. Inspect the consumer's existing shared primitives before creating a component.
  4. Use semantic tokens for UI intent; use palette primitives only for documented exceptions.
  5. Keep application behavior, routes, and information architecture unchanged unless the task says otherwise.
  6. Validate the affected routes with existing tests and real browser screenshots.

Interface Rules

Ownership

Move visual implementation into this repository when its interface is

framework-neutral and useful across consumers. Keep runtime behavior and

framework adapters local until at least two consumers need the same interface

and behavior.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.