Component design

From KunAgent/Kun · View interactive version

Component design is an AI agent skill from the GitHub repository KunAgent/Kun. Apply a coherent visual system, responsive behavior, interaction states, and accessibility to Kun components.

How to use this skill

Skill file

Component Design

Copyright (c) 2026 KunAgent. Licensed under the MIT License.

Purpose

Apply a coherent visual system, responsive behavior, interaction states, and accessibility to Kun components.

Tool routing

| Tool or skill | Use |

|---|---|

| design_system | Create or apply project design tokens. |

| design_validate | Validate design-system usage. |

| design_component | Publish the component prototype. |

| generate_image | Create a needed local visual asset. |

Workflow

  1. Define hierarchy, content density, primary action, and states.
  2. Choose type, spacing, color, radius, and motion tokens before styling details.
  3. Design mobile and desktop layouts intentionally.
  4. Implement hover, focus, active, disabled, loading, empty, success, and error states as relevant.
  5. Validate contrast, semantics, motion, and responsiveness.

Completion gates

Boundaries

Delivery

Lead with the outcome, name the evidence used for verification, and disclose any real limitation that remains.

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.