/microfrontends
Guide for building, configuring, and deploying microfrontends on Vercel. Use this skill when the user mentions microfrontends, multi-zones, splitting an app across teams, independent deployments, cross-app routing, incremental migration, composing multiple frontends under one
$ npx -y skills add vercel-labs/vercel-plugin --skill microfrontends --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/microfrontends
Context preview
The summary Claude sees to decide when to auto-load this skill.
Guide for building, configuring, and deploying microfrontends on Vercel. Use this skill when the user mentions microfrontends, multi-zones, splitting an app across teams, independent deployments, cross-app routing, incremental migration, composing multiple frontends under one
SKILL.md
microfrontends.SKILL.mdname: microfrontends
description: Guide for building, configuring, and deploying microfrontends on Vercel. Use this skill when the user mentions microfrontends, multi-zones, splitting an app across teams, independent deployments, cross-app routing, incremental migration, composing multiple frontends under one domain, microfrontends.json, @vercel/microfrontends, the microfrontends local proxy, or path-based routing between Vercel projects. Also use when the user asks about shared layouts across projects, navigation between microfrontends, fallback environments, asset prefixes, or feature flag controlled routing.
metadata:
priority: 7
docs:
- "https://vercel.com/docs/microfrontends"
pathPatterns:
- 'microfrontends.json'
- 'microfrontends.jsonc'
- 'apps/*/microfrontends.json'
- 'apps/*/microfrontends.jsonc'
bashPatterns:
- '\bvercel\s+microfrontends\b'
- '\bvercel\s+mf\b'
- '\bnpm\s+(install|i|add)\s+[^\n]*@vercel/microfrontends\b'
- '\bpnpm\s+(install|i|add)\s+[^\n]*@vercel/microfrontends\b'
- '\bbun\s+(install|i|add)\s+[^\n]*@vercel/microfrontends\b'
- '\byarn\s+add\s+[^\n]*@vercel/microfrontends\b'
importPatterns:
- '@vercel/microfrontends'
retrieval:
aliases:
- microfrontends
- multi-zones
- multi zones
- mfe
- microfrontend routing
- cross-zone navigation
intents:
- split app into microfrontends
- set up microfrontends
- configure microfrontends.json
- add path routing between projects
- share layout across microfrontends
entities:
- microfrontends.json
- "@vercel/microfrontends"
- default app
- child app
- asset prefix
- microfrontends group
chainTo:
-
pattern: 'runMicrofrontendsMiddleware|flag.*microfrontend|microfrontend.*flag'
targetSkill: routing-middleware
message: 'Flag-controlled microfrontend routing requires middleware in the default app — loading Routing Middleware guidance.'Vercel Microfrontends
Split a large application into independently deployable units that render as one cohesive app. Vercel handles routing on its global network using `microfrontends.json`.
**Core concepts:** default app (has `microfrontends.json`, serves unmatched requests) · child apps (have `routing` path patterns) · asset prefix (prevents static-asset collisions) · independent deployments.
**Frameworks:** Next.js (App Router + Pages Router), SvelteKit, React Router, Vite — all via `@vercel/microfrontends`.
**CLI (`vercel microfrontends` / `vercel mf`):**
- `create-group` — create a new group; interactive by default, or fully non-interactive with `--non-interactive` (options: `--name`, `--project` (repeatable), `--default-app`, `--default-route`, `--project-default-route` (repeatable, format: `<project>=<route>`, required for each non-default project in non-interactive mode), `--yes` to skip confirmation prompt); note: `--non-interactive` is blocked if adding the projects would exceed the free tier limit — the user must confirm billing changes interactively
- `add-to-group` — add the current project to an existing group; requires interactive terminal (options: `--group`, `--default-route`)
- `remove-from-group` — remove the current project from its group; requires interactive terminal (option: `--yes` skips project-link prompt only)
- `delete-group` — delete a group and all its settings, irreversible; requires interactive terminal (option: `--group` to pre-select group)
- `inspect-group` — retrieve group metadata (project names, frameworks, git repos, root dirs); useful for automating setup (options: `--group`, `--format=json`, `--config-file-name`)
- `pull` — pull remote `microfrontends.json` for local development (option: `--dpl`)
- `microfrontends proxy` — local dev proxy · `microfrontends port` — print auto-assigned port
Finding Detailed Information
This skill includes detailed reference docs in the `references/` directory. **Do not read all references upfront.** Instead, search or grep the relevant file when the user asks about a specific topic:
| Topic | Reference file | |---|---| | Getting started, quickstart, framework setup, `microfrontends.json` schema, fields, naming, examples | `references/configuration.md` | | Path expressions, asset prefixes, flag-controlled routing, middleware | `references/path-routing.md` | | Local proxy setup, polyrepo config, Turborepo, ports, deployment protection | `references/local-development.md` | | Inspecting groups (`inspect-group`), adding/removing projects, fallback environments, navigation, observability | `references/managing-microfrontends.md` | | Testing utilities (`validateMiddlewareConfig`, `validateRouting`, etc.), debug headers, common issues | `references/troubleshooting.md` | | Deployment protection, Vercel Firewall, WAF rules for microfrontends | `references/security.md` |
When the user asks about a specific topic, use grep or search over the relevant reference file to find the answer without loading all references into context.
Read more
name: microfrontends
description: Guide for building, configuring, and deploying microfrontends on Vercel. Use this skill when the user mentions microfrontends, multi-zones, splitting an app across teams, independent deployments, cross-app routing, incremental migration, composing multiple frontends under one domain, microfrontends.json, @vercel/microfrontends, the microfrontends local proxy, or path-based routing between Vercel projects. Also use when the user asks about shared layouts across projects, navigation between microfrontends, fallback environments, asset prefixes, or feature flag controlled routing.
metadata:
priority: 7
docs:
- "https://vercel.com/docs/microfrontends"
pathPatterns:
- 'microfrontends.json'
- 'microfrontends.jsonc'
- 'apps/*/microfrontends.json'
- 'apps/*/microfrontends.jsonc'
bashPatterns:
- '\bvercel\s+microfrontends\b'
- '\bvercel\s+mf\b'
- '\bnpm\s+(install|i|add)\s+[^\n]*@vercel/microfrontends\b'
- '\bpnpm\s+(install|i|add)\s+[^\n]*@vercel/microfrontends\b'
- '\bbun\s+(install|i|add)\s+[^\n]*@vercel/microfrontends\b'
- '\byarn\s+add\s+[^\n]*@vercel/microfrontends\b'
importPatterns:
- '@vercel/microfrontends'
retrieval:
aliases:
- microfrontends
- multi-zones
- multi zones
- mfe
- microfrontend routing
- cross-zone navigation
intents:
- split app into microfrontends
- set up microfrontends
- configure microfrontends.json
- add path routing between projects
- share layout across microfrontends
entities:
- microfrontends.json
- "@vercel/microfrontends"
- default app
- child app
- asset prefix
- microfrontends group
chainTo:
-
pattern: 'runMicrofrontendsMiddleware|flag.*microfrontend|microfrontend.*flag'
targetSkill: routing-middleware
message: 'Flag-controlled microfrontend routing requires middleware in the default app — loading Routing Middleware guidance.'Vercel Microfrontends
Split a large application into independently deployable units that render as one cohesive app. Vercel handles routing on its global network using `microfrontends.json`.
**Core concepts:** default app (has `microfrontends.json`, serves unmatched requests) · child apps (have `routing` path patterns) · asset prefix (prevents static-asset collisions) · independent deployments.
**Frameworks:** Next.js (App Router + Pages Router), SvelteKit, React Router, Vite — all via `@vercel/microfrontends`.
**CLI (`vercel microfrontends` / `vercel mf`):**
- `create-group` — create a new group; interactive by default, or fully non-interactive with `--non-interactive` (options: `--name`, `--project` (repeatable), `--default-app`, `--default-route`, `--project-default-route` (repeatable, format: `<project>=<route>`, required for each non-default project in non-interactive mode), `--yes` to skip confirmation prompt); note: `--non-interactive` is blocked if adding the projects would exceed the free tier limit — the user must confirm billing changes interactively
- `add-to-group` — add the current project to an existing group; requires interactive terminal (options: `--group`, `--default-route`)
- `remove-from-group` — remove the current project from its group; requires interactive terminal (option: `--yes` skips project-link prompt only)
- `delete-group` — delete a group and all its settings, irreversible; requires interactive terminal (option: `--group` to pre-select group)
- `inspect-group` — retrieve group metadata (project names, frameworks, git repos, root dirs); useful for automating setup (options: `--group`, `--format=json`, `--config-file-name`)
- `pull` — pull remote `microfrontends.json` for local development (option: `--dpl`)
- `microfrontends proxy` — local dev proxy · `microfrontends port` — print auto-assigned port
Finding Detailed Information
This skill includes detailed reference docs in the `references/` directory. **Do not read all references upfront.** Instead, search or grep the relevant file when the user asks about a specific topic:
| Topic | Reference file | |---|---| | Getting started, quickstart, framework setup, `microfrontends.json` schema, fields, naming, examples | `references/configuration.md` | | Path expressions, asset prefixes, flag-controlled routing, middleware | `references/path-routing.md` | | Local proxy setup, polyrepo config, Turborepo, ports, deployment protection | `references/local-development.md` | | Inspecting groups (`inspect-group`), adding/removing projects, fallback environments, navigation, observability | `references/managing-microfrontends.md` | | Testing utilities (`validateMiddlewareConfig`, `validateRouting`, etc.), debug headers, common issues | `references/troubleshooting.md` | | Deployment protection, Vercel Firewall, WAF rules for microfrontends | `references/security.md` |
When the user asks about a specific topic, use grep or search over the relevant reference file to find the answer without loading all references into context.
Comprehensive Vercel ecosystem plugin — relational knowledge graph, skills for every major product, specialized agents, and Vercel conventions. Turns any AI agent into a Vercel expert.
Repo: vercel-labs/vercel-plugin
Other skills on vercel.
- /benchmark-agents
Advanced AI agent benchmark scenarios that push Vercel's cutting-edge platform features — Workflow DevKit, AI Gateway, MCP, Chat SDK, Queues, Flags, Sandbox, and multi-agent orchestration. Designed to stress-test skill injection for complex, multi-system builds.
Open skill - /benchmark-e2e
End-to-end benchmark suite for vercel-plugin. Runs realistic projects through skill injection, launches dev servers, verifies everything works, analyzes conversation logs, and produces an improvement report for overnight self-improvement loops.
Open skill - /benchmark-sandbox
Run vercel-plugin eval scenarios in Vercel Sandboxes instead of local WezTerm panels. Provisions ephemeral microVMs with Claude Code + plugin pre-installed, runs benchmark prompts, extracts hook artifacts, and produces coverage reports.
Open skill - /benchmark-testing
Create and launch benchmark test projects to exercise vercel-plugin skill injection across realistic scenarios. Sets up isolated directories, installs the plugin, and spawns WezTerm panes running Claude Code with crafted prompts.
Open skill - /plugin-audit
Audit vercel-plugin performance on real-world projects. Extracts tool calls from Claude Code conversation logs, tests hook matching against actual inputs, identifies pattern coverage gaps, and checks plugin cache staleness. Use when asked to audit, test, or investigate plugin
Open skill - /release
Release vercel-plugin — run gates, bump version, generate artifacts, commit, and push. Use when asked to "release", "ship", "bump and push", or "cut a release".
Open skill

