add-microfrontend - Set Up an Iframe-Based Micro-Frontend
Sets up a client-side micro-frontend architecture where independent Next.js apps run in sandboxed iframes with shared Supabase authentication and DaaS access.
Tags
Updated: 2026-11-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create iframe host components
- Share Supabase session cookies
- Sync URLs via postMessage
- Validate message origins
- Configure shared DaaS access
- Add iframe loading states
- Add iframe error handling
- Configure auth proxy routes
Inputs
- Micro-app name
- Host route
- Project context
- Micro-app deployment URLs
- Git repository credentials
Outputs
- Iframe host component
- Micro-frontend integration code
- PostMessage URL synchronization
- Shared authentication configuration
- Shared DaaS configuration
- Iframe loading skeleton
- Iframe error boundary
Requirements
- Next.js applications with SSR
- Shared Supabase project
- Shared DaaS backend
- get_project_detail MCP tool
- Non-null project URLs
- Mantine UI components
