mf-docs

Retrieve and synthesize Module Federation documentation from module-federation.io.

2.6k|423|Updated Oct 24, 2020
One-click install
npx skills add https://github.com/module-federation/core --skill mf-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mf-docs
Source: https://github.com/module-federation/core/tree/main/skills/mf-docs
Command: npx skills add https://github.com/module-federation/core --skill mf-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users find and understand information about Module Federation (MF) by fetching relevant documentation pages, eliminating the need to manually search through extensive documentation.

Core Features & Use Cases

  • Targeted Information Retrieval: Fetches specific documentation pages based on user queries about MF concepts, configuration, runtime API, build plugins, framework integration, and troubleshooting.
  • Efficient Problem Solving: Quickly provides answers related to micro-frontend architectures, shared dependencies, and MF build setups.
  • Use Case: A developer is struggling to configure shared dependencies between two micro-frontends. They ask the AI for help, and this Skill fetches the relevant configuration documentation page to guide them.

Quick Start

Use the mf-docs skill to find documentation on configuring shared dependencies in Module Federation.

Frequently Asked Questions about mf-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure shared dependencies in Module Federation?

To configure shared dependencies in Module Federation, you define them in your build configuration to allow micro-frontends to share libraries at runtime. This Skill retrieves specific documentation pages detailing the exact configuration syntax for your setup.

Does Module Federation work with Vite and Rspack build plugins?

Yes, Module Federation supports multiple build plugins including Webpack, Rspack, and Vite. This Skill fetches documentation explaining how to integrate these build tools within your micro-frontend architecture.

What is the Module Federation runtime API used for?

The Module Federation runtime API is used to dynamically load remote modules and manage shared dependencies during execution. This Skill synthesizes documentation to explain runtime API concepts and their application.

How do I integrate Module Federation with Next.js and Vue?

You can integrate Module Federation with frameworks like Next.js, Vue, and React by adjusting your build configuration to expose and consume remote components. This Skill retrieves framework-specific integration guides from the documentation.

Why is my Module Federation remote module not loading correctly?

If a Module Federation remote module is not loading, you need to troubleshoot your exposes, remotes, and shared dependency configurations. This Skill fetches debugging and troubleshooting pages to help resolve these micro-frontend architecture issues.