Agent skill

Zui Optimize

by easysoft in easysoft/zui

审计 ZUI 主仓库整库质量或编排多库、跨领域优化;审计只读,优化请求在调查和规划后直接实施。单独的文档、调试页或 i18n 任务使用对应技能。

MITAuto-check passedFrontend & Design

Install Zui Optimize

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

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

GitHub CLI
$ gh skill install easysoft/zui zui-optimize --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/.agents/skills/zui-optimize .claude/skills/zui-optimize && 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
zui-optimize
GitHub stars
2.8k
Token cost
~628 tokens
SKILL.md length
118 words
Files
3 (incl. references)
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

审计 ZUI 主仓库整库质量或编排多库、跨领域优化;审计只读,优化请求在调查和规划后直接实施。单独的文档、调试页或 i18n 任务使用对应技能。

  • Works in 6 steps: 按 共享工作流 定位仓库并复用已有上下文。 → 读取 references/audit.md 中本次审计涉及的维度。 → 将用户范围解析为 → …
  • Tasks that involve Internationalization
  • SKILL.md covers 确定范围与模式, 盘点与审计, 统一实施计划 and 编排实施, plus 1 more section
  • Calls git

What it does

Zui Optimize is an agent skill from easysoft/zui. 审计 ZUI 主仓库整库质量或编排多库、跨领域优化;审计只读,优化请求在调查和规划后直接实施。单独的文档、调试页或 i18n 任务使用对应技能。

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/audit.md`).

It sits in Frontend & Design, covering Internationalization. The repository describes itself as: ZUI is an HTML5 front UI framework. The licence is MIT.

When your agent uses it

  • Tasks that involve Internationalization

Example prompts

  • “/zui-optimize”

Workflow steps

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

  1. 按 共享工作流 定位仓库并复用已有上下文。
  2. 读取 references/audit.md 中本次审计涉及的维度。
  3. 将用户范围解析为
  4. 检查 git status,记录用户已有改动和可用验证基线。明确“全库”默认在只读盘点中包含 WIP/notReady 内置库并单独标记;是否实施这些库的优化由用户请求范围决定。目标名称或是否包含扩展库仍不明确时,先提出最少必要问题。
  5. 区分请求模式
  6. 只读审计仅运行不会写入仓库、生成目录或缓存的检查。实施任务按共享工作流安排必要的构建、文档、开发服务或 lint 修复及验证,保护用户已有产物。用户明确要求带构建验证的只读审计时,优先使用仓库外临时输出,否则先说明副作用并取得许可。

What it can do on your machine

Read from SKILL.md and the folder at commit 3b1d7da. 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

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

Zui Optimize loads about 628 tokens when it runs, and up to ~2.7k if it reads all its reference files. Until then it costs about 21 tokens; SKILL.md has 118 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~628
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.7k

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 3b1d7da, republished under its MIT licence (© easysoft). 118 words, ~628 tokens.

Download SKILL.mdSave it as .claude/skills/zui-optimize/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
zui-optimize
description
审计 ZUI 主仓库整库质量或编排多库、跨领域优化;审计只读,优化请求在调查和规划后直接实施。单独的文档、调试页或 i18n 任务使用对应技能。

ZUI 库优化

确定范围与模式

  1. 按 共享工作流 定位仓库并复用已有上下文。
  2. 读取 references/audit.md 中本次审计涉及的维度。
  3. 将用户范围解析为:
    • 单库:一个 lib/<name> 或 @zui/<name>;
    • 多库:明确名称列表;
    • 全库:当前 lib/*/package.json 实际发现的全部内置库。不要沿用硬编码数量;exts/ 仅在用户明确纳入时处理。
  4. 检查 git status,记录用户已有改动和可用验证基线。明确“全库”默认在只读盘点中包含 WIP/notReady 内置库并单独标记;是否实施这些库的优化由用户请求范围决定。目标名称或是否包含扩展库仍不明确时,先提出最少必要问题。
  5. 区分请求模式:
    • 只要求审计、检查或报告时保持只读,输出发现和修复建议;
    • 要求优化、完善或修复时,先调查与审计,再形成计划并直接实施。
  6. 只读审计仅运行不会写入仓库、生成目录或缓存的检查。实施任务按共享工作流安排必要的构建、文档、开发服务或 lint 修复及验证,保护用户已有产物。用户明确要求带构建验证的只读审计时,优先使用仓库外临时输出,否则先说明副作用并取得许可。

盘点与审计

  1. 运行 ../zui-standards/scripts/inspect-zui-lib.mjs 盘点全部或指定目标。多库可逐库使用 --lib;脚本信号不能代替源码判断。
  2. 对单库或当前待计划批次中的每个目标,按审计范围追踪相关 package、入口、类型、实现、样式、i18n、正式文档、静态组件预览和调试页;全领域审计覆盖这些维度,窄领域审计只展开相关部分。必要时选择角色、架构或消费方式相近的成熟实现。
  3. 大范围任务先依据全体 package 元数据、盘点信号、依赖和现有验证状态做浅层分组,再深读本批目标。浅层盘点不能宣称已确认源码缺陷;不要在尚未形成整体优先级时随机修改第一个库。
  4. 按发现类型读取对应领域技能中影响本次判断或计划的部分;实施时复用已有发现:
    • 规范与包角色:../zui-standards/SKILL.md
    • UI 组件实现:../zui-component/SKILL.md
    • helper/store/utils:../zui-helper/SKILL.md
    • 正式文档与静态组件预览:../zui-doc/SKILL.md
    • 调试页:../zui-dev/SKILL.md
    • 国际化:../zui-i18n/SKILL.md
    • 单库跨领域或 package 契约:../zui-lib/SKILL.md
  5. 按 audit reference 检查代码质量、缺陷、公开 API 文档、调试示例、i18n 和规范一致性。每项发现都记录证据、影响、置信状态、严重度、建议处理和负责技能。
  6. 不把风格偏好包装成缺陷。无法从源码、复现或构建结果确认的问题标为风险并制定验证/修复计划,不进行猜测性修复。

统一实施计划

按共享工作流形成优化计划;以下仅展开本次相关决策:

  • 目标库清单、范围排除项、工作区基线和相似库;
  • 按库列出的已确认缺陷、风险、文档/示例/i18n/规范缺口及优先级;
  • 每项优化的目标、非目标、公开 API/兼容性影响和验收场景;
  • 选用的兄弟技能、文件边界、依赖顺序和跨库影响;
  • 源码 JSDoc、正式文档、调试页及 i18n 的纳入范围;
  • 每库验证命令、基线失败、批次顺序和剩余假设;
  • 本次任务范围,精确列出本次允许修改的库、问题和领域。

单库或少量库形成计划后直接实施。全库或大范围先形成整体路线图,再逐批深审、规划、实施和验证,不等待逐批确认;每批修改必须有证据并符合用户请求,不预先承诺尚未调查的修复。

任务范围、必要澄清及协作模式遵循共享工作流。用户只要求审计时,输出发现和建议并保持只读。

编排实施

  1. 实施前重新检查工作区,只处理用户请求范围内的工作。
  2. 对单库跨领域优化可调用 $zui-lib 作为该库执行器;窄领域直接调用相应技能。不要让 $zui-lib 与直接子技能重复处理同一项。
  3. 将任务范围、证据和计划传给子技能,范围内直接实施。范围内的新发现更新计划后处理;超出用户请求或仍有关键歧义时,按共享工作流澄清受影响部分。
  4. 先处理共享基础和 helper,再处理依赖它们的组件,然后依次处理 i18n、正式文档和调试页。互不依赖的库按批次并行或顺序执行,但不得混淆各库验收结果。
  5. 只修复证据充分且属于任务范围的问题。实施中新发现的范围内问题纳入计划或后续批次;范围外问题单独报告,不顺手扩张。
  6. 保留已有库合理的局部目录与 API 风格,避免无关格式化、重命名、迁移和公共契约破坏。
  7. 每完成一个库按共享工作流验证并修复范围内问题,更新进度账本;批次结束后仅补充尚未覆盖的组合构建、文档或浏览器验证,不重复有效检查。

交付

  • 按库汇报已修复缺陷、质量改进、API/JSDoc、正式文档、调试示例和 i18n 变化。
  • 区分通过、被基线阻断、未验证和移入后续批次的事项。
  • 对比优化前后的可验证行为,不用文件数量代替质量结果。
  • 不手工修改 docs/_ 代替文档源;验证产物及服务管理遵循共享工作流,不自动提交、推送或发布。

© 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 2 other files (references) in .agents/skills/zui-optimize of easysoft/zui.

  • SKILL.md
  • agents/openai.yaml
  • references/audit.md

Open the folder on GitHubat commit 3b1d7da

Compare with similar skills

Zui Optimize 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.

Zui Optimize compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Zui Optimize this skilleasysoft/zui2.8k—~628Automated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Chatbox i18n Translatorchatboxai/chatbox42k—~508Automated safety check: PassGPL-3.0
Internationalization Workflow with i18niOfficeAI/AionUi33k1 repos~1.9kAutomated safety check: PassApache-2.0
Enforce Rules For I18nmoeru-ai/airi50k—~1.5kAutomated safety check: PassMIT
Claude Desktop Chinese Localizationjavaht/claude-desktop-zh-cn7.5k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Chatbox i18n Translator

    chatboxai/chatbox

    Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.

    42k GitHub stars~508 tokensUpdated 13 days ago
    Frontend & DesignAuto-check passed
  • Standards for keeping all user-facing text translatable: read the i18n config first, use namespaced keys, reuse shared strings and follow the key naming rules.

    33k GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.

    50k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Claude Desktop Chinese Localization

    javaht/claude-desktop-zh-cn

    Adds missing Simplified and Traditional Chinese translations to the Claude Desktop Chinese patch across three layers, then checks how many mappings actually hit.

    7.5k GitHub stars~1.6k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Taro UI Guide

    jd-opensource/taro-ui

    Guides installing, configuring, styling and using taro-ui (At* components) in Taro apps for WeChat, Alipay, H5 and React Native.

    4.7k GitHub stars~1.3k tokensUpdated 12 days 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 today
    Auto-check passed
  • Zui

    easysoft/zui

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

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

    easysoft/zui

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

    2.8k GitHub stars~452 tokensUpdated today
    Auto-check passed
  • Zuix Standards

    easysoft/zui

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

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

    easysoft/zui

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

    2.8k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Zui Commit

    easysoft/zui

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

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

Questions about Zui Optimize

What does Zui Optimize do?

审计 ZUI 主仓库整库质量或编排多库、跨领域优化;审计只读,优化请求在调查和规划后直接实施。单独的文档、调试页或 i18n 任务使用对应技能。. Zui Optimize is an agent skill from easysoft/zui.

When should I use Zui Optimize?

Zui Optimize fits situations like: tasks that involve Internationalization.

How do I install Zui Optimize in Claude Code?

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

How do I install Zui Optimize in Codex?

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

Can I use Zui Optimize 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 zui-optimize -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/zui-optimize, .gemini/skills/zui-optimize, .github/skills/zui-optimize and .opencode/skills/zui-optimize in your project.

What does Zui Optimize need to run?

Going by SKILL.md and its folder, Zui Optimize needs the command-line tools its instructions call (git).

Does Zui Optimize access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Zui Optimize 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 Zui Optimize use?

Zui Optimize 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 Zui Optimize use?

About 628 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Zui Optimize?

Skills that share tags, products or a category with Zui Optimize: Impeccable (bestofjs/bestofjs, 3.1k stars), Chatbox i18n Translator (chatboxai/chatbox, 42k stars), Internationalization Workflow with i18n (iOfficeAI/AionUi, 33k stars) and Enforce Rules For I18n (moeru-ai/airi, 50k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Zui Optimize?

easysoft (a GitHub organization) maintains it in easysoft/zui, which has 2,765 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 8, 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.