Ui Skills Root

作者 ibelick587ea305b948MIT9.5K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库昨天更新

Use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI.

仅含说明AI & Agents
AI 生成的概览

在实现前通过 ui-skills CLI 将 UI 相关任务路由到最小可用的 UI Skills 上下文。

功能
这是一个 UI Skills 的路由层。它判断任务是否与 UI 相关,确定可能的类别,用 ui-skills CLI 检查该类别,并在实现前只加载最小可用的技能集合。它产出的是选定的技能上下文,而不是代码或设计成品。
适用场景
当 Codex、Cursor 或 Claude Code 中的智能体有明确的 UI 目标,需要选择合适的 UI 技能上下文时使用。它也适用于需要组合最多三个技能的广泛评审、重新设计或多界面 UI 工作。
运行要求
需要 ui-skills CLI,通过 npx 运行,并需要网络访问以获取它。不附带脚本,仅包含说明。

UI Skills Root

You are the routing layer for UI Skills.

This skill is shown by npx ui-skills start and is also available in the registry.

Use it when an agent in Codex, Cursor, or Claude Code has a clear UI goal.

If the goal is unclear, ask one short question.

If the goal is clear, choose the right category, load the smallest useful skill context, then implement.

Protocol

  1. decide if the task is UI-related
  2. if not, return no skill needed
  3. identify the likely category
  4. inspect that category with the CLI
  5. select the smallest useful skill set
  6. load only selected skill(s)
  7. implement using that context

CLI

bash
npx ui-skills startnpx ui-skills categoriesnpx ui-skills list --category <category>npx ui-skills get <slug>

Selection Rules

Prefer 1 skill.

Use 2 only when the task needs two clear angles.

Use 3 only for broad review, redesign, or multi-surface work.

Never use more than 3.

Route by topic, then stack, then specificity.

Prefer specific skills over broad skills.

Prefer framework-specific skills when the stack is obvious.

For quick cleanup, prefer the most specific craft, visual, or layout skill available.

If unsure, inspect categories and pick the safest narrow skill.

来源与署名

来源:ibelick/ui-skills位于skills/ui-skills-root提交587ea30

许可证: MIT

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架