← 返回 Skills 市场
wpank

Design System Creation

作者 wpank · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
2431
总下载
6
收藏
23
当前安装
1
版本数
在 OpenClaw 中安装
/install design-system-creation
功能描述
Complete workflow for creating distinctive design systems from scratch. Orchestrates aesthetic documentation, token architecture, components, and motion. Use when starting a new design system or refactoring an existing one. Triggers on create design system, design tokens, design system setup, visual identity, theming.
使用说明 (SKILL.md)

Design System Creation (Meta-Skill)

Complete workflow for creating distinctive design systems with personality.

Installation

OpenClaw / Moltbot / Clawbot

npx clawhub@latest install design-system-creation

When to Use

  • Starting a new product that needs visual identity
  • Refactoring an existing design with scattered styles
  • Building a component library with design tokens
  • Want to go beyond generic Tailwind/Bootstrap aesthetics

Workflow Overview

1. Aesthetic Foundation   → Document the vibe before code
2. Color Token System     → CSS variables + Tailwind + TypeScript
3. Typography System      → Font stack + scale + patterns
4. Surface Components     → Layered primitives with CVA
5. Motion Tokens          → Consistent animation timing
6. Loading States         → Skeleton + shimmer patterns

Step 1: Aesthetic Foundation

Read: ai/skills/design-systems/distinctive-design-systems

Before writing CSS, document the aesthetic:

## The Vibe
[1-2 sentences describing the visual feel]

## Inspirations
- [Reference 1 - what to take from it]
- [Reference 2 - what to take from it]

## Emotions to Evoke
| Emotion | How It's Achieved |
|---------|-------------------|
| [X] | [specific technique] |
| [Y] | [specific technique] |

Proven Directions to Consider

Aesthetic Characteristics
Retro-futuristic CRT textures, glow effects, monospace fonts
Warm cyberpunk Tan/beige base, emerald accents, glass panels
Magazine financial Bold typography, dark theme, gradient text

Step 2: Color Token Architecture

Read: ai/skills/design-systems/distinctive-design-systems

Create the three-layer token system:

/* 1. CSS Variables (source of truth) */
:root {
  --tone-primary: 76, 204, 255;
  --primary: 200 90% 65%;
  --success: 154 80% 60%;
  --destructive: 346 80% 62%;
}
// 2. Tailwind Config
colors: {
  primary: 'hsl(var(--primary))',
  tone: { primary: 'rgb(var(--tone-primary))' },
}
// 3. TypeScript Tokens (optional)
export const colors = {
  primary: 'hsl(var(--primary))',
};

Step 3: Typography System

Read: ai/skills/design-systems/distinctive-design-systems

Define fonts and scale:

:root {
  --font-display: 'Orbitron', system-ui;
  --font-mono: 'Share Tech Mono', monospace;
  --font-sans: 'Inter', system-ui;
  
  --typo-scale: 0.88;  /* Mobile */
}

@media (min-width: 640px) {
  :root { --typo-scale: 1; }
}

Typography Patterns

