Agent SkillsKunAgent/Kun › component

component

GitHub

用于创建和发布独立的交互式UI组件或选择受控的数据可视化方案。通过路由设计、渲染图表或展示流程图,生成符合无障碍标准的HTML代码,确保响应式交互与键盘支持。

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

Trigger Scenarios

需要创建单个交互式UI组件 需要展示数据可视化或复杂解释性图表

Install

npx skills add KunAgent/Kun --skill component -g -y
More Options

Non-standard path

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

Use without installing

npx skills use KunAgent/Kun@component

指定 Agent (Claude Code)

npx skills add KunAgent/Kun --skill component -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",
    "description": "Create and publish one focused interactive UI component or choose a governed Kun visualization."
}

Interactive Component

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

Purpose

Create and publish one focused interactive UI component or choose a governed Kun visualization.

Tool routing

Tool or skill Use
design_component Publish one standalone interactive component.
show_visualization Show a simple flow, cards, or callout.
render_chart Render a trustworthy chart or table.
show_diagram Publish a complex explanatory diagram.

Workflow

  1. Identify whether interaction materially improves the answer.
  2. Choose one component, visualization, chart, or diagram tool.
  3. For a component, produce complete standalone HTML with one data-kun-component-root.
  4. Bundle local resources and declare minimum remote origins.
  5. Test responsive behavior and interaction states.

Completion gates

  • Provide labels, keyboard support, visible focus, and reduced-motion behavior.
  • Keep the component focused; use production code tools for complete pages or flows.
  • State the written conclusion outside the visual when needed.

Boundaries

  • Do not use a component for decoration or ordinary prose.
  • Do not request credentials, payments, or sensitive inputs inside prototypes.

Delivery

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

Version History

  • a984912 Current 2026-09-09 01:49

Same Skill Collection

.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-design/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/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/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
resources/bundled-skills/yahoo-finance/SKILL.md

Metadata

Files
0
Version
a984912
Hash
873ae8d6
Indexed
2026-09-09 01:49

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 06:23
浙ICP备14020137号-1 $お客様$