What problem does it solve?
Setting up EMP v4 micro-frontend projects involves many moving parts—host/remote federation wiring, shared singleton dependencies, plugin selection, DTS generation, and release validation—and getting any of them wrong leads to broken builds or runtime failures. This Skill gives agents a structured, repository-grounded path for each task instead of generic bundler advice.
Core Features & Use Cases
- Project Setup & Diagnostics: Create new EMP v4 projects with
emp create, dry-run plans, and emp doctor --json environment checks before writing files.
- Module Federation Wiring: Configure host/remote
exposes, remotes, shared singletons, manifests, runtime scope, and DTS via pluginRspackEmpShare(...).
- Plugin Selection: Choose framework plugins (React, Vue 2/3), CSS toolchains (Tailwind CSS 4, PostCSS, Lightning CSS, Stylus), and quality packages with explicit React Compiler rules.
- Validation & Release Evidence: Run repository gates (
ci:verify, apps:acceptance), release dry-runs, and release acceptance HTML for formal releases.
- Use Case: An agent asked to "add a Vue 3 remote to my React host" loads the module-federation reference, writes the correct
pluginRspackEmpShare config on both sides, and verifies the manifest and browser rendering.
Quick Start
Use the emp skill to create a new EMP v4 project with a React host and Vue remote, then validate it with the doctor and acceptance commands.