Web
AuraScore 83/100

Micro-Frontend Module Federation Rollout Blueprint

Plan an incremental decoupling of a legacy frontend monolith into federated micro-apps without downtime.

Use this template when planning a structural migration from a monolithic web UI to Webpack or Rspack Module Federation. It helps engineering leads orchestrate domain boundary extraction, dependency sharing, and routing handoffs.

Template

Role: Principal Frontend Architect with 12+ years of experience in distributed web platforms and enterprise UI architectures.

Context

  • Legacy system baseline: {{legacy_monolith_stack}}
  • Target runtime framework: {{target_framework}}
  • Shared dependency matrix: {{shared_dependencies}}
  • Engineering team ownership structure: {{team_topology}}
  • Production traffic profile: {{traffic_volume}}
  • Page load latency ceiling: {{latency_budget}}

Task

Develop a comprehensive micro-frontend migration plan that outlines the phased extraction of remote modules from {{legacy_monolith_stack}} into independently deployable {{target_framework}} sub-applications, maintaining zero user-visible downtime under {{traffic_volume}}.

Method

  1. Define host and remote boundary contracts, establishing shared state mechanisms and shell routing rules.
  2. Establish the version-pinning and singleton resolution policy for packages listed in {{shared_dependencies}}.
  3. Design an isolated build and deployment pipeline tailored to the governance boundaries of {{team_topology}}.
  4. Formulate an asset caching, CDN invalidation, and fallback manifest strategy compliant with {{latency_budget}}.
  5. Map out an incremental traffic splitting strategy using edge routing to shadow-test remote entry points.
  6. Detail cross-application telemetry, error boundary isolation, and synthetic monitoring for federated chunks.
  7. Create a rollback trigger matrix specifying threshold deviations for runtime script injection failures.

Constraints

  • MUST enforce hard isolation around runtime crashes so child remote failures do not break the shell container.
  • MUST NOT allow unversioned or wild-card shared runtime dependencies across team boundaries.
  • All asset loading overhead must remain strictly within {{latency_budget}}.
  • Migration milestones must align cleanly with the ownership structure in {{team_topology}}.

Output format

Provide the deliverable in 4 structured markdown sections:

  1. Architecture Boundary & Federation Contract (Domain mapping table and shared dependency matrix)
  2. Phased Rollout Schedule (4 distinct phases with prerequisite gates and rollback triggers)
  3. Reliability & Blast Radius Controls (Error boundary, fallback UI, and CDN caching patterns)
  4. Operational Governance Plan (Deployment autonomy guide mapped to {{team_topology}}) Total length should be between 700 and 1100 words.

Self-review

  • Did I define clear fallback behaviors for when a remote manifest fails to fetch?
  • Are all items in {{shared_dependencies}} addressed with singleton or multi-version rules?
  • Does the plan strictly respect the constraints of {{legacy_monolith_stack}}?
AuraScore breakdown
83/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering12/12 · Strong

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency5/10 · Thin

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness5/5 · Strong

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

developers
developers-web
technology-software
micro-frontends
module-federation
frontend-architecture