什么是 mf-type-check?
诊断跨三个类别的模块联合类型问题:(1) 生产者类型文件生成失败 (TYPE-001),(2) 使用者无法拉取远程类型,(3) tsconfig 未配置为使用远程类型。当用户遇到 TS 类型错误、缺少 @mf-types 文件夹或无法使用远程模块类型时使用。 来源:module-federation/core。
诊断跨三个类别的模块联合类型问题:(1) 生产者类型文件生成失败 (TYPE-001),(2) 使用者无法拉取远程类型,(3) tsconfig 未配置为使用远程类型。当用户遇到 TS 类型错误、缺少 @mf-types 文件夹或无法使用远程模块类型时使用。
通过命令行快速安装 mf-type-check AI 技能到你的开发环境
来源:module-federation/core。
Step 1: Call the mf-context Skill (pass $ARGUMENTS) to collect MFContext.
Step 2: Serialize MFContext to JSON and pass it to the check script via the --context argument:
Process each item in the output results array and follow the action plan based on the scenario field:
诊断跨三个类别的模块联合类型问题:(1) 生产者类型文件生成失败 (TYPE-001),(2) 使用者无法拉取远程类型,(3) tsconfig 未配置为使用远程类型。当用户遇到 TS 类型错误、缺少 @mf-types 文件夹或无法使用远程模块类型时使用。 来源:module-federation/core。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/module-federation/core --skill mf-type-check诊断跨三个类别的模块联合类型问题:(1) 生产者类型文件生成失败 (TYPE-001),(2) 使用者无法拉取远程类型,(3) tsconfig 未配置为使用远程类型。当用户遇到 TS 类型错误、缺少 @mf-types 文件夹或无法使用远程模块类型时使用。 来源:module-federation/core。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/module-federation/core --skill mf-type-check 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/module-federation/core