mf-integrate

Installation
SKILL.md

MF Scaffold — Add Module Federation to an Existing Project

Step 1: Detect project

Call the mf-context Skill (pass $ARGUMENTS) to collect MFContext.

If no bundler can be detected (no rsbuild.config, rspack.config, webpack.config, modern.config, next.config, vite.config found), this is likely a new project. Tell the user:

This looks like a new project. Run the following command to scaffold a full Module Federation project:

npm create module-federation@latest

Then stop.

If MF is already configured (MFContext shows existing remotes or exposes), inform the user what is already configured and ask if they want to add/modify the configuration or stop.


Related skills

More from module-federation/core

Installs
107
GitHub Stars
2.5K
First Seen
Mar 6, 2026