Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

nocobase-v2-flow-upgradenocobase v2 流程升级

Agent Skill

nocobase-v2-flow-upgrade 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

141

周安装

6

GitHub Stars

公开资料未说明

下载量

49
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nocobase-v2-flow-upgrade(nocobase v2 流程升级)
来源仓库:https://github.com/jiannx/agent-skills
仓库路径:skills/nocobase-v2-flow-upgrade
安装命令:
npx skills add https://github.com/jiannx/agent-skills --skill nocobase-v2-flow-upgrade
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jiannx/agent-skills --skill nocobase-v2-flow-upgrade

简介

nocobase-v2-flow-upgrade 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于需要根据关键词或任务场景从来源线索中筛选信息的场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

NocoBase V2 Flow Upgrade

Use this skill for existing NocoBase plugin migrations from v1 frontend patterns under src/client/ to v2 model-based flow architecture. Default to behavior parity; do not introduce product changes unless the user asks.

Start Here

Confirm:

  • Plugin name and root path.
  • Plugin type: action, field, or mixed.
  • Whether core flow editor files may be changed.
  • Whether backend payloads and persisted settings must remain compatible.

Load references only when needed:

  • references/feature-inventory-template.md for v1 capability inventory.
  • references/v1-to-v2-flow-mapping.md for owner mapping.
  • references/verification-checklist.md before closing.

Workflow

  1. Inventory v1 behavior from src/client/: capabilities, settings, APIs, roles, locale keys, runtime components.
  2. Classify each capability as must-have, optional, or drop with reason.
  3. Map each v1 capability to one v2 owner: action, model, uiSchema, hook/resource, locale, or runtime component.
  4. Lock API and persistence parity before coding. Preserve request shape and stored values unless explicitly changed.
  5. Implement in src/client/models/ when possible, then register actions/models in the plugin client entry.
  6. Validate add/edit/run paths, ACL, i18n, persistence, and request counts.

Implementation Rules

  • Prefer the smallest migration that preserves current product behavior.
  • Keep backend endpoints and data schema unchanged unless there is a hard gap.
  • Do not keep both v1 SchemaSettings and v2 model settings active unless dual-path compatibility is explicitly required.
  • Put persisted configuration in model flows and steps (registerFlow, steps, defaultParams, uiMode, uiSchema).
  • Use beforeParamsSave / afterParamsSave for save-time normalization or side effects.
  • Keep handler output shape stable for downstream flow steps.
  • Use plugin namespace translations for plugin UI text, especially tExpr(..., {ns}) in FlowModel titles and step labels.

Plugin Type Rules

For action plugins:

  • Define flow actions with explicit scene, params UI, lifecycle hooks, handler, and registration.
  • Preserve v1 request helpers and payload shape, such as resource('x').updateOrCreate({filterKeys, values}).

For field plugins:

  • Prefer FieldModel / DisplayItemModel subclasses under src/client/models/.
  • Bind models to the field interface and register them with flowEngine.registerModels(...).
  • Move canonical field settings to model-level flows.
  • Preserve editor mode, read-only mode, props, database types, filterability, and settings.

Common Pitfalls

  • Payload drift: preserve legacy fields such as collectionName, dataSourceKey, responseType, roles, and response handling.
  • i18n drift: audit en-US and zh-CN keys, namespace usage, and case-sensitive key mismatches.
  • Flow variables: schema-setting variable components may need flow-setting registration or a flow-native equivalent.
  • Rich editors: if CodeMirror reports duplicate extension errors, prefer direct EditorView / EditorState integration and keep the editor instance stable.
  • Quick settings: put defaults on each step's defaultParams when the UI must display saved defaults.

Discovery Commands

From repo root, adapt <plugin> as needed:

rg --files packages/plugins/@nocobase/<plugin>/src/client
rg "defineAction|beforeParamsSave|afterParamsSave|uiSchema|registerActions|registerModels|bindModelToInterface" packages/plugins/@nocobase/<plugin>/src/client -n
rg "SchemaSettings|x-settings|updateOrCreate|roles|collectionName|dataSourceKey|responseType" packages/plugins/@nocobase/<plugin>/src -n
rg "tExpr|lang\\(|useTranslation|ctx\\.t|CodeMirror|EditorView|EditorState" packages/plugins/@nocobase/<plugin>/src/client -n

Reference core patterns:

rg "defineAction\\(|registerFlow\\(|uiMode\\(|defaultParams|bindModelToInterface" packages/core/client/src/flow packages/core/flow-engine -n

Output

End with:

  • v1 inventory summary and v2 support scope.
  • Capability mapping: v1 source -> v2 owner.
  • API payload parity notes.
  • Implemented changes and intentional behavior changes, if any.
  • Validation summary for create/edit/run, ACL, i18n, persistence, and known gaps.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.45%
按下载量换算19

Claude

28.44%
按下载量换算14

Cursor

19.1%
按下载量换算9

Gemini CLI

10.33%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills