Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

migrate-code-page-visual

/migrate-code-page-visual

Dopasowuje wizualnie zmigrowaną stronę do oryginału z Kentico Xperience 13: porównuje obie w Playwright i iteracyjnie poprawia style, układ i treść.

Licencja
MIT
Ostatnia zmiana repozytorium
14.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dopasowuje wizualnie zmigrowaną stronę do oryginału z Kentico Xperience 13: porównuje obie w Playwright i iteracyjnie poprawia style, układ i treść.

Argumenty

/migrate-code-page-visual [page-name] [legacy-page-url] [new-page-url]
Oryginalny opis (EN)

Ensures a migrated page visually matches the original Kentico Xperience 13 page. Uses Playwright to compare both pages and iteratively fixes styling, layout, and content differences. Use when a page migration results in visual discrepancies that need to be corrected.

Jak działa

  1. Input Parameters
  2. Structure of the projects
  3. Context
  4. Important Principles
  5. Visual Matching Steps
  6. Output format
Sekcje z nagłówków SKILL.md, w oryginale · 72 linii, 501 słów
Podgląd SKILL.md
---
name: "migrate-code-page-visual"
description: "Ensures a migrated page visually matches the original Kentico Xperience 13 page. Uses Playwright to compare both pages and iteratively fixes styling, layout, and content differences. Use when a page migration results in visual discrepancies that need to be corrected."
argument-hint: "[page-name] [legacy-page-url] [new-page-url]"
compatibility: "Requires Playwright MCP"
---

You are tasked with ensuring that the migrated page visually matches the original legacy page.

## Input Parameters

- **Page Name** - The name/path of the page being matched (e.g., 'home', 'doctors').
- **Legacy Page URL** - The URL of the page in the KX13 project (e.g., <https://localhost:5001/en-us/home>).
- **New Page URL** - The URL of the page in the XbyK project (e.g., <http://localhost:60444/en-us/home>).

## Structure of the projects

You are currently located in the root folder, which contains two subfolders:

- `KX13/` - This folder contains the Kentico Xperience 13 project files. This is the legacy/source project.
- `XbyK/` - This folder contains the Xperience by Kentico project files. This is the new project.

## Context

The page migration from KX13 to XbyK has been completed in the previous step. The result is a functional page, but it does not visually match the original. Your task is to make the new page look completely identical to the old one.

## Important Principles

1. **Dynamic content** - When migrating a page, ensure that everything that was fetched dynamically from the database will still be dynamically fetched from the database. Nothing can be statically hardcoded in the new project if it was dynamic in the legacy project.
2. **Pixel-perfect matching** - The goal is to make the pages visually identical, including layout, spacing, colors, fonts, and responsive behavior.
3. **Preserve functionality** - While fixing visual issues, ensure all functionality remains intact.

## Visual Matching Steps

1. **Ensure XbyK is running** - Start the application if not already running.

2. **Capture both pages** - Use Playwright MCP to navigate to both pages:
   - Navigate to the legacy page URL
   - Take a snapshot or screenshot for reference
   - Navigate to the new page URL
   - Take a snapshot or screenshot for comparison

3. **Identify visual differences** - Compare the two pages and note all differences:
   - Layout and structure
   - Colors and backgrounds
   - Typography (fonts, sizes, weights)
   - Spacing and margins
   - Images and media
   - Interactive elements (buttons, links, forms)

4. **Fix each difference** - For each visual discrepancy:
   - Identify the source of the difference (CSS, HTML structure, missing content)
   - Make the necessary changes in the XbyK project
   - Prefer fixing via CSS/styling over changing HTML structure
   - Implement retrieval of missing content dynamically from the database
   - Nothing can be hardcoded if it was dynamic in the legacy project

5. **Rebuild and restart** - After making changes:
   - Verify the project builds without errors
   - Restart the XbyK application

6. **Verify the fix** - Use Playwright MCP to check if the difference is resolved

7. **Iterate** - Repeat steps 3-6 until both pages are visually identical

## Output format

When done, provide the user with this exact output (without any additional text):

```markdown
# Migration Complete
Page visual match adjustment has been successfully completed.

**Next steps:**
- Review the changes to ensure everything looks as expected.
- Continue migrating other pages by repeatedly running migrate-code-page-widgets and migrate-code-page.
```

Wersje

W bazie nie ma innych skilli o nazwie migrate-code-page-visual.

Migawka bazy z 13.11.2026 · wersja paczki 7feb03585e5b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100migrate-code-page
    Migruje stronę z Kentico Xperience 13 do Xperience by Kentico: kontrolery, widoki, layouty, pobieranie treści i zależności, po migracji widżetów Page Builder.
  • 100migrate-code-page-widgets
    Migruje widżety i sekcje Page Builder ze strony Kentico Xperience 13 do Xperience by Kentico, wskazując i konwertując wszystkie komponenty użyte na stronie.
  • 100update-xperience
    Aktualizuje Xperience by Kentico do nowszej wersji: regeneruje przykład DancingGoat, zachowuje zmiany i podbija pakiety.
  • 100playwright
    Robi zrzut ekranu adresu URL lub lokalnej strony i ładuje go do kontekstu, aby sprawdzić wygląd i układ na szerokościach desktopowych i mobilnych.
  • 90figma-to-page
    Wdraża stronę lub komponent frontendu z adresu Figma i sprawdza wynik w Playwright, dbając o wierność wizualną, treść i strukturę.
  • 100playwright-testing
    Wspiera pisanie testów E2E w Playwright: automatyzacja przeglądarki, regresja wizualna, Page Objects, fixture'y i niezawodne wzorce testowe.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.