360 Secure SkillHub
360 安全技能中心

ui-skills-root

用于 UI 相关工作的路由层:判断任务是否属于 UI,识别类别,通过 ui-skills 命令查看类别与技能,挑选 1 至 3 个最小且具体的技能上下文后据此实现;目标不清时先提一个简短问题,非 UI 任务返回 no skill needed。

ibelick
热度 71.97
最近更新 2026-10-19 02:32:31
分类:开发依赖:代码执行 / 第三方 API应用场景:代码生成 / UI 原型 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ibelick/ui-skills/ui-skills-root
Metadata
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

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.