重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
mf-config-check by module-federation/core
npx skills add https://github.com/module-federation/core --skill mf-config-check步骤 1:调用 mf-context Skill(传递 $ARGUMENTS)以收集 MFContext。
步骤 2:将 MFContext 序列化为 JSON,并通过 --context 参数传递给检查脚本:
node scripts/config-exposes-check.js --context '<MFContext-JSON>'
处理输出 results 数组中的每一项:
CONFIG-PLUGIN · 警告 — MF 插件不正确或缺失
@module-federation/enhanced 或 @module-federation/enhanced/webpack广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
@module-federation/enhanced/rspack@module-federation/rspack@module-federation/rsbuild-plugin(推荐),或 Rspack 插件@modern-js/app-tools ≥ 3.0.0 使用 @module-federation/modern-js-v3,否则使用 @module-federation/modern-js;根据底层打包器回退到 Rspack/Webpack 插件@module-federation/nextjs-mfCONFIG-ASYNC-ENTRY · 警告 — 未配置异步入口(对应 RUNTIME-006)
experiments.asyncStartup = true@module-federation/modern-js-v3 或 @module-federation/modern-js 时不需要bundler.configFile 并查找 experiments.asyncStartupCONFIG-EXPOSES-KEY · 警告 — 键名未以 ./ 开头
./ 开头(例如,"./Button" 而不是 "Button")CONFIG-EXPOSES-PATH · 警告 — 路径不存在
.tsx ≠ .ts)当 results 为空时
每周安装量
54
代码仓库
GitHub 星标数
2.5K
首次出现
2026年3月6日
安全审计
安装于
cursor54
gemini-cli52
github-copilot52
codex52
kimi-cli52
amp52
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:
node scripts/config-exposes-check.js --context '<MFContext-JSON>'
Process each item in the output results array:
CONFIG-PLUGIN · warning — incorrect or missing MF plugin
@module-federation/enhanced or @module-federation/enhanced/webpack@module-federation/enhanced/rspack (recommended) or @module-federation/rspack@module-federation/rsbuild-plugin (recommended), or the Rspack plugin@module-federation/modern-js-v3 for @modern-js/app-tools ≥ 3.0.0, otherwise @module-federation/modern-js; falls back to Rspack/Webpack plugin based on the underlying bundler@module-federation/nextjs-mfCONFIG-ASYNC-ENTRY · warning — async entry not configured (maps to RUNTIME-006)
experiments.asyncStartup = true is not set in the bundler config@module-federation/modern-js-v3 or @module-federation/modern-jsbundler.configFile from MFContext and look for experiments.asyncStartupCONFIG-EXPOSES-KEY · warning — key does not start with./
./ (e.g., "./Button" not "Button")CONFIG-EXPOSES-PATH · warning — path does not exist
.tsx ≠ .ts)When results is empty
Weekly Installs
54
Repository
GitHub Stars
2.5K
First Seen
Mar 6, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
cursor54
gemini-cli52
github-copilot52
codex52
kimi-cli52
amp52
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
125,600 周安装