/* Magazine-style numbers */
.metric { font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Labels */
.label { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

Step 4: Surface Components

Read: ai/skills/design-systems/design-system-components

Build layered surface primitives with CVA:

const surfaceVariants = cva(
  'rounded-lg backdrop-blur-sm transition-colors',
  {
    variants: {
      layer: {
        panel: 'bg-tone-cadet/40 border border-tone-jordy/10',
        tile: 'bg-tone-midnight/60 border border-tone-jordy/5',
        chip: 'bg-tone-cyan/10 border border-tone-cyan/20 rounded-full',
      },
    },
  }
);

export function Surface({ layer, children }: SurfaceProps) {
  return \x3Cdiv className={surfaceVariants({ layer })}>{children}\x3C/div>;
}

Step 5: Motion Tokens

Read: ai/skills/design-systems/distinctive-design-systems

Define consistent animation timing:

// tailwind.config.ts
keyframes: {
  'shimmer': { '0%': { backgroundPosition: '200% 0' }, '100%': { backgroundPosition: '-200% 0' } },
  'pulse-glow': { '0%, 100%': { opacity: '1' }, '50%': { opacity: '0.5' } },
  'slide-in': { '0%': { opacity: '0', transform: 'translateY(10px)' }, '100%': { opacity: '1', transform: 'translateY(0)' } },
},
animation: {
  'shimmer': 'shimmer 1.5s ease-in-out infinite',
  'pulse-glow': 'pulse-glow 1.8s ease-in-out infinite',
  'slide-in': 'slide-in 0.2s ease-out',
}

Step 6: Loading States

Read: ai/skills/design-systems/loading-state-patterns

Create skeleton components that match your aesthetic:

export function Skeleton({ className }: { className?: string }) {
  return (
    \x3Cdiv
      className={cn(
        'rounded-md bg-muted animate-shimmer',
        'bg-gradient-to-r from-muted via-muted-foreground/10 to-muted bg-[length:200%_100%]',
        className
      )}
    />
  );
}

Component Skills Reference

Skill Purpose
distinctive-design-systems Aesthetic foundation, tokens
design-system-components Surface primitives, CVA
animated-financial-display Number animations
loading-state-patterns Skeletons, shimmer
financial-data-visualization Chart theming

File Structure

styles/
├── globals.css          # CSS variables, base styles
├── design-tokens.ts     # TypeScript exports
└── theme.css            # Component patterns

tailwind.config.ts       # Token integration

components/
├── ui/
│   ├── surface.tsx      # Surface primitive
│   ├── skeleton.tsx     # Loading states
│   └── button.tsx       # Variant components

NEVER Do

  • Never start with code before documenting aesthetic — Vibes before CSS
  • Never use pure black (#000) as base — Always use tinted blacks for depth
  • Never use pure white (#fff) for text — Use tinted whites that match the palette
  • Never skip design tokens in favor of hardcoded values — Tokens prevent drift
  • Never create components without variant system — Use CVA or similar for consistency
  • Never use Inter/Roboto for headings — Display fonts create distinctiveness
  • Never use default Tailwind colors — Define your own palette
  • Never skip backdrop-filter blur on glass — Glass panels need blur to work
  • Never apply decorative patterns to readable content — Background decoration only
  • Never use high-saturation colors without opacity — Modulate with rgba()

Checklist

  • Document aesthetic foundation (vibe, inspirations, emotions)
  • Create color token system (CSS + Tailwind + TS)
  • Define typography stack and scale
  • Build Surface primitive component
  • Add motion tokens and animations
  • Create loading state components
  • Document anti-patterns (what NOT to do)
安全使用建议
This skill is an instruction-only design-system meta-skill and appears coherent with its description. Before installing or running any provided installation commands: (1) verify the skill source — the homepage is missing and the owner is unknown; (2) inspect the remote repository referenced in README (or avoid running npx commands you don't trust); (3) do not blindly execute copy/install commands that reference ~/.ai-skills, ~/.cursor, or other home directories; and (4) review any referenced component skills listed in the document to ensure they are trustworthy. If you want extra safety, clone the repo into an isolated project or sandbox and read the files locally rather than running remote installers.
功能分析
Type: OpenClaw Skill Name: design-system-creation Version: 1.0.0 The skill bundle is classified as benign. All files, including SKILL.md and README.md, contain instructions and code examples solely focused on creating design systems. There is no evidence of malicious code, data exfiltration attempts, unauthorized system access, or prompt injection aimed at subverting the AI agent's behavior. The installation commands are standard for skill management platforms and do not introduce additional risk beyond the inherent trust in the `clawhub` tool itself.
能力评估
Purpose & Capability
The skill's name, description, and runtime instructions all focus on authoring design-system artifacts (tokens, typography, components, motion). It does not declare unrelated binaries, environment variables, or credentials, so the requested capabilities are proportional to the stated purpose.
Instruction Scope
Runtime instructions are prose and code examples for building design systems. They include several 'Read: ai/skills/...' references to other component skills (logical for a meta-skill). This may cause an agent to attempt to load local skill files for context — not inherently malicious but worth reviewing. No instructions ask the agent to read system secrets or send data to external endpoints.
Install Mechanism
There is no install spec in the skill bundle (instruction-only), which minimizes risk. The README shows example install commands (npx clawhub@latest install ... and an npx add GitHub URL) — those commands, if executed, would fetch/execute remote code. That is an installation-time risk (not intrinsic to the skill content) and should be handled by inspecting the referenced repository before running such commands.
Credentials
The skill declares no required environment variables, credentials, or config paths. There are no requests for tokens or secrets and no use of environment data in the instructions, so requested access is proportional.
Persistence & Privilege
Flags show default behavior (always: false, autonomous invocation allowed). The skill does not request persistent system presence or elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install design-system-creation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /design-system-creation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release: complete workflow for creating distinctive design systems from scratch. - Guides the process from documenting aesthetic foundations through token/app/component architecture and motion. - Provides detailed steps for color tokens, typography, surface primitives (with CVA), animation tokens, and skeleton/loading patterns. - Includes anti-patterns, file structure, use-cases, and checklists to ensure distinctiveness and maintainability. - References related component and design skills for modular extension.
元数据
Slug design-system-creation
版本 1.0.0
许可证
累计安装 25
当前安装数 23
历史版本数 1
常见问题

Design System Creation 是什么?

Complete workflow for creating distinctive design systems from scratch. Orchestrates aesthetic documentation, token architecture, components, and motion. Use when starting a new design system or refactoring an existing one. Triggers on create design system, design tokens, design system setup, visual identity, theming. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2431 次。

如何安装 Design System Creation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install design-system-creation」即可一键安装,无需额外配置。

Design System Creation 是免费的吗?

是的,Design System Creation 完全免费(开源免费),可自由下载、安装和使用。

Design System Creation 支持哪些平台?

Design System Creation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Design System Creation?

由 wpank(@wpank)开发并维护,当前版本 v1.0.0。

💬 留言讨论