Help us improve
Share bugs, ideas, or general feedback.
From mfe-skills
Provides micro-frontend architecture vocabulary, principles, and a decisions framework. Use when evaluating MFE adoption, defining boundaries, choosing composition strategies, or reviewing architecture for distributed monoliths.
npx claudepluginhub lucamezzalira/mfe-skills --plugin mfe-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/mfe-skills:understanding-mfe-architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Canonical vocabulary, principles, and decisions framework for micro-frontend architecture, as defined in *Building Micro-Frontends* (O'Reilly) and the Micro-Frontend Canvas (buildingmicrofrontends.com).
Reviews and generates micro-frontend code against eight boundary rules, covering Module Federation, Native Federation, Single SPA, and governance for feature flags, edge strategy, and SSR ownership.
Advises on architecture patterns: SOLID, DDD, CQRS, Event Sourcing, Clean/Hexagonal, microservices, Data Mesh, EDA, Service Mesh, micro-frontends, Vertical Slice, Saga/Outbox. For architectural decisions, design evaluations, refactoring.
Guides building, configuring, and deploying microfrontends on Vercel using microfrontends.json, multi-zone routing, asset prefixes, and the @vercel/microfrontends package.
Share bugs, ideas, or general feedback.
Canonical vocabulary, principles, and decisions framework for micro-frontend architecture, as defined in Building Micro-Frontends (O'Reilly) and the Micro-Frontend Canvas (buildingmicrofrontends.com).
Identify the task type first, then load the appropriate reference file. Do not load all files at once.
| Task | Load | First action |
|---|---|---|
| Should we use MFEs? | references/boundary-design.md | Apply the organisational readiness gate before any implementation advice |
| Defining or reviewing boundaries | references/boundary-design.md | Ask about team ownership before discussing technology |
| Reviewing boundary validity or architecture for principle violations | references/rules.md → or load reviewing-mfe-boundaries skill for code-level detail | Run the boundary health check for validity; scan against the eight rules for violations |
| Choosing composition, routing, or communication | references/decisions-framework.md | Confirm split strategy (vertical vs horizontal) before composition; shell owns first URL segment, MFE owns sub-routes |
| Micro-Frontend Canvas facilitation | Install micro-frontend-canvas skill (see references/canvas-pointer.md) | Confirm domain is identified; do not facilitate Canvas from this skill |
| Generating or reviewing MFE code | Load reviewing-mfe-boundaries skill | This skill handles code-level boundary enforcement |
If the user's terminology differs from the canonical definitions in the reference files, map it once to the canonical term, then continue using theirs.
Do not revert to generic frontend advice once this skill is active. Micro-frontend principles apply at the boundary between independently deployed units — not within a single unit.
Stand down if the question is purely about component composition, state management within a single deployed unit, or build tooling with no independent-deployment or team-scaling angle.
Example 1 — adoption decision
User says: "We have three teams and our React monorepo is becoming a bottleneck. Should we migrate to micro-frontends?"
Expected: Apply the organisational readiness gate. Ask about release independence before recommending. Load references/boundary-design.md.
Example 2 — boundary design
User says: "We've just done event storming and identified checkout, catalog, and account as bounded contexts. How should we split our frontend?"
Expected: Load references/boundary-design.md. Ask which team owns each context before proposing a split. Point to the micro-frontend-canvas skill for a Canvas session per MFE.
Example 3 — communication pattern
User says: "We have two MFEs on the same page. When a user adds to cart in the catalog MFE, the basket MFE needs to update. How?"
Expected: Load references/decisions-framework.md. Recommend event emitter. Explicitly rule out shared state managers.
Example 4 — architecture review
User says: "Is our current setup a distributed monolith?"
Expected: Load references/rules.md. Run the boundary health check. Ask for team and deployment context.