nemo-relay-migrate-from-flow
安装方式
先用 Prompt 核对来源与依赖。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "nemo-relay-migrate-from-flow":https://skillpi.com/zh/skills/deepskill-2da0726924f2bbf0ed41af6c0d5d9a8a9dbd70e797baa720582408435392d685。安装前核对上游来源和版本:https://skills.sh/nvidia/skills/nemo-relay-migrate-from-flow。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
当前版本的下载许可尚未确认或受限。
来源与配置
skills.sh
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在将应用程序、示例、集成、文档、清单或仓库代码从 NeMo Flow 迁移到 NeMo Relay 时使用,涵盖 Python、Rust、Node.js、Go、C FFI、CLI、配置和可观测性等方面。
介绍来源: third_party · nvidia · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
本站暂无可核验的版本文件清单。
在原站浏览文件 ↗Frontmatter
name: nemo-relay-migrate-from-flow
description: Use this skill when migrating applications, examples, integrations, documentation, manifests, or repository code from NeMo Flow to NeMo Relay across Python, Rust, Node.js, Go, C FFI, CLI, configuration, and observability surfaces.
license: Apache-2.0
metadata:
author: NVIDIA Corporation and AffiliatesMigrate From NeMo Flow To NeMo Relay
Use this skill when a user has existing NeMo Flow code or documentation and wants it converted to NeMo Relay. Treat the migration as a mechanical rename plus language-specific validation, not a behavior rewrite. Keep compatibility exceptions explicit before applying broad renames.
Default Workflow
- Inspect the working tree and identify touched surfaces: Rust, Python, Node.js, Go, C FFI, CLI/config, docs, or integrations.
- Resolve
SKILL_DIRto the absolute directory containing thisSKILL.mdandTARGET_PATHto the source repository or target project. Run the bundled helper in dry-run mode before editing:python3 "$SKILL_DIR/scripts/migrate_from_nemo_flow.py" "$TARGET_PATH" --rename-paths - Review the reported text edits, path renames, and legacy project
configuration warnings with the user. Do not migrate project-local
.nemo-flow/config.tomlor.nemo-flow/plugins.tomlinto.nemo-relay. Move those settings manually to a supported user or explicit configuration path after review. - Obtain explicit confirmation for the resolved target root, then rerun with
--write,--rename-paths, and--confirm-root "$TARGET_PATH". - Apply language-specific cleanup for package manager lockfiles, generated artifacts, and public API examples.
- Search for remaining Flow names and verify the affected language surfaces.
Mechanical Rename Map
- Brand and repository:
NeMo Flow->NeMo Relay,NeMo-Flow->NeMo-Relay - Python:
nemo-flow->nemo-relay,nemo_flow->nemo_relay,python/nemo_flow->python/nemo_relay - Rust:
nemo-flow->nemo-relay,nemo-flow-adaptive->nemo-relay-adaptive,nemo_flow::->nemo_relay:: - Node.js:
nemo-flow-node->nemo-relay-node, including related entry points such as/typed,/plugin,/adaptive, and/observability - Go:
github.com/NVIDIA/NeMo-Flow/go/nemo_flow->github.com/NVIDIA/NeMo-Relay/go/nemo_relay, package aliasesnemo_flow->nemo_relay, and source directoriesgo/nemo_flow->go/nemo_relay - C FFI:
nemo_flow.h->nemo_relay.h,nemo_flow_*->nemo_relay_*,NemoFlow*->NemoRelay*, andNEMO_FLOW_*->NEMO_RELAY_* - CLI/config:
nemo-flow->nemo-relay,~/.config/nemo-flow->~/.config/nemo-relay,NEMO_FLOW_*->NEMO_RELAY_*, andx-nemo-flow-*->x-nemo-relay-*. Do not blindly rename project-local.nemo-flow/config.tomlor.nemo-flow/plugins.tomlinto.nemo-relay; those files require manual migration to a supported user or explicit configuration path.
Do not replace bare flow, Flow, or FlowError. Those can be domain words
or intentional compatibility names.
Language Cleanup
- Python: update
pyproject.toml, imports, type stubs, integration package paths, extras, and native module names. Regenerate or refresh lockfiles with the user's package workflow after source edits. - Rust: update
Cargo.tomlcrate names, workspace dependencies, package references, anduse nemo_relay::...imports. Let Cargo regenerateCargo.lockwhen dependencies changed. - Node.js: update
package.json, workspace names, package-lock entries, native addon artifact names, and imports fromnemo-relay-node. Run the package manager to refresh locks. - Go: update
go.mod, import paths, package declarations, aliases, and any local directory layout undergo/nemo_relay. - C FFI: update header includes, exported symbol names, status and callback type names, macro constants, loader paths, and downstream bindings.
- Docs and examples: update badges, package install commands, repository links, hosted docs URLs, CLI commands, config paths, and integration names.
Automation Helper
Use $SKILL_DIR/scripts/migrate_from_nemo_flow.py for first-pass edits. The
helper:
- runs as a dry run unless
--writeis passed - skips common vendor, build, cache, and generated directories
- skips lockfiles unless
--include-lockfilesis passed - skips symbolic links and credential-bearing dotenv files
- detects project-local
.nemo-flow/config.tomland.nemo-flow/plugins.toml, leaves them unchanged, and reports that they require manual migration to a supported user or explicit configuration path - requires the reviewed target root to be repeated with
--confirm-rootbefore writing, and refuses filesystem-root or home-directory writes - anchors writes and renames to verified directory handles without following symbolic links, and refuses write mode on platforms that cannot provide those guarantees
- uses atomic no-replace path renames and exits nonzero when any requested mutation fails
- can report or perform path renames with
--rename-paths - rewrites only explicit NeMo Flow identifiers, package names, repository names, config paths, headers, environment variables, and FFI type prefixes
The helper does not classify arbitrary JSON, YAML, TOML, or INI files as secret.
Review every configuration file in the dry-run report. If any reported file is
unreviewed or credential-bearing, do not use --write on that root. Apply the
reviewed changes manually and leave secret-bearing files untouched without
reading or displaying their values.
Set shell-safe absolute paths before invoking the helper. Replace the example values with the resolved skill directory and either the source repository or the user's target project:
SKILL_DIR="/resolved/absolute/path/to/nemo-relay-migrate-from-flow"
TARGET_PATH="/resolved/absolute/path/to/target-project"
python3 "$SKILL_DIR/scripts/migrate_from_nemo_flow.py" "$TARGET_PATH" --rename-paths
python3 "$SKILL_DIR/scripts/migrate_from_nemo_flow.py" "$TARGET_PATH" \
--write --rename-paths --confirm-root "$TARGET_PATH"
Use --include-lockfiles only when the user wants lockfiles edited directly;
otherwise regenerate them with Cargo, uv/pip, npm, or Go tooling.
Verification
- Search for remaining explicit Flow identifiers:
rg -n "NeMo Flow|NeMo-Flow|nemo_flow|nemo-flow|NEMO_FLOW|NemoFlow|nemo_flow\\.h|nemo_flow_" - Run targeted tests for every affected language surface.
- For Rust changes, run
cargo testor the repository's Rust test recipe. - For Python changes, run the relevant import check and tests in the target environment.
- For Node.js changes, run package install, type checks, and package tests.
- For Go changes, run
go test ./...from the updated module. - For docs-only migrations, build or link-check docs if the site navigation, install commands, or API references changed.
Related Skills
nemo-relay-get-startednemo-relay-instrument-callsnemo-relay-debug-runtime-integration
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对 NeMo Flow 到 NeMo Relay 的迁移场景,功能明确且具备高工程实用价值
- 覆盖多语言(Python、Rust、Node.js、Go、C FFI、CLI、配置、可观测性)的机械重命名与清理
亮点
- 触发描述清晰完整,覆盖多种迁移场景和语言表面,边界明确
待提升项
-
description 内容重复 原报告严重程度:轻微
frontmatter 和 skill_body 中均包含 description,内容一致但存在冗余
改进建议:建议移除 skill_body 中的重复 description,保留 frontmatter 中的定义
亮点
- 文档结构清晰,步骤划分合理,包含完整的工作流、重命名映射、清理指南和验证步骤
- 提供了详细的 bash 脚本示例,frontmatter 完整,单文件长度适中
亮点
- 提供了自动化脚本并详细说明其行为,覆盖主要异常处理和安全机制
- 不可逆操作有确认机制,脚本来源明确,参数使用正确
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 88, 105 行
安全评级与访问范围
risk · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。