LM

lucamezzalira/mfe-skills

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

69 stars 품질 67 트렌드 9MIT

AI 코딩 에이전트를 위한 Micro-frontend 경계 관리 기술

개요

AI 코드 조수를위한 Micro-frontend 아키텍처 관리. Micro-frontend 경계 디자인의 코드 조력 깊은 지식을주는 두 가지 기술, 건물 Micro-Frontends (O'Reilly)의 8 경계 규칙, 검출 위반 및 구제 패턴. 모듈 연맹 v1/v2, 네이티브 연맹 (Angular) 및 단일 SPA 커버. - 채택 결정, 경계 디자인 및 구성 패턴에 활성화 (캔버스 facilitation에 대한 별도의 기술 쌍) - 코드 검토, 쉘 생성, 위반 감지 및 크로스 MFE 통신 활성화 AI 조수는 비계 단위 연맹에 빨리 좋습니다. 관할 없이, 그들은 수시로 컴파일하고 데모를 잘 생성하고 그러나 시간이 지남에 erode 팀 자율성. 우리는 통제 된 실험을 ran : 두 에이전트, 동일한 간단한 (React 19, Module Federation, 전자 상거래 쉘 + 홈 + 카탈로그 MFEs). 이 기술을 구축 한 것; 하나의 내장 AGENTS.md 및 검토-mfe-boundaries.

개요(AI 번역)

AI 코드 조수를위한 Micro-frontend 아키텍처 관리.

Micro-frontend 경계 디자인의 코드 조력 깊은 지식을주는 두 가지 기술, Building Micro-Frontends (O’Reilly)의 8 경계 규칙, 검출 위반 및 구제 패턴. 모듈 연맹 v1/v2, 네이티브 연맹 (Angular) 및 단일 SPA 커버.

Skills 포함:

  • understanding-mfe-architecture는 채택 결정, 경계 디자인 및 구성 패턴에 활성화합니다 ( 별도의 ** 마이크로 프론트 엔드-캔 ** 캔버스 감상을위한 기술)
  • ** ** 코드 검토, 쉘 생성, 위반 감지 및 크로스 MFE 통신 활성화

왜 이러한 기술을 사용합니까?

AI 조수는 비계 단위 연맹에 빨리 좋습니다. 주지 않고, 그들은 종종 ** tutorial-style micro-frontends ** 컴파일 및 데모를 잘하지만 erode 팀 자율 시간.

우리는 통제 된 실험을 ran : 두 에이전트, 동일한 간단한 (React 19, Module Federation, 전자 상거래 쉘 + 홈 + 카탈로그 MFEs). 하나 내장 **** 이 기술; 하나 내장 ** ** AGENTS.md 및 reviewing-mfe-boundaries.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MFE Skills

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:

  • understanding-mfe-architecture activates on adoption decisions, boundary design, and composition patterns (pairs with the separate micro-frontend-canvas skill for Canvas facilitation)
  • reviewing-mfe-boundaries activates on code review, shell generation, violation detection, and cross-MFE communication

Why use these skills?

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.

Before vs after (experiment)

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
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add lucamezzalira/mfe-skills
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →