add-microfrontend - Set up iframe-based micro-frontend composition
Sets up a client-side micro-frontend architecture where a Main App hosts independently rendered Next.js micro-apps through sandboxed iframes.
Tags
Updated: 2026-11-30Capabilities
Typical Inputs
What this skill does
- Discover project context
- Create iframe host component
- Share Supabase sessions
- Sync URLs via postMessage
- Validate message origins
- Configure sandboxed iframes
- Configure auth proxy routes
- Connect apps to shared DaaS
- Add loading and error UI
- Verify DaaS field names
- Support independent deployments
Inputs
- Project deployment context
- Microapp name
- Host route
- DaaS schema metadata
Outputs
- Main App iframe host component
- Micro-app integration configuration
- Shared authentication behavior
- URL synchronization behavior
- Auth proxy routes
- Loading and error states
Requirements
- get_project_detail MCP tool
- DaaS schema or fields MCP tool
- Next.js applications
- Next.js SSR support
- Shared Supabase project
- Shared DaaS backend
- Valid project URLs
- Mantine UI components
