Agent Skills › ibelick/ui-skills › ui-skills-root

ui-skills-root

GitHub

作为UI技能的入口路由层,用于判断任务是否涉及UI开发。若涉及,则通过CLI工具按规则筛选并加载最小可用技能上下文以指导实现;否则返回无需技能。

skills/ui-skills-root/SKILL.md ibelick/ui-skills

Trigger Scenarios

用户提出明确的UI开发目标 在Codex、Cursor或Claude Code中需要选择UI相关技能

Install

npx skills add ibelick/ui-skills --skill ui-skills-root -g -y
More Options

Use without installing

npx skills use ibelick/ui-skills@ui-skills-root

指定 Agent (Claude Code)

npx skills add ibelick/ui-skills --skill ui-skills-root -a claude-code -g -y

安装 repo 全部 skill

npx skills add ibelick/ui-skills --all -g -y

预览 repo 内 skill

npx skills add ibelick/ui-skills --list

SKILL.md

Frontmatter
{
    "name": "ui-skills-root",
    "license": "MIT",
    "metadata": {
        "author": "ibelick",
        "version": "1.0.0"
    },
    "description": "Use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI."
}

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.

Version History

  • ae74b58 Current 2026-07-25 05:03

Same Skill Collection

skills/baseline-ui/SKILL.md
skills/component-canvas/SKILL.md
skills/create-canvas/SKILL.md
skills/create-design-md/SKILL.md
skills/fixing-accessibility/SKILL.md
skills/fixing-metadata/SKILL.md
skills/fixing-motion-performance/SKILL.md
skills/improve-ui/SKILL.md

Metadata

Files
0
Version
0829615
Hash
d4e1033f
Indexed
2026-07-25 05:03

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 14:05
浙ICP备14020137号-1