技能 编程开发 UI 技能上下文路由

UI 技能上下文路由

v20260929
ui-skills-root
此技能作为 UI 开发任务的路由层,帮助智能体通过 ui-skills CLI 选择最小的有用 UI 技能上下文。在实施前识别任务类别并仅加载必要技能,避免不必要的开销,确保开发效率。
获取技能
236 次下载
概览

UI Skills Root

When to Use

Use this skill when you need use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI.

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.

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
信息
Category 编程开发
Name ui-skills-root
版本 v20260929
大小 2.11KB
更新时间 2026-09-30
语言