Agent skill

Zuix Component

by easysoft in easysoft/zui

在独立 ZUI 扩展项目中设计、实现或修复组件;区分扩展与宿主边界,需求明确时完成必要规划后直接实施. An agent skill from easysoft/zui.

MITAuto-check passedFrontend & Design

Install Zuix Component

skills CLI
$ npx skills add easysoft/zui --skill zuix-component -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install easysoft/zui zuix-component --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/easysoft/zui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-exts/zuix-component .claude/skills/zuix-component && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
zuix-component
GitHub stars
2.8k
Token cost
~675 tokens
SKILL.md length
140 words
Files
2
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

在独立 ZUI 扩展项目中设计、实现或修复组件;区分扩展与宿主边界,需求明确时完成必要规划后直接实施. An agent skill from easysoft/zui.

  • Works in 5 steps: 从请求、目标源码和 package… → 只询问无法从两个仓库发现且会改变设计的信息。高影响歧义通常包括 → 定义最小公开 API、状态与数据流、DOM… → …
  • Frontend & Design work in your project
  • SKILL.md covers 准备, 理解与设计, 实施计划 and 实施, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Zuix Component is an agent skill from easysoft/zui. 在独立 ZUI 扩展项目中设计、实现或修复组件;区分扩展与宿主边界,需求明确时完成必要规划后直接实施。

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Frontend & Design. It works with Preact. The repository describes itself as: ZUI is an HTML5 front UI framework. The licence is MIT.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/zuix-component”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 从请求、目标源码和 package 元数据推断用途、用户、约束及兼容要求。分别判断包角色和实现架构;不要因为 zui.type 是 component 就默认使用 Preact。
  2. 只询问无法从两个仓库发现且会改变设计的信息。高影响歧义通常包括
  3. 定义最小公开 API、状态与数据流、DOM 所有权、生命周期、异步竞态、更新与销毁策略。仅暴露真实需要的入口。
  4. 跨库导入使用被依赖库真实的 packageName,不要从目录名拼接 @zui/,也不要通过相对路径穿越扩展库、宿主库或符号链接边界。
  5. 主 ZUI 的 Component、ComponentFromReact、Preact、Cash、注册机制和 LibLoader 契约以当前 zuiRoot 源码为准;扩展项目局部惯例以 extensionRoot 的成熟实现为准。

What it can do on your machine

Read from SKILL.md and the folder at commit d99f043. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Zuix Component loads about 675 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 140 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~675

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from easysoft/zui at commit d99f043, republished under its MIT licence (© easysoft). 140 words, ~675 tokens.

Download SKILL.mdSave it as .claude/skills/zuix-component/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
zuix-component
description
在独立 ZUI 扩展项目中设计、实现或修复组件;区分扩展与宿主边界,需求明确时完成必要规划后直接实施。

ZUI 扩展组件开发

准备

按 共享工作流 解析本次所需上下文、读取适用规则并检查所有权;已有且未变化的发现直接复用。

阅读 组件规范 的相关部分;运行时加载外部资源再读 external-library 规范,涉及包元数据再读 library 规范,其他领域按需路由。阅读判断本次变更所需的目标源码,架构或契约不清楚时再补充基础设施和相似实现。

新增组件或能力前执行先查找,再复用,检索当前扩展项目和宿主可组合的已有组件与 helper;设计中说明所复用的真实包名、API 或必须新增的缺口。

理解与设计

  1. 从请求、目标源码和 package 元数据推断用途、用户、约束及兼容要求。分别判断包角色和实现架构;不要因为 zui.type 是 component 就默认使用 Preact。
  2. 只询问无法从两个仓库发现且会改变设计的信息。高影响歧义通常包括:
    • HTML/CSS、Preact、vanilla 构造器、自动创建或 toggle 中哪些是公开消费方式;
    • 受控/非受控状态、事件、命令式方法、异步与错误行为;
    • 视觉变体、响应式、键盘、焦点、ARIA 和 i18n 要求。
  3. 定义最小公开 API、状态与数据流、DOM 所有权、生命周期、异步竞态、更新与销毁策略。仅暴露真实需要的入口。
  4. 跨库导入使用被依赖库真实的 packageName,不要从目录名拼接 @zui/<name>,也不要通过相对路径穿越扩展库、宿主库或符号链接边界。
  5. 主 ZUI 的 Component、ComponentFromReact、Preact、Cash、注册机制和 LibLoader 契约以当前 zuiRoot 源码为准;扩展项目局部惯例以 extensionRoot 的成熟实现为准。

