什麼是 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