migrate-frontend-page

Convert legacy Japanese frontend pages into React components with API integration.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dinhpham04/DA-KLTN_HOTEL_MANAGEMENT --skill migrate-frontend-page
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-frontend-page
Source: https://github.com/Dinhpham04/DA-KLTN_HOTEL_MANAGEMENT/tree/main/.agents/skills/migrate-frontend-page
Command: npx skills add https://github.com/Dinhpham04/DA-KLTN_HOTEL_MANAGEMENT --skill migrate-frontend-page

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Facilitates converting frontend pages from legacy Japanese-based structures to modernized, clean, and API-compliant React components tailored for hotel management systems.

Core Features & Use Cases

  • Code Refactoring: Reorganize source code into modular, maintainable React components following target repository best practices.
  • Localization & Internationalization: Remove Japan-specific features and replace with localized content suitable for Vietnamese or English interfaces.
  • API Compatibility: Map frontend API calls to the new backend structure, ensuring data consistency and proper hook implementation.
  • Dependency Management: Copy and adapt custom components and assets, ensuring full functionality with the new target environment.
  • Use Case: Developers migrating a legacy page to a new system can use this skill to perform layout adjustments, remove cultural/Japanese-specific features, and re-structure code for future scalability.

Quick Start

Use the migration skill to convert a React page from the old Japanese system layout to the new standardized hotel-management front end.

Frequently Asked Questions about migrate-frontend-page

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate legacy Japanese frontend pages to modern React components?

Migrate legacy Japanese frontend pages to React components by refactoring the source code into modular structures, removing Japan-specific features, and adapting the layout to match new project standards. The process handles directory restructuring and dependency copying automatically.

What is the best way to handle localization when refactoring a React frontend?

Handle localization during React frontend refactoring by removing Japan-specific features and replacing them with localized content suitable for Vietnamese or English interfaces. This ensures the migrated components conform to the target project's internationalization standards.

How do I map frontend API calls to a new backend structure during a migration?

Map frontend API calls to a new backend structure by validating backend API completeness and implementing proper hooks. This ensures data consistency and API compatibility within the modernized React components.

Can I copy custom components and assets when migrating a page to a new React environment?

You can copy custom components and assets when migrating to a new React environment. The migration process adapts these dependencies to ensure full functionality and conformity with the target code style and directory structure.

Does this frontend migration handle reorganizing code for hotel management systems?

This frontend migration handles reorganizing code specifically for hotel management systems. It converts legacy structures into clean, API-compliant React components tailored for this target environment while ensuring future scalability.

Why should I remove Japan-specific features during a React frontend migration?

Remove Japan-specific features during a React frontend migration to replace them with localized content for Vietnamese or English interfaces. This step is necessary to meet the target repository's conformity and internationalization standards.