Yida Upgrade App Theme logo

Yida Upgrade App Theme

Organization
openyida
yida-upgrade-app-theme

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

Overview

Publisheropenyida
Repositoryopenyida
Skill nameyida-upgrade-app-theme
Stars
228
Forks
50
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by openyida on GitHub. Read the source before you install it.

Installation

Install the Yida Upgrade App Theme AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-upgrade-app-theme
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openyida/openyida.git /tmp/openyida
mkdir -p .claude/skills
cp -r /tmp/openyida/yida-skills/skills/yida-upgrade-app-theme .claude/skills/yida-upgrade-app-theme
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yida Upgrade App Theme in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Yida Upgrade App Theme on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Yida Upgrade App Theme is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

老应用升级新版主题

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

1. 准备

仅在用户明确要求升级新版主题时使用。普通美化、换色或创建应用不触发。CLI 先读取登录态和目标应用的服务端配置,核对应用及组织身份,再判断是否为 AI 创建的应用;非 AI 应用在备份和升级确认前即被拒绝。不得通过确认参数绕过资格检查。资格不符时说明该应用不支持此升级流程,不提供升级确认选项;未登录时先完成登录再重试。

确定目标应用,运行 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. 验收

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

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Yida Upgrade App Theme AI skill do?

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

Why use Yida Upgrade App Theme on TypingMind?

Because you install it once and use it with any model. Yida Upgrade App Theme is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Yida Upgrade App Theme in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-upgrade-app-theme. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Yida Upgrade App Theme?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Yida Upgrade App Theme?

As many as you like. As long as a model supports skills, you can use Yida Upgrade App Theme with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Yida Upgrade App Theme AI skill free?

Yes. It is published on GitHub by openyida under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