Agent skill

Yida Upgrade App Theme

by openyida in openyida/openyida

将老应用升级为新版主题,同步更新页面和表单样式。仅在用户明确要求升级时使用,执行前须通过 askhuman 确认;普通换色、美化不触发。

MITAuto-check passed

Install Yida Upgrade App Theme

skills CLI
$ npx skills add openyida/openyida --skill yida-upgrade-app-theme -a claude-code

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

GitHub CLI
$ gh skill install openyida/openyida yida-upgrade-app-theme --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/openyida/openyida.git skills-src && mkdir -p .claude/skills && cp -r skills-src/yida-skills/skills/yida-upgrade-app-theme .claude/skills/yida-upgrade-app-theme && 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
yida-upgrade-app-theme
GitHub stars
221
Token cost
~358 tokens
SKILL.md length
51 words
Files
2 (incl. references)
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

将老应用升级为新版主题,同步更新页面和表单样式。仅在用户明确要求升级时使用,执行前须通过 askhuman 确认;普通换色、美化不触发。

  • Works in 5 steps: 准备 → 判断应用风格 → 确认 → …
  • SKILL.md covers 1. 准备, 2. 判断应用风格, 3. 确认 and 4. 迁移并升级, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Yida Upgrade App Theme is an agent skill from openyida/openyida. 将老应用升级为新版主题,同步更新页面和表单样式。仅在用户明确要求升级时使用,执行前须通过 askhuman 确认;普通换色、美化不触发。

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/page-migration.md`).

The repository describes itself as: Your own personal YiDA AI assistant! The licence is MIT.

Example prompts

  • “/yida-upgrade-app-theme”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 准备
  2. 判断应用风格
  3. 确认
  4. 迁移并升级
  5. 验收

What it can do on your machine

Read from SKILL.md and the folder at commit 4932d0b. 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 (its code samples are bash).

    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

Yida Upgrade App Theme loads about 358 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 23 tokens; SKILL.md has 51 words of instructions outside code blocks.

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

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 openyida/openyida at commit 4932d0b, republished under its MIT licence (© openyida). 51 words, ~358 tokens.

Download SKILL.mdSave it as .claude/skills/yida-upgrade-app-theme/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
yida-upgrade-app-theme
description
将老应用升级为新版主题,同步更新页面和表单样式。仅在用户明确要求升级时使用,执行前须通过 ask_human 确认;普通换色、美化不触发。

老应用升级新版主题

保持业务逻辑和主要布局,升级应用主题、自定义页面和表单样式。

1. 准备

仅在用户明确要求升级新版主题时使用。普通美化、换色或创建应用不触发。

确定目标应用,运行 openyida agent-capabilities --summary-json,再将页面备份到新目录:

bash
openyida upgrade-app-theme <appType> --explicit-request --prepare --output-dir <projectRoot>/.cache/openyida/theme-upgrade/<appType>/<run-id> --json

准备命令不会修改远端页面。读取生成的 upgrade-plan.json,核对隐藏页、嵌入页和用户指定页面;遗漏项通过 openyida get-schema <appType> <formUuid> 补齐。无法获取源码的页面记录为未完成项。

2. 判断应用风格

先看原自定义页面的实际效果和源码,从主按钮、标题、链接、背景和卡片中判断主色、明暗及整体风格。优先遵循用户指定的风格;否则延续已有页面的品牌色。不要直接采用平台默认色,也不要把成功、警告等状态色当作主色。

页面风格不一致或主色不明确时,用 ask_human 提供候选颜色和简短理由,确认后再改。将选定主色和判断依据记录在升级清单中,统一用于应用导航、页面和表单。

3. 确认

任何远端修改前,必须调用 ask_human,说明:

  • 目标应用、组织及涉及的页面和表单。
  • 拟采用的主色和风格,以及它与原页面的关系。
  • 将升级主题、迁移旧自定义页面、统一样式并重新发布。
  • 保留业务逻辑和主要布局。

提供“确认升级”和“取消”,收到明确确认后继续。无回复、拒绝或工具不可用时停止写入,“直接做”不能替代确认。范围变更时只确认新增部分。

4. 迁移并升级

按 页面和表单迁移 完成本地修改和验证:

  • JSX 页面转为 CodeCanvas。
  • 已有 CodeCanvas 页面更新主题样式。
  • 表单和详情页移除旧主题注入,保留业务代码。

保留原应用和页面 ID。任一必要页面无法保留业务或结构时,停止升级并说明原因。

本地验证通过后执行:

bash
openyida upgrade-app-theme <appType> --explicit-request --confirm --json

成功后保存选定的应用主题,再按清单发布页面、保存表单并回读验证。命令失败时停止后续操作。向用户说明进度和结果,不展示内部检查、配置字段或诊断数据。

5. 验收

重新加载页面,验证业务操作、表单详情、主题样式和窄屏效果,逐页记录结果。编译或升级命令成功不能代替页面验收。

全部目标页面和表单通过后,才能报告升级完成;否则列出已完成项和剩余问题。

© openyida, 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 (references) in yida-skills/skills/yida-upgrade-app-theme of openyida/openyida.

  • SKILL.md
  • references/page-migration.md

Open the folder on GitHubat commit 4932d0b

Compare with similar skills

Yida Upgrade App Theme 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.

Yida Upgrade App Theme compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Yida Upgrade App Theme this skillopenyida/openyida221—~358Automated safety check: PassMIT
Theme Factoryanthropics/skills180k47 repos~781Automated safety check: PassApache-2.0
Theme Factorynexu-io/open-design100k—~329Automated safety check: PassApache-2.0
gstack Upgradegarrytan/gstack136k—~5.5kAutomated safety check: NotesMIT
Pierre Theme Packagepierrecomputer/pierre6.3k—~352Automated safety check: PassApache-2.0
Pierre Theming Librarypierrecomputer/pierre6.3k—~661Automated safety check: PassApache-2.0

Similar skills

  • Theme Factory

    anthropics/skills

    Official

    Applies one of ten preset color and font themes to slide decks, documents or HTML pages, or creates a new theme on the fly after you choose from a showcase.

    180k GitHub starsUsed in 47 repos~781 tokens
    Frontend & DesignAuto-check passed
  • Theme Factory

    nexu-io/open-design

    Apply professional font and color themes to artifacts including slides, docs, reports, and HTML landing pages.

    100k GitHub stars~329 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • gstack Upgrade

    garrytan/gstack

    Upgrades an installed gstack to the latest version, handling global and vendored installs, optional auto-upgrade and snooze, and showing what is new.

    136k GitHub stars~5.5k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Pierre Theme Package

    pierrecomputer/pierre

    Shows an agent how to install and use the @pierre/theme package, which ships ten Pierre light and dark color themes for Shiki and VS Code.

    6.3k GitHub stars~352 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Pierre Theming Library

    pierrecomputer/pierre

    Explains how to use the @pierre/theming package to list, resolve, select, switch and persist themes, with controller, color and React references.

    6.3k GitHub stars~661 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Upgrade Browser

    flutter/flutter

    Upgrade browser versions (Chrome or Firefox) in the Flutter Web Engine and/or Framework tests.

    180k GitHub stars~1.1k tokensUpdated today
    MobileAuto-check passed

More from openyida/openyida

All 59 skills in this repo
  • Yida Canvas Custom Page

    openyida/openyida

    宜搭自定义页面开发规范,使用 YidaCodeCanvas 组件实现现代 React18 自定义页面。用于官网、看板、工作台、列表、详情、门户壳、可视化、hooks 交互、表单入口,以及需要门户组件、数据管理视图、成员、部门或上传组件的场景;发布层自动注入 yida/utils window 桥。

    221 GitHub stars~4.3k tokensUpdated yesterday
    Auto-check passed
  • Openyida Release

    openyida/openyida

    快速发布 OpenYida npm 正式版或测试版。用户说“发布正式版”“发布测试版”“发 beta”或要求按当天日期生成版本 tag 时使用;不用于宜搭应用或自定义页面发布。

    221 GitHub stars~520 tokensUpdated yesterday
    Auto-check passed
  • Yida Design Plan

    openyida/openyida

    Plan 模式的视觉设计分支。基于需求选择视觉方向,再结合业务页面规划维护 build-plan.json 的 visualStyle,供 CLI 派生 design.md。

    221 GitHub stars~756 tokensUpdated yesterday
    Auto-check passed
  • Prevent stale local OpenYida custom page source from overwriting live designer edits.

    221 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Codemap

    openyida/openyida

    Generate, update, or drift-check agent-facing CodeMaps as progressive code terrain indexes for projects, features, capabilities, functions, modules, or bug chains.

    221 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Sdd Riper One Light

    openyida/openyida

    面向 GPT-5.5 等强模型和熟练用户的轻量 AI Agent Harness / checkpoint-driven coding skill。默认用户已经把任务切到基本可执行的最小混沌单元;模型自行分解、探索与推进,人类通过最终目标、最小 spec、复述、checkpoint、证据验证与回写来低干扰控盘。

    221 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Questions about Yida Upgrade App Theme

What does Yida Upgrade App Theme do?

将老应用升级为新版主题,同步更新页面和表单样式。仅在用户明确要求升级时使用,执行前须通过 askhuman 确认;普通换色、美化不触发。. Yida Upgrade App Theme is an agent skill from openyida/openyida.

How do I install Yida Upgrade App Theme in Claude Code?

Run `npx skills add openyida/openyida --skill yida-upgrade-app-theme -a claude-code`. Or copy the skill folder (yida-skills/skills/yida-upgrade-app-theme in openyida/openyida) into .claude/skills/yida-upgrade-app-theme in your project. Claude Code loads it when a task matches its description.

How do I install Yida Upgrade App Theme in Codex?

Run `npx skills add openyida/openyida --skill yida-upgrade-app-theme -a codex`. Or copy the skill folder (yida-skills/skills/yida-upgrade-app-theme in openyida/openyida) into .agents/skills/yida-upgrade-app-theme in your project. Codex loads it when a task matches its description.

Can I use Yida Upgrade App Theme 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 openyida/openyida --skill yida-upgrade-app-theme -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yida-upgrade-app-theme, .gemini/skills/yida-upgrade-app-theme, .github/skills/yida-upgrade-app-theme and .opencode/skills/yida-upgrade-app-theme in your project.

What does Yida Upgrade App Theme need to run?

SKILL.md names no scripts, command-line tools or credentials: Yida Upgrade App Theme is instructions for the agent only.

Does Yida Upgrade App Theme 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 Yida Upgrade App Theme 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 Yida Upgrade App Theme use?

Yida Upgrade App Theme 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 Yida Upgrade App Theme use?

About 358 tokens (SKILL.md is roughly 1.4k 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 902 tokens, read only when the agent opens those files.

What are the alternatives to Yida Upgrade App Theme?

Skills that share tags, products or a category with Yida Upgrade App Theme: Theme Factory (anthropics/skills, 180k stars), Theme Factory (nexu-io/open-design, 100k stars), gstack Upgrade (garrytan/gstack, 136k stars) and Pierre Theme Package (pierrecomputer/pierre, 6.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Yida Upgrade App Theme?

openyida (a GitHub organization) maintains it in openyida/openyida, which has 221 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on October 10, 2026.

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