update-xperience
/update-xperience
Aktualizuje Xperience by Kentico do nowszej wersji: regeneruje przykład DancingGoat, zachowuje zmiany i podbija pakiety.
- Autor
- Kentico ↗
- Repozytorium
- repo-template-xperience ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 04.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/Update-Xperience.ps1
Co robi i kiedy
Aktualizuje Xperience by Kentico do nowszej wersji: regeneruje przykład DancingGoat, zachowuje zmiany i podbija pakiety.
Oryginalny opis (EN)
Update Xperience by Kentico to a newer version - regenerate the DancingGoat example from the new project template, keeping this repository's changes, bump its Kentico packages, and optionally raise the libraries' minimum Xperience version (Kentico NuGet and npm packages). Use when upgrading or refreshing Xperience, Kentico packages, or DancingGoat.
Jak działa
- 1. Check the starting state
- 2. Pick the version
- 3. Run the update
- 4. Compare root files the template also ships
- 5. Regenerate the DancingGoat database
- 6. Update lock files
- 7. Fix breaking changes
- 8. Validate
- 9. Update docs
- 10. Report
Podgląd SKILL.md
--- name: update-xperience description: Update Xperience by Kentico to a newer version - regenerate the DancingGoat example from the new project template, keeping this repository's changes, bump its Kentico packages, and optionally raise the libraries' minimum Xperience version (Kentico NuGet and npm packages). Use when upgrading or refreshing Xperience, Kentico packages, or DancingGoat. --- `scripts/Update-Xperience.ps1` does the mechanical work: it generates pristine DancingGoat projects for the current and target versions and three-way merges them with `examples/DancingGoat`, so template changes come in and this repository's changes stay. It also updates the Kentico versions DancingGoat uses (`examples/Directory.Packages.props`) and `.config/dotnet-tools.json`. Two versions, kept apart on purpose: - **DancingGoat version** – `examples/Directory.Packages.props`. Follows the latest Xperience, so the sample checks the libraries against it. - **Library minimum** – root `Directory.Packages.props` and admin `Client/package.json` `@kentico/*`. The oldest Xperience the libraries in `src/` support; `src/` and `tests/` build against it. Raised only with `-Libraries`, a deliberate choice (it drops support for older versions). The DancingGoat version is never below the library minimum. Each step ends on its completion criterion. ## 1. Check the starting state Run from the repository root. Done when `git status --short` is empty. If there are local changes, stop and ask the user how to proceed. ## 2. Pick the version Run `./.claude/skills/update-xperience/scripts/Update-Xperience.ps1 [-Version <x.y.z>] [-Libraries] -Preview`. Without `-Version` the target is the latest stable `Kentico.Xperience.Templates`. Ask the user whether to also raise the library minimum (`-Libraries`); default is no. Done when the user accepts both current → target versions. Read the Xperience changelog for breaking changes between them (<https://docs.kentico.com/changelog>) and tell the user which apply. ## 3. Run the update Run the same command without `-Preview`. Done when it exits 0, or exits 2 and you have resolved every conflicted file it lists: no `<<<<<<<`, `=======`, or `>>>>>>>` lines remain in `examples/DancingGoat`. Resolve conflicts with [references/dancinggoat-overlay.md](references/dancinggoat-overlay.md). The pristine projects and merge repository stay in the work folder the script prints; `git -C <work>/merge diff base theirs` shows exactly what the template changed. The target template already includes its DancingGoat version migrations. Do not separately port changelog migrations into `examples/DancingGoat`; only intervene for unresolved merge conflicts or repository-specific overlay code that remains incompatible with the target template. ## 4. Compare root files the template also ships Skip when DancingGoat was not updated. The script prints two paths from the target template: - `.mcp.json`: add any MCP server it has that the root `.mcp.json` lacks, keeping the root's port and secret. - DancingGoat skills: for each skill folder, bring its content into the root `.claude/skills/<name>/`, keeping the root's `description` and the line saying paths are relative to `examples/DancingGoat/`. A skill with no root copy is added the same way. Pin `@kentico/management-api-mcp` in the root `.mcp.json` to the target Xperience version; do not use `latest`. Keep the root's port and secret. Done when every MCP server in the target file exists in the root file, the Management API MCP package version matches the target Xperience version, and every target skill body matches its root copy apart from those two lines. ## 5. Regenerate the DancingGoat database Skip when DancingGoat was not updated. After confirming the target in `examples/DancingGoat/appsettings.json` is the intended local database, ask the user to confirm dropping and recreating it. Then run `./scripts/Initialize-Database.ps1 -Recreate`. The script reads the SQL server, database, and authentication details from the existing `CMSConnectionString`, restores the dbmanager tool, and invokes `kentico-xperience-dbmanager` with `--recreate-existing-database`. Do not run this against a shared or production database. Done when the script exits 0 and the database is recreated for the target Xperience version. ## 6. Update lock files - With `-Libraries`, in each `src/*/Client` folder: `npm install --no-audit --no-fund` - `dotnet tool restore` - `dotnet restore --force-evaluate`, then `dotnet restore --locked-mode` Done when the locked restore exits 0. Then review the `Transitive security pins` group in `Directory.Packages.props`: for each pin, remove it, run `dotnet restore --force-evaluate` and `dotnet nuget why <root .slnx> <package>`, and keep the removal when the resolved version is at least the pinned one and restore reports no NU190x vulnerability warning; otherwise restore the pin. Done when every remaining pin is still needed. ## 7. Fix breaking changes Build with `dotnet build --configuration Release --no-restore`. Fix every error in `src/` and `tests/` caused by the new version, guided by the changelog from step 2. Without `-Libraries`, `src/` still builds against the library minimum; an error or test failure in DancingGoat or `tests/e2e` that comes from the library means it does not work on the new Xperience version: stop and ask the user whether to fix the library (keeping the minimum) or raise the minimum. Done when the build has no errors. ## 8. Validate 1. `dotnet test --configuration Release --no-build` 2. `dotnet format --no-restore --verify-no-changes` 3. In each `src/*/Client`: `npm run typecheck` Done when all three pass. ## 9. Update docs With `-Libraries`, set the minimum Xperience version in the `README.md` version matrix to the target version so it matches the root `Directory.Packages.props`. Without it, leave the matrix. Done when every Xperience version mentioned in `README.md` and `docs/` is intentional. ## 10. Report List: current → target DancingGoat version and library minimum, packages and tools changed, conflicts and how each was resolved, breaking changes fixed, validation results, and the maintainer's next step: update any other existing local databases with `dotnet run --project examples/DancingGoat -- --kxp-update` (see <https://docs.kentico.com/documentation/developers-and-admins/installation/update-xperience-by-kentico-projects>); DancingGoat's database was recreated in step 5.
Pliki w paczce (3)
- SKILL.md 6 KB
- references/dancinggoat-overlay.md 3 KB
- scripts/Update-Xperience.ps1 13 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · Kentico/repo-template-xperience | 100 | MIT |
| kentico/xperience-by-kentico-kenticopilot | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki a7f0e7f12da2 (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-global
Migruje kod globalny z Kentico Xperience 13 do Xperience by Kentico: struktura projektu docelowego, pliki kodu, lokalizacja, style, logika biznesowa i konfiguracja startowa. - 100update-nuget-packages
Sprawdza i stosuje aktualizacje pakietów NuGet bezpiecznie, zanim zmieni wersje w projekcie. - 100dotnet-update-packages
Wylicza i aktualizuje przestarzałe pakiety NuGet w projektach .NET, w tym sprawdzanie dostępnych aktualizacji i wersji pakietów. - 100design-conventions
Podpowiada zasady designu przykładowej strony DancingGoat: kolory, typografię, siatkę, obrazy, ton tekstów i styl Tailwind. - 100upgrade
Prowadzi aktualizację Backpex do nowszej wersji, obsługuje zmiany łamiące zgodność i wyjaśnia, co się zmieniło między wersjami.