UI
UI 技能路由UI Skills Root
这是什么技能
UI Skills Root能干什么?
简单来说
UI 工作动手前先用它路由:按主题、技术栈和意图,用 ui-skills CLI 挑出最小可用的一组技能再开工。
01 · 安装
装进你的 AI 编码工具
npx skills add https://github.com/ibelick/ui-skills --skill ui-skills-root02 · 原文
SKILL.md
装好之后,AI 编码工具就照这份说明书行事:审计、找证据、写计划,全按它来。
skills/ui-skills-root/SKILL.md59 行展开原文
--- name: ui-skills-root description: Use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI. license: MIT metadata: author: ibelick version: "1.0.0" --- # 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 start npx ui-skills categories npx 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.
出处:www.ui-skills.com(作者 ibelick)。正文为未经删改的英文 SKILL.md 原文,中文导读为本站原创。