AGENT SKILL

module-federation-shell

Design Module Federation shell and remote boundaries for admin micro frontends.

License 许可
MIT
最近更新
2026-05-28
Stars
★ 0
Forks
0

01 前言 Front Matter

name
module-federation-shell
author
Siming
license
MIT
version
1.0.0
metadata
{ "siming": { "tags": [ "frontend", "module-federation", "micro-frontend" ] } }
description
Design Module Federation shell and remote boundaries for admin micro frontends.

03 SKILL.md 正文

Module Federation Shell

Use this skill when integrating admin remotes into a host shell.

Workflow

  1. Keep auth, layout, theme, and product entitlement in the shell.
  2. Let remotes own their routes, pages, and domain components.
  3. Define shared contracts for menu, permissions, auth context, and API clients.
  4. Fail gracefully when a remote is unavailable.
  5. Version shared packages deliberately.

Checks

  • No remote duplicates shell-level auth logic.
  • Remote loading states are clear and compact.

04 同仓库更多 Skills