add-microfrontend - Set up iframe-based micro-frontend composition
Creates a Main App that hosts independent Next.js micro-apps in sandboxed iframes with shared Supabase authentication, URL synchronization, and a shared DaaS backend.
Tags
Updated: 2026-11-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create iframe host components
- Share Supabase session cookies
- Synchronize URLs via postMessage
- Validate postMessage origins
- Configure shared DaaS access
- Add iframe loading and error states
- Support independent micro-app deployments
- Apply iframe sandbox permissions
- Verify DaaS field names
Inputs
- Project context
- Micro-app routes
- Micro-app deployment URLs
- Allowed query parameters
- DaaS schema fields
Outputs
- Main App iframe components
- Micro-frontend host configuration
- PostMessage URL synchronization
- Shared authentication integration
- Iframe loading and error UI
Requirements
- Next.js applications
- Supabase project
- Shared DaaS backend
- get_project_detail MCP tool
- DaaS schema MCP tools
- Configured app origins
- Access to project repositories