实施计划

按共享工作流完成必要规划后直接实施;计划仅展开本次相关决策:

  • 四层上下文、目标库的 folderName / packageName / zuiName、包角色、组件架构及必要参考依据;
  • 目标、非目标、兼容性与可观察验收场景;
  • 公开消费方式、options/props、事件、方法、类型及导出;
  • 渲染、状态/数据流、生命周期、异步行为、清理、无障碍和 i18n;
  • 外部资源(若有)的 loader 所有权、注册名、资源/check/依赖、加载时机、失败重试和销毁竞态;
  • targetLibRoot 内的精确文件集、入口、样式及 package 元数据影响;新增第三方依赖时,按版权与文档规则纳入 extensionRoot 的版权文件与依赖说明;
  • 在 extensionRoot 执行的依赖、lint、类型或测试,以及在 zuiRoot + extsName 执行的联合验证;
  • 正式文档和调试页是否纳入、剩余假设及任务范围。

任务范围、已明确决定和必要澄清遵循共享工作流,始终服从当前协作模式。

实施

  1. 当前模式允许编辑时检查 gitRoot 状态,按共享工作流复用或刷新受影响的上下文。

  2. 仅在 targetLibRoot 和任务所需的扩展项目文件内实施。依赖安装、lockfile、lint、类型检查和扩展项目测试都从 extensionRoot 执行;不修改宿主源码、依赖、lockfile 或注册配置;宿主生成物和缓存写入遵循共享工作流的验证隔离与批准规则。

  3. 使用 Preact 而不是 React,并遵循状态与副作用规范:禁止 hooks,响应式状态推荐 signals,按生命周期清理 effect。跨库导入使用真实 packageName;显式维护局部入口、库入口及必要副作用导入。zuiName 只用于宿主发现/构建选择,不能代替模块包名。

  4. 运行时外部依赖统一通过目标库内单例 LibLoader<T> 按需加载,落实加载失败、显式重试、异步销毁竞态及第三方实例清理;不要在组件中维护第二份模块缓存。

  5. 按 布局与样式规范 优先组合 @zui/utilities 辅助类,只有无法快捷实现时才补充最少自定义 CSS。使用 src/style/*.css 时尽可能采用语义等价的 Tailwind @apply,全部 CSS 通过 src/style/index.ts 接入真实样式消费入口;前缀和生成效果以当前扩展与宿主配置共同验证。落实语义标签、键盘、焦点和 ARIA。

  6. 若任务范围包含其他领域,按需读取对应技能并传递已有发现和任务范围:

    • 国际化:../zuix-i18n/SKILL.md
    • 正式文档:../zuix-doc/SKILL.md
    • 调试页:../zuix-dev/SKILL.md

    这些子流程在共享任务范围内直接实施。

验证与交付

按共享工作流选择本次所需的扩展检查及宿主检查,完成范围内修复和复验。涉及宿主运行时、样式或分发时,使用已确认的 zuiRoot + extsName 和准确 zuiName 验证;实际执行位置及服务管理遵循共享规则。

新增或改变对应行为时,验证相关消费方式、状态、事件、键盘/焦点、异步竞态和销毁。交付时报告实现文件、公开 API、影响交付的上下文及分层验证结果,不自动提交、推送或发布。

© easysoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills-exts/zuix-component of easysoft/zui.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit d99f043

Compare with similar skills

Zuix Component next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Zuix Component compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Zuix Component this skilleasysoft/zui2.8k—~675Automated safety check: PassMIT
Boneyard0xGF/boneyard7.5k—~2.2kAutomated safety check: NotesMIT
Tailwind To Stylexshadcn-labs/shadcn-cssinjs122—~2.7kAutomated safety check: PassMIT
Frontend8borane8/s2pipe107—~2.2kAutomated safety check: PassMIT
Deno Frontend Developmentdenoland/skills100—~783Automated safety check: PassMIT
Preact Developeroaustegard/claude-skills150—~4.6kAutomated safety check: PassMIT

Similar skills

  • Boneyard

    0xGF/boneyard

    Use boneyard-js to add, configure, debug, or rebuild skeleton screens.

    7.5k GitHub stars~2.2k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check: notes
  • Tailwind To Stylex

    shadcn-labs/shadcn-cssinjs

    Migrate TailwindCSS to StyleX. An agent skill from shadcn-labs/shadcn-cssinjs.

    122 GitHub stars~2.7k tokensUpdated 26 days ago
    Frontend & DesignAuto-check passed
  • Frontend

    8borane8/s2pipe

    Conventions front (Slick, Preact, CSS structurel, islands). An agent skill from 8borane8/s2pipe.

    107 GitHub stars~2.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Official

    Chooses between running regular npm frontend frameworks under Deno and building with Fresh, Deno's island-architecture framework, with Fresh 2.x guidance.

    100 GitHub stars~783 tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Preact Developer

    oaustegard/claude-skills

    Guides building standards-based Preact apps with native-first choices, HTM syntax, import maps and vendored ESM, from single-file demos to larger builds.

    150 GitHub stars~4.6k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • Webpack Plugin Recipes

    pproenca/dot-skills

    A skill your agent uses whenever you face a webpack-build problem that ends with needing to write a plugin — 26 production-shaped recipes covering bundle-size budgets, forbidden architectural…

    214 GitHub stars~2k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed

More from easysoft/zui

All 24 skills in this repo
  • Zui Build

    easysoft/zui

    使用内置 ZUI 资源从零创建可运行的独立网页或小型静态站点。向已有应用集成 ZUI 时使用 zui 技能. An agent skill from easysoft/zui.

    2.8k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Zui

    easysoft/zui

    在已有应用中集成、使用或排查 ZUI 3,直接创建和注册应用自定义组件,或使用已提供的 Web Components;适用于消费方项目,不用于开发 ZUI 源码仓库。

    2.8k GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Zui Standards

    easysoft/zui

    查询 ZUI 主仓库的开发规范,为库开发及本地 exts 接入任务提供相关约束和仓库证据;规范查询保持只读. An agent skill from easysoft/zui.

    2.8k GitHub stars~434 tokensUpdated yesterday
    Auto-check passed
  • Zuix Standards

    easysoft/zui

    查询独立 ZUI 扩展项目的开发规范,解析目标库、扩展工作区、Git 所有权及所需宿主上下文;始终只读. An agent skill from easysoft/zui.

    2.8k GitHub stars~403 tokensUpdated yesterday
    Auto-check passed
  • Zui Wrap Lib

    easysoft/zui

    将已经可用的 UMD/IIFE 资源封装为 ZUI 主仓库的 lib/ 库,通过 LibLoader 按需加载。不转换资源格式,需求明确时形成集成计划后直接实施。

    2.8k GitHub stars~970 tokensUpdated yesterday
    Auto-check passed
  • Zui Commit

    easysoft/zui

    审查并提交 ZUI 主仓库的改动;用户直接调用本技能即进入提交模式,必要检查通过后直接提交。只要求分析、评审或生成提交信息时保持只读。

    2.8k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check: notes

Works with

Questions about Zuix Component

What does Zuix Component do?

在独立 ZUI 扩展项目中设计、实现或修复组件;区分扩展与宿主边界,需求明确时完成必要规划后直接实施. An agent skill from easysoft/zui. Zuix Component is an agent skill from easysoft/zui.

When should I use Zuix Component?

Zuix Component fits situations like: frontend & Design work in your project.

How do I install Zuix Component in Claude Code?

Run `npx skills add easysoft/zui --skill zuix-component -a claude-code`. Or copy the skill folder (skills-exts/zuix-component in easysoft/zui) into .claude/skills/zuix-component in your project. Claude Code loads it when a task matches its description.

How do I install Zuix Component in Codex?

Run `npx skills add easysoft/zui --skill zuix-component -a codex`. Or copy the skill folder (skills-exts/zuix-component in easysoft/zui) into .agents/skills/zuix-component in your project. Codex loads it when a task matches its description.

Can I use Zuix Component in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add easysoft/zui --skill zuix-component -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/zuix-component, .gemini/skills/zuix-component, .github/skills/zuix-component and .opencode/skills/zuix-component in your project.

What does Zuix Component need to run?

SKILL.md names no scripts, command-line tools or credentials: Zuix Component is instructions for the agent only.

Does Zuix Component access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Zuix Component safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Zuix Component use?

Zuix Component is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Zuix Component use?

About 675 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Zuix Component?

Skills that share tags, products or a category with Zuix Component: Boneyard (0xGF/boneyard, 7.5k stars), Tailwind To Stylex (shadcn-labs/shadcn-cssinjs, 122 stars), Frontend (8borane8/s2pipe, 107 stars) and Deno Frontend Development (denoland/skills, 100 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Zuix Component?

easysoft (a GitHub organization) maintains it in easysoft/zui, which has 2,764 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 6, 2026.

Source: easysoft/zui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.