Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By lucamezzalirav1.0.0MITIn 1 marketplace
Reviews micro-frontend code against eight boundary rules, catching cross-MFE imports and shared state. Covers Module Federation, Native Federation and Single SPA, with guidance on adoption and composition decisions.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Micro-frontend architecture governance for AI code assistants.
Two skills that give your code assistant deep knowledge of micro-frontend boundary design, the eight boundary rules from Building Micro-Frontends (O'Reilly), violation detection, and remediation patterns. Covers Module Federation v1/v2, Native Federation (Angular), and Single SPA.
Skills included:
AI assistants are good at scaffolding Module Federation quickly. Without governance, they often produce tutorial-style micro-frontends that compile and demo well but erode team autonomy over time.
We ran a controlled experiment: two agents, same brief (React 19, Module Federation, ecommerce shell + home + catalog MFEs). One built without these skills; one built with AGENTS.md and reviewing-mfe-boundaries.
Reference implementation (with skills): lucamezzalira/mfe-with-skills — ThreadTales (Module Federation 2.0, runtime discovery, vendored skills + AGENTS.md).
| Branch | Purpose |
|---|---|
main | Starting point: AGENTS.md, docs/SPEC.md, skills — no app code |
ecommerce-init-implementation | Runnable app — AppShell + five remotes, discovery service (pnpm install / pnpm start) |
Use ecommerce-init-implementation for Start Here and code review; use main to bootstrap a new project from spec only.
| Area | Without skills | With skills |
|---|---|---|
| Cross-MFE imports | Shell imports catalogMfe/productUtils | No imports across remotes; each MFE exposes only its app entry |
| Mount contract | shellUser, cart, formatPrice, onNavigate | userId + platformBus (chrome only) |
| Shared state | window.__SHOP_CART__ global singleton | No shared store; URL + platform events |
| Routing | Shell knows home + catalog pages | Shell loads first URL segment only (manifest/discovery); MFE owns deeper paths like /catalog/product/:id |
| Adding a route/MFE | Edit shell App.tsx | Add entry in manifest/discovery config (no shell domain-page code changes) |
| Remote URLs | Hard-coded in webpack config | Runtime discovery (remotes.json or frontend-discovery.json) |
| Failure handling | Suspense only | Shell ErrorBoundary + fallback per remote |
| Shell events | N/A (navigation via callbacks/globals) | shell:alert, shell:modal:* allowed — no catalog:* / checkout:* in shell |
The without-skills build had critical boundary violations (cross-imports, shared state, fat API). The with-skills build aligned with the eight rules and stayed extensible without redeploying the shell for every catalog sub-page. Details: docs/experiment.md · code: mfe-with-skills.
.mdc rules, and Codex AGENTS.mdPair the skills with your project’s CLAUDE.md / AGENTS.md (team ownership, toolchain, known exceptions) so the agent applies general rules to your system.
Companion skill: micro-frontend-canvas — Micro-Frontend Canvas worksheets and facilitation (not included in this repo).
Optional governance template: docs/governance.md — policy YAML + ts-arch/jest fitness-function starter for teams that want CI enforcement.
Beyond the eight core boundary rules, the skills also guide these advanced topics:
7-day copy clicks
npx claudepluginhub lucamezzalira/mfe-skills --plugin mfe-skillsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground