mf-bridge-check
Check Module Federation Bridge usage: verify that producers correctly export export-app, and that consumers use the recommended Bridge API. Use when micro-frontend sub-app integration is unstable or errors occur.
How do I install this agent skill?
npx skills add https://github.com/module-federation/core --skill mf-bridge-checkIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is functional and mostly safe, but contains an indirect prompt injection surface and a potential command injection vulnerability in its shell instruction template.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/2 files flagged
What does this agent skill do?
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:
node scripts/bridge-check.js --context '<MFContext-JSON>'
Process each item in the output results and context.mfConfig:
BRIDGE-USAGE · info — No export-app export found
- No key matching the
export-apppattern found inexposes - If this project is a sub-app that should follow the Bridge spec, guide the user to:
- Add
"./export-app": "./src/export-app.tsx"toexposes - The exported module must return an object conforming to the Bridge spec (containing
renderanddestroymethods)
- Add
BRIDGE-USAGE · info — Consumer API recommendation
- Advise consumers to use official Bridge APIs such as
createRemoteAppComponent - Avoid directly concatenating remote URLs or manually calling
loadRemote
If context.mfRole is host (no exposes), skip the producer-side check and only provide consumer-side recommendations.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/module-federation/core/mf-bridge-check">View mf-bridge-check on skillZs</a>