Agent Skills › KunAgent/Kun › component-design

component-design

GitHub

指导为Kun组件应用一致的视觉系统、响应式行为、交互状态及无障碍设计。涵盖从定义层级、选择Token到实现多种状态及验证对比度和可访问性的完整工作流,确保交付高质量的前端UI组件。

resources/bundled-skills/component-design/SKILL.md KunAgent/Kun

触发场景

需要设计或优化前端组件的视觉和交互 检查组件是否符合设计系统和无障碍标准

安装

npx skills add KunAgent/Kun --skill component-design -g -y
更多选项

非标准路径

npx skills add https://github.com/KunAgent/Kun/tree/master/resources/bundled-skills/component-design -g -y

不安装直接使用

npx skills use KunAgent/Kun@component-design

指定 Agent (Claude Code)

npx skills add KunAgent/Kun --skill component-design -a claude-code -g -y

安装 repo 全部 skill

npx skills add KunAgent/Kun --all -g -y

预览 repo 内 skill

npx skills add KunAgent/Kun --list

SKILL.md

Frontmatter
{
    "name": "component-design",
    "description": "Apply a coherent visual system, responsive behavior, interaction states, and accessibility to Kun components."
}

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

  • Use one focal point and avoid nested-card clutter.
  • Use color as reinforcement, not the only signal.
  • Keep remote resource policy least-privilege.

Boundaries

  • Do not depend on undocumented host CSS or runtime globals.
  • Do not hide essential text in imagery or animation.

Delivery

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

版本历史

  • a984912 当前 2026-09-09 01:49

同 Skill 集合

.claude/skills/openspec-apply-change/SKILL.md
.claude/skills/openspec-archive-change/SKILL.md
.claude/skills/openspec-explore/SKILL.md
.claude/skills/openspec-propose/SKILL.md
.codex/skills/openspec-apply-change/SKILL.md
.codex/skills/openspec-archive-change/SKILL.md
.codex/skills/openspec-explore/SKILL.md
.codex/skills/openspec-propose/SKILL.md
.cursor/skills/openspec-apply-change/SKILL.md
.cursor/skills/openspec-archive-change/SKILL.md
.cursor/skills/openspec-explore/SKILL.md
.cursor/skills/openspec-propose/SKILL.md
resources/bundled-skills/ad-creative/SKILL.md
resources/bundled-skills/automation/SKILL.md
resources/bundled-skills/browser/SKILL.md
resources/bundled-skills/canvas/SKILL.md
resources/bundled-skills/chart-rendering/SKILL.md
resources/bundled-skills/component/SKILL.md
resources/bundled-skills/content-research-writer/SKILL.md
resources/bundled-skills/copy-editing/SKILL.md
resources/bundled-skills/copywriting/SKILL.md
resources/bundled-skills/daily-brief/SKILL.md
resources/bundled-skills/data-visualization/SKILL.md
resources/bundled-skills/diagram-design/SKILL.md
resources/bundled-skills/docx/SKILL.md
resources/bundled-skills/excalidraw-diagram/SKILL.md
resources/bundled-skills/gen-ui/SKILL.md
resources/bundled-skills/humanizer-zh/SKILL.md
resources/bundled-skills/image-generation/SKILL.md
resources/bundled-skills/imf-data/SKILL.md
resources/bundled-skills/integration-binding/SKILL.md
resources/bundled-skills/kun-tool-router/SKILL.md
resources/bundled-skills/legal-risk-assessment/SKILL.md
resources/bundled-skills/media-video/SKILL.md
resources/bundled-skills/office-editor/SKILL.md
resources/bundled-skills/open-data/SKILL.md
resources/bundled-skills/paper-library/SKILL.md
resources/bundled-skills/paper-reader/SKILL.md
resources/bundled-skills/process-doc/SKILL.md
resources/bundled-skills/saas-metrics-coach/SKILL.md
resources/bundled-skills/scholar-research/SKILL.md
resources/bundled-skills/scientific-problem-selection/SKILL.md
resources/bundled-skills/sec-edgar/SKILL.md
resources/bundled-skills/skill-creator/SKILL.md
resources/bundled-skills/skill-pack-builder/SKILL.md
resources/bundled-skills/slides/SKILL.md
resources/bundled-skills/webapp-building/SKILL.md
resources/bundled-skills/world-bank-data/SKILL.md
resources/bundled-skills/xlsx/SKILL.md

元信息

文件数
0
版本
0d84061
Hash
aae64b57
收录时间
2026-09-09 01:49

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 01:10
浙ICP备14020137号-1