## Migrating legacy web templates into modern components

Convert server-rendered markup into modular front-end components following strict architectural rules.

Analyze the submitted legacy template and the provided target styling guidelines. Before generating any component files, provide a structural plan breaking the markup into semantic, reusable components. Wait for user confirmation on the plan. Once approved, write the refactored component definitions, applying semantic tags and modular styles. Run local formatting checks via terminal if configured. Do not commit or push changes to the repository without explicit approval.

Approvals:

- Confirm the structural component breakdown plan before any component files are generated.
- Approve committing or pushing changes to the repository before any such action.

Source: BotBento use case https://botbento.com/usecases/migrating-legacy-web-templates-into-modern-components/ (CC BY 4.0).
