migrate-code-global
/migrate-code-global
Migruje kod globalny z Kentico Xperience 13 do Xperience by Kentico: struktura projektu docelowego, pliki kodu, lokalizacja, style, logika biznesowa i konfiguracja startowa.
- Autor
- kentico ↗
- Repozytorium
- xperience-by-kentico-kenticopilot ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 14.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 14.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Migruje kod globalny z Kentico Xperience 13 do Xperience by Kentico: struktura projektu docelowego, pliki kodu, lokalizacja, style, logika biznesowa i konfiguracja startowa.
Oryginalny opis (EN)
Migrates global code from a Kentico Xperience 13 project to Xperience by Kentico. Sets up the target project structure, generates code files, and migrates shared code including localization, styles, business logic, and project startup configuration. Use when starting a KX13 to XbyK codebase migration.
Jak działa
- Structure of the projects
- Migration Steps
- Output format
Podgląd SKILL.md
---
name: "migrate-code-global"
description: "Migrates global code from a Kentico Xperience 13 project to Xperience by Kentico. Sets up the target project structure, generates code files, and migrates shared code including localization, styles, business logic, and project startup configuration. Use when starting a KX13 to XbyK codebase migration."
compatibility: "Requires Kentico Docs MCP"
---
You are tasked with the process of migrating global code from a Kentico Xperience 13 project to an Xperience by Kentico project.
## 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.
## Migration Steps
1. Review the structure of both the legacy and new project.
2. Use Kentico Docs MCP to read the following page: <https://docs.kentico.com/guides/upgrade-to-xbyk/upgrade-walkthrough/adjust-global-code> (note that this guide is written for a sample project and that there will be some differences between the sample project and the project you are migrating)
3. Create a new project for generated code files (named {ProjectName}.Entities).
1. Configure given project as described in the documentation.
2. **CRITICAL:** Ensure the .csproj file contains the following (without this, content item reference fields will fail to populate):
```xml
<ItemGroup>
<AssemblyAttribute Include="CMS.AssemblyDiscoverableAttribute" />
</ItemGroup>
```
4. Generate code files by running the `--kxp-codegen` command as described in the documentation. Always use `--skip-confirmation` flag to avoid interactive prompts
5. Copy relevant global code from source project to the new project.
1. Localization
2. Shared views
3. Styles and scripts
4. Identifiers
5. Services registration
6. Configure the project to display content.
1. Enable Content tree-based routing and Page Builder.
2. Add future custom service registrations and localization.
7. Ensure that the new project builds successfully without errors and warnings. If it doesn't, some part of the documentation was not followed correctly. Fix the issues based on the docs page.
Notes relevant to the migration process:
- Do not change any other files or settings outside of the global code migration process (that are not mentioned in the docs page).
- When commenting out code, always add "TODO:" note to make it easier to find later.
## Output format
When done, provide the user with this exact output (without any additional text):
```markdown
# Migration Complete
Global code migration from the legacy project to the new one has been successfully completed.
**Next steps:**
- Update your channel configuration to include the port of the local XbyK instance (the one the project launches with).
Follow these steps: https://docs.kentico.com/guides/upgrade-to-xbyk/upgrade-walkthrough/adjust-global-code#adjust-system-url
- Review the changes to ensure everything looks as expected.
- Continue with the migrate-code-page-widgets skill to migrate Page Builder widgets used by the specified page.
```
Wersje
W bazie nie ma innych skilli o nazwie migrate-code-global.
Migawka bazy z 13.11.2026 · wersja paczki a27e49c04a52 (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-component
Migruje współdzielony komponent (nagłówek, stopkę, nawigację, breadcrumbs) z Kentico Xperience 13 do Xperience by Kentico razem ze wszystkimi zależnościami. - 100update-xperience
Aktualizuje Xperience by Kentico do nowszej wersji: regeneruje przykład DancingGoat, zachowuje zmiany i podbija pakiety. - 100gpui-global
Obsługuje stan globalny w GPUI: konfiguracja obejmująca całą aplikację i zasoby współdzielone. - 100migration-mapping
Tworzy mapowanie plików źródłowych na pliki docelowego języka przy migracjach kodu, przydatne do oceny lub dokumentowania projektu migracji.