Przejdź do treści
Biblioteka skilli
Programowanie · Nauka i wyjaśnianie

understanding-mfe-architecture

/understanding-mfe-architecture

Wyjaśnia architekturę mikrofrontendów: słownictwo, zasady i granice podziału, a także pytanie, czy system nie jest rozproszonym monolitem.

Repozytorium
mfe-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
22.09.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść30 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
9
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 22.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Wyjaśnia architekturę mikrofrontendów: słownictwo, zasady i granice podziału, a także pytanie, czy system nie jest rozproszonym monolitem.

Wyzwalacze z opisu

Reilly). Use when a user askshow do I split my frontend into MFEs?what is a micro-frontend?help me define MFE boundariesshould I use horizontal or vertical split?how do micro-frontends communicate?is my architecture a distributed monolith?
Oryginalny opis (EN)

Provides micro-frontend architecture vocabulary, principles, and decisions framework grounded in Building Micro-Frontends (O'Reilly). Use when a user asks "should we use micro-frontends?", "how do I split my frontend into MFEs?", "what is a micro-frontend?", "help me define MFE boundaries", "should I use horizontal or vertical split?", "how do micro-frontends communicate?", or "is my architecture a distributed monolith?". Requires independent deployment or multi-team scaling as the explicit context. Does not activate for single-team frontend architecture, component design, or build tooling que

Jak działa

  1. Task routing
  2. When not to activate
  3. Examples
Sekcje z nagłówków SKILL.md, w oryginale · 46 linii, 437 słów
Podgląd SKILL.md
---
name: understanding-mfe-architecture
description: Provides micro-frontend architecture vocabulary, principles, and decisions framework grounded in Building Micro-Frontends (O'Reilly). Use when a user asks "should we use micro-frontends?", "how do I split my frontend into MFEs?", "what is a micro-frontend?", "help me define MFE boundaries", "should I use horizontal or vertical split?", "how do micro-frontends communicate?", or "is my architecture a distributed monolith?". Requires independent deployment or multi-team scaling as the explicit context. Does not activate for single-team frontend architecture, component design, or build tooling questions with no cross-team deployment angle.
license: "MIT — Copyright (c) Luca Mezzalira"
compatibility: Works in Claude.ai, Claude Code, and any Claude API environment. No external tools or MCP servers required. Designed for software architects, tech leads, and senior frontend engineers working on multi-team frontend systems.
metadata:
  author: luca-mezzalira
  version: "1.0"
  category: architecture
  tags: [micro-frontends, architecture, frontend, module-federation, angular, react, domain-driven-design]
---

# Micro-frontend core concepts

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).

## Task routing

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.

## When not to activate

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.

---

## Examples

**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.
Pliki w paczce (9)
  • SKILL.md 4 KB
  • evals/evals.json 2 KB
  • evals/fixtures/horizontal-split-question.md 1 KB
  • evals/fixtures/monolith-checkout.md 1 KB
  • evals/fixtures/ssr-ownership.md 1 KB
  • references/boundary-design.md 9 KB
  • references/canvas-pointer.md 1 KB
  • references/decisions-framework.md 10 KB
  • references/rules.md 3 KB

Wersje

W bazie nie ma innych skilli o nazwie understanding-mfe-architecture.

Migawka bazy z 28.10.2026 · wersja paczki 31fb7eeb5ccb (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100reviewing-mfe-boundaries
    Przegląda i generuje kod mikrofrontendów zgodnie z ośmioma regułami granic z książki o micro-frontendach oraz zasadami zarządzania.
  • 100micro-frontends
    Opisuje architekturę micro-frontendów: podejścia do kompozycji, Module Federation, single-spa, web components, współdzielony stan i komunikację między aplikacjami.
  • 100datahub-mfe-create-app
    Tworzy szkielet nowej aplikacji Micro Frontend dla DataHub z całym kodem startowym, w tym zdalnej aplikacji Module Federation.
  • 100datahub-mfe-configure-app
    Konfiguruje instancję DataHub do ładowania i wyświetlania aplikacji Micro Frontend: rejestracja MFE, pozycja w bocznym menu, konfiguracja lokalna i produkcyjna oraz diagnozowanie problemów z ładowaniem.
  • 100frontend
    Porównuje podejścia do architektury frontendu od aplikacji wielostronicowych przez SPA, SSR i architekturę wysp po mikrofrontendy: routing, stan, pobieranie danych, podział kodu i hydratację.
  • 90frontend-architecture-review
    Przegląda architekturę frontendu w dużej skali i bramkuje wdrożenie micro-frontendów przed budową, z domyślnym modularnym monolitem do czasu, gdy istnieją co najmniej 3 niezależnie wdrażające zespoły i realny ból koordynacji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.