update-xperience
Update Kentico Xperience NuGet and pnpm packages to latest non-breaking version and commit changes.
от Kentico★ 20 звёзд на GitHub
Установить update-xperience в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Purpose
Automate updating all Kentico Xperience dependencies (Kentico.Xperience.*
NuGet + @kentico/* pnpm) when a newer version than the one declared in
README.md is available, run required update tasks, and produce a proper
commit. Abort early if no newer version or if breaking changes are detected.
Preconditions (MUST validate before proceeding)
- Git working tree clean:
git status --porcelainMUST return no output. - Current branch MUST NOT be
main. - Confirm central package management file
Directory.Packages.propsis present.
If any precondition fails: output a clear message and stop.
Run CI Restore
This update process includes a CI Store run after the database is updated. To prevent the loss of updated CI state, a CI Restore should always be run before this process begins.
A restore can be run with the ./scripts/Restore-CI.ps1 script, run from the
scripts directory.
Xperience CLI Status Commands
The scripts/*-CI.ps1 and Get-DB-Status.ps1 scripts wrap native Xperience CLI
commands (correct launch profile, configuration, --no-build). Prefer the
scripts; the native equivalents, run from src/Kentico.Community.Portal.Web,
are:
| Script | Native command |
|---|---|
./Disable-CI.ps1 |
dotnet run --no-build -- --kxp-ci-disable |
./Enable-CI.ps1 |
dotnet run --no-build -- --kxp-ci-enable |
./Get-CI-Status.ps1 |
dotnet run --no-build -- --kxp-ci-status |
./Get-DB-Status.ps1 |
dotnet run --no-build -- --kxp-db-status --format json |
--kxp-db-status reports state: Ready, MissingConnectionString,
NotAvailable, or UpdateRequired (with databaseVersion /
applicationVersion). It exits 0 for every state, so always read state. Docs:
https://docs.kentico.com/documentation/developers-and-admins/installation/check-the-database-status
--no-build runs the last build output, so the app version reported by these
commands is whatever was last built — rebuild after a package bump before
trusting applicationVersion.
Pre-check Database Status (MUST)
Before disabling CI, run ./Get-DB-Status.ps1. state MUST be Ready. If it
is anything else, stop and report — do not start the update on a database that
is already mismatched or unreachable.
Disable CI Before Version Bump (MUST)
Disable CI before updating NuGet package versions to avoid app/database version mismatch failures when CI commands run after package updates.
Run from the scripts directory:
./Disable-CI.ps1
./Get-CI-Status.ps1 # confirm CI reports disabled
If this step fails, stop and resolve before proceeding.
CI Re-enable Safety Contract (MUST)
From the moment ./Disable-CI.ps1 succeeds, the repository is in a disabled-CI
state that MUST NOT outlive this workflow. Treat everything between here and the
"Re-enable CI And Store" step as a guarded window with a mandatory cleanup:
- The window spans the NuGet/pnpm bumps, the solution build, and the
Update-Xperience.ps1run — up to and including the "Re-enable CI And Store" step. If ANY step in that window fails or you abort for any reason (build failure, breaking changes,Update-Xperience.ps1failure, etc.), you MUST run./Enable-CI.ps1from thescriptsdirectory before stopping, so CI is never left disabled for the next developer. - After re-enabling on an abort path, do NOT run
./Store-CI.ps1(the database was not successfully updated) and do NOT commit. Report that CI was re-enabled and that a CI Store was intentionally skipped.
Determine Current and Latest Xperience Version
- Run
dotnet tool restoreat the repository root - Run
dotnet list Kentico.Community.Portal.slnx package --outdatedand analyze the output to identify if Xperience by Kentico packages are outdated - If there are no out of date packages: report "No new Xperience version available" and STOP.
Update NuGet Packages
- Open
Directory.Packages.props. - Identify all
<PackageVersion Include="Kentico.Xperience.*" Version="X" />entries whereVersionequals the current version. - Replace their
Versionwith the latest version reported bydotnet-outdated. - If a referenced package is a
-previewor-prereleaseversion and it is part of the product update train, update it to the corresponding newer-previewor-prereleaseversion. Do not silently skip this step. - Do NOT change packages whose versions are intentionally different (examples
today:
Kentico.Xperience.Lucene,Kentico.Xperience.MiniProfiler,Kentico.Xperience.TagManager). These are outside the scope of this task. AdditionalKentico.Xperience.*integration packages may also version on an independent cadence; do not force them to match the product version unless explicitly listed as part of the curre
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл update-xperience?
Update Kentico Xperience NuGet and pnpm packages to latest non-breaking version and commit changes.
Как установить скилл update-xperience?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-xperience запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…