Yida Create Page logo

Yida Create Page

Organization
openyida
yida-create-page

创建自定义展示页面(display 类型)并返回 pageId(即 formUuid);仅当目标 page 缺失且用户意图允许新增页面时使用。

Overview

Publisheropenyida
Repositoryopenyida
Skill nameyida-create-page
Stars
228
Forks
50
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Yida Create Page 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-create-page
  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-create-page .claude/skills/yida-create-page
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yida Create Page 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 Create Page 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 Create Page 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.

创建自定义页面

资源边界:本技能只处理普通 OpenYida 页面创建;目标不明时先只读确认或询问用户。

Resource-First 使用门槛

本技能只负责创建缺失的 display page,不负责优化、修改或重新发布已有页面。执行前必须已经解析 resource context:

  • 如果本轮用户给了页面 URL、formUuid、bound page,或 workspace cache/config 中已有目标 display page,禁止调用 openyida create-page;改由 yida-canvas-custom-page 编写页面源码,再由 yida-publish-page 发布。已确认是历史平台 JSX 组件页面维护时,不由本技能创建或派发,改走根路由的“JSX 自定义页面开发”入口。
  • 如果用户给的是普通表单 formUuid 且诉求是改字段结构,改用 yida-create-form-page;不要把表单 ID 当作自定义页面创建目标。
  • 只有目标 app 已明确、目标 display page 缺失,并且用户意图允许新增页面(例如“在 APP_xxx 里增加回访页面”)时,才加载并执行本技能。
  • 多个已有页面候选按根技能来源优先级选择;同级冲突或无法判断主页面时才问用户。

严格禁止 (NEVER DO)

  • 不要编造 formUuid,必须从命令返回的 JSON 中提取
  • 不要用此命令创建表单页面(带字段的数据收集页),应使用 yida-create-form-page
  • 已有页面 URL / formUuid / bound page 时,不要创建新页面;除非用户明确要求新增另一个页面并确认。

严格要求 (MUST DO)

  • 创建前必须确认:单点创建页面时,执行创建命令前必须向用户确认页面名称和目标应用。由 yida-app 完整应用统一编排且用户已说“默认方案 / 不要追问 / 直接创建”时,合理命名并直接创建,不再二次追问。
  • 创建成功后,将 formUuid 记录到 .cache/<项目名>-schema.json
  • 由 yida-app 完整应用统一编排的首页/工作台/智能助手/门户门面页,可以先于业务表单创建;先占位记录 formUuid,待表单 ID 明确后再写源码并发布。
  • 创建成功后,将真实 formUuid 交给 yida-canvas-custom-page 编写页面源码,再交给 yida-publish-page 发布;本技能不使用 yida-custom-page 处理新建页面。
  • 本技能不读写 memory:formUuid 等信息输出到 stdout,通过 .cache/<项目名>-schema.json 持久化,不依赖跨会话的 memory 状态

适用场景

用户需要创建"自定义展示页面"、"可视化大屏"、"自定义 UI 页面",且 resource context 未解析到目标页面时使用。

关键区分:

  • 自定义展示页面(无字段,纯 JSX/React 开发)→ 本技能
  • 表单页面(有字段,数据收集)→ yida-create-form-page

触发条件

正向触发:

  • "创建自定义展示页面"、"新建可视化大屏"
  • "创建自定义 UI 页面"、"新建一个页面"
  • 完整应用开发流程中主页面缺失且允许创建的页面创建步骤(由 yida-app 编排调用)

命令

bash
openyida create-page <appType> "<pageName>" [--mode dashboard] [--hide-nav] [--locale zh_CN|en_US|ja_JP] [--open|--no-open]
参数必填说明
appType是应用 ID,如 APP_XXX
pageName是页面名称
--mode dashboard否看板/驾驶舱页面推荐使用;只表达页面模式,不会自动隐藏导航
--hide-nav否兼容已有的显式隐藏导航调用;命令自动配置并回读,未生效时在同一页面补写一次。确认隐藏后才输出 hideNav=true 和不带导航参数的 /custom/<pageId>。完整应用的前台用途由编排判断,创建后通过持久化页面配置完成,不要求用户传此开关;这不等同于应用导航隐藏
--locale否页面内容语言:zh_CN、en_US、ja_JP;省略时按当前环境选择
--open / --no-open否控制成功后是否返回浏览器打开提示,由宿主执行打开,不影响页面配置

优先使用上表参数。兼容别名:--hide-navigation / --no-nav 等同于 --hide-nav;--render-nav false(也接受 --is-render-nav / --isRenderNav)要求隐藏,true 保持默认;多个导航参数以最后一个为准。--content-locale / --lang 等同于 --locale。本命令自动输出结果 JSON,不提供专用 --json 参数。

使用 --hide-nav 时,页面级配置与回读已包含在创建命令中,不需要常规追加 update-form-config。已确认的自定义应用导航隐藏在应用设置更新时同步保存,与这里的页面级配置分开执行。

默认生成页面导航可见;仅说“看板 / 驾驶舱 / 首页 / 门户 / 工作台”不等于隐藏导航。

输出

json
{"success":true,"pageCreated":true,"pageId":"FORM-XXX","pageName":"驾驶舱","appType":"APP_XXX","mode":"dashboard","hideNavRequested":false,"hideNav":false,"chromeless":false,"navigationVerification":null,"url":"{base_url}/APP_XXX/workbench/FORM-XXX","workbenchUrl":"{base_url}/APP_XXX/workbench/FORM-XXX","dashboardConfigWarning":null}

隐藏导航时,navigationVerification 记录 requestedRenderNav:false、实际 renderNav、verified 和配置次数 attempts。回读优先使用平台的 renderNav,缺少该字段时才读 isRenderNav;布尔值及字符串 "true" / "false" 均可识别,缺失值不会当成隐藏成功。

补写后仍未确认时,命令以非零退出码返回 success:false、pageCreated:true、真实 pageId 和 CREATE_PAGE_NAVIGATION_NOT_VERIFIED。此时 hideNav 表示回读结果,未知为 null,chromeless:false;按 recovery 提供的参数对原页面执行 update-form-config,再用 get-form-config --json 确认。不要重跑创建命令,也不要用 URL 中的 isRenderNav=false 代替配置回读。

如需创建表单页面(带字段的数据收集页),请使用 yida-create-form-page。

异常处理

异常场景处理方式
命令返回失败检查 appType 是否正确,确认登录态有效(openyida env)
返回 JSON 中无 pageId先用 list-forms 核对是否已创建,找到页面后复用;不要因缺少返回值直接重跑创建
页面名称重复宜搭允许同名页面,但建议使用唯一名称避免混淆

Frequently asked questions

What does the Yida Create Page AI skill do?

创建自定义展示页面(display 类型)并返回 pageId(即 formUuid);仅当目标 page 缺失且用户意图允许新增页面时使用。

Why use Yida Create Page on TypingMind?

Because you install it once and use it with any model. Yida Create Page 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 Create Page in TypingMind?

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

Which AI models can use Yida Create Page?

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 Create Page?

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

Is the Yida Create Page 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 👇