module-federation/agent-skills27 files

Mf

All-in-one Module Federation skill. Use when the user asks anything about MF — concepts, configuration, runtime API, shared dependencies, type errors, runtime error code troubleshooting, observability/obs, slow builds, Bridge integration, or adding MF to an existing project.

Specification
Skill ID
module-federation/agent-skills/mf
Publisher
module-federation
Repository
agent-skills
Installs
0
Files
27
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

module-federation/agent-skills/mfInstalls these files
  • SKILL.md
  • reference/bridge-check.md
  • reference/browser-debug/long-chain.md
  • reference/browser-debug/setup.md
  • reference/browser-debug/single-capture.md
  • reference/config-check.md
  • reference/context.md
  • reference/divebell.md
  • reference/docs.md
  • reference/integrate.md
  • reference/module-info.md
  • reference/observability-analyze.md
  • reference/observability-page.md
  • reference/observability-read.md
  • reference/observability-use.md
  • reference/observability.md
  • reference/perf.md
  • reference/runtime-error.md
  • reference/shared-deps.md
  • reference/type-check.md
  • scripts/bridge-check.js
  • scripts/config-exposes-check.js
  • scripts/module-info.js
  • scripts/observability-collector.js
  • scripts/performance-check.js
  • scripts/shared-config-check.js
  • scripts/type-check.js

What this skill tells the agent

MF — Module Federation All-in-One Skill

Step 1: Identify the sub-skill

Parse $ARGUMENTS and map to a reference file in the reference/ directory (same directory as this file):

Sub-command (case-insensitive)AliasesReference file
docsdoc, help, ?reference/docs.md
contextctx, info, statusreference/context.md
module-infomodule, remote, manifestreference/module-info.md
integrateinit, setup, addreference/integrate.md
type-checktypes, ts, dtsreference/type-check.md
shared-depsshared, deps, singletonreference/shared-deps.md
perfperformance, hmr, speedreference/perf.md
config-checkconfig, plugin, exposesreference/config-check.md
bridge-checkbridge, sub-appreference/bridge-check.md
runtime-errorruntime-code, runtime-008, runtime-001, remote-entryreference/runtime-error.md
observabilityobs, observe, trace, traceId, report, observability, debug-loading, telemetry, runtime-007, moduleInfo, snapshotreference/observability.md

If no explicit sub-command is found, detect intent from the full input:

If the input contains an observability report, traceId, console read: command, .mf/observability file path, or asks how to observe, debug, trace, inspect, or upload Module Federation loading data, or uses obs as shorthand for observability, choose reference/observability.md even when the same input also contains a RUNTIME-xxx code.

Signal in inputReference file
Question about MF concepts, API, configuration optionsreference/docs.md
"integrate", "add MF", "setup", "scaffold", "new project"reference/integrate.md
"type error", "TS error", "@mf-types", "dts", "typescript"reference/type-check.md
"shared", "singleton", "duplicate", "antd", "transformImport"reference/shared-deps.md
"slow", "HMR", "performance", "build speed", "ts-go"reference/perf.md
"plugin", "asyncStartup", "exposes key", "config"reference/config-check.md
"bridge", "sub-app", "export-app", "createRemoteAppComponent"reference/bridge-check.md
"RUNTIME-001", "RUNTIME-008", "runtime error code", "remote entry load failed", "ScriptNetworkError", "ScriptExecutionError", "container missing", "window[remoteEntryKey]"reference/runtime-error.md
"obs", "mf obs", "Observability report generated", "console.error", "traceId", "read:", "diagnosis", "ownerHint", "summary.phases", ".mf/observability", "build-report.json", "latest.json", "RUNTIME-007", "moduleInfo", "remote snapshot", "global snapshot", "snapshot match", "observability", "observe MF", "debug MF loading", "trace loading", "loading report", "open page and inspect MF", "visit URL and observe MF", "看下 MF 加载情况", "telemetry", "onReport", "onEvent", "production report", "upload observability"reference/observability.md
"manifest", "remoteEntry URL", "module info", "publicPath"reference/module-info.md
"context", "what is configured", "MF role", "bundler"reference/context.md

If still ambiguous, show the user the sub-command table above and ask them to pick.

Step 2: Load and execute the reference

Read the matched file from the reference/ directory (same directory as this SKILL.md).

Execute all instructions in that file, passing the remaining arguments (everything after the sub-command token, or the full $ARGUMENTS if intent-detected) as ARGS.

If the selected workflow needs to open, inspect, or operate a real browser page, read reference/divebell.md first and use Divebell for every browser operation. Do not use raw CDP, a separately launched debug Chrome, Playwright, Puppeteer, or ad hoc browser scripts alongside Divebell.

Use this skill in a project

Open any RiverX project, search the Skills panel for module-federation/agent-skills/mf, and install it in one click.

Use this skill