.agents/skills/mf-module-info/SKILL.md
Fetch metadata and manifest info for a remote Module Federation module — publicPath, remoteEntry, type file URLs, and the module's remotes/exposes/shared from its mf-manifest.json. Two modes: (1) inside a consumer project, pass only the remote name and the entry URL is resolved from mfConfig.remotes; (2) outside a consumer project, pass the remote name plus its remoteEntry URL directly. To inspect the current project's own config, use mf-context instead.
npx skillsauth add brGuirra/funkonation mf-module-infoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Step 1: Parse $ARGUMENTS:
<module-name>http) → <remoteEntry-url> (standalone mode); remaining tokens → [project-root][project-root] (consumer mode)Step 2 — consumer mode (no URL provided):
Call the mf-context Skill (passing [project-root]) to collect MFContext, then run:
node scripts/module-info.js --context '<MFContext-JSON>' --module '<module-name>'
Step 2 — standalone mode (URL provided): Run with an empty context and the explicit URL:
node scripts/module-info.js --context '{}' --module '<module-name>' --url '<remoteEntry-url>'
Step 3: Present the result from the script output:
| Field | Description |
|---|---|
| publicPath | Base URL of the remote |
| remoteEntry | Full URL to remoteEntry.js |
| typesZip | URL to @mf-types.zip |
| typesApi | URL to @mf-types.api (shown only if present) |
| hasSsr | Whether SSR build artifacts were detected |
| exposes | Modules this remote exposes |
| remotes | Remotes this module depends on |
| shared | Shared dependencies declared by this module |
If result.error is set, surface it directly and stop.
Step 4 (conditional): If the user explicitly asks to see the type declarations (e.g. "show me the types", "what types does it export"), fetch result.typesZip or result.typesApi and display the relevant type definitions.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
development
Diagnose Module Federation type issues across three categories: (1) producer type file generation failures (TYPE-001), (2) consumer failing to pull remote types, (3) tsconfig not configured to consume remote types. Use when the user encounters TS type errors, missing @mf-types folder, or cannot consume remote module types.
development
Check Module Federation shared dependency configuration: detect shared/externals conflicts, antd/arco transformImport blocking shared deps, and multiple versions of the same shared package in build artifacts. Use when shared dependencies fail to be shared, or host and remote load duplicate instances of a library.