mf-docs

Answer questions about Module Federation (MF) — configuration, runtime API, build plugins (Webpack/Rspack/Rsbuild/Vite), framework integration (React/Vue/Next.js/Modern.js/Angular), shared dependencies, exposes, remotes, debugging, troubleshooting, and micro-frontend architecture. Use this skill when the user asks anything about module federation, remote modules, shared deps, mf-manifest, federation runtime, or micro-frontends with MF.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mf-docs" with this command: npx skills add module-federation/core/module-federation-core-mf-docs

Module Federation Docs Assistant

Answer Module Federation questions by fetching only the relevant documentation pages — not the entire docs.

Steps

1. Fetch the documentation index

Fetch the index to discover available pages and their descriptions:

https://module-federation.io/llms.txt

The index is in this format:

## Section Name
- [Page Title](/path/to/page.md): brief description of the page content

2. Identify the relevant page(s)

Read the page descriptions in the index and select the 1–3 pages most relevant to the user's question. Use the quick topic map below to narrow down candidates before reading descriptions.

Quick topic map:

User asks aboutLook in section
What is MF / concepts / glossary / getting startedGuidestart/
CLI, CSS isolation, type hints, data fetching, prefetchGuidebasic/
Runtime API, loadRemote, MF instance, runtime hooksGuideruntime/
Build plugin setup for Webpack / Rspack / Rsbuild / Vite / MetroGuidebuild-plugins/
Next.js / Modern.js / Angular / React integrationGuideframework/ or Practiceframeworks/
React Bridge / Vue Bridge / cross-framework renderingPracticebridge/
name, filename, exposes, remotes, shared, dts, manifest, shareStrategyConfiguration
Runtime plugins, retry plugin, custom pluginPlugins
Performance, tree shaking, shared scopesGuideperformance/ or Guideadvanced/
Debug mode, Chrome DevTool, global variablesGuidedebug/
Error messages, build errors, type errorsGuidetroubleshooting/
Monorepo, NxPracticemonorepos/
Deployment, ZephyrGuidedeployment/

3. Fetch the specific page(s)

Construct the URL by removing the .md extension from the path in the index, then prepend the base URL:

https://module-federation.io{path_without_md_extension}

Examples:

  • /guide/start/index.mdhttps://module-federation.io/guide/start/index
  • /configure/shared.mdhttps://module-federation.io/configure/shared
  • /guide/runtime/runtime-api.mdhttps://module-federation.io/guide/runtime/runtime-api

Fetch the page(s) and read the content.

4. Answer the question

Answer based on the fetched content. If the answer spans multiple pages (e.g., config + runtime), fetch both. Do not load more than 3 pages per question.

Important notes

  • Always fetch the index first — never guess page paths from memory
  • If the index descriptions are insufficient to identify the right page, fetch the most likely candidate and check its content
  • The docs cover MF 2.0 (@module-federation/enhanced) — this is different from the older Webpack 5 built-in Module Federation
  • Next.js support is deprecated; inform the user if they ask about it

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

mf-integrate

No summary provided by upstream source.

Repository SourceNeeds Review
General

mf-context

No summary provided by upstream source.

Repository SourceNeeds Review
General

mf-perf

No summary provided by upstream source.

Repository SourceNeeds Review