Skip to main content

component

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

来源信息

仓库
KunAgent/Kun
最近来源活动
2026年8月30日 03:07
检测到的 SKILL.md 语言
英语
星标
6,314
分支
592

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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.
在 GitHub 查看