Agent skill
kirby-upgrade-and-maintenance
Upgrades Kirby and maintains dependencies safely using composer audit, plugin compatibility checks, and official docs. Use when updating Kirby versions or making maintenance changes that affect runtime.
Install this agent skill to your Project
npx add-skill https://github.com/bnomei/kirby-mcp/tree/main/skills/kirby-upgrade-and-maintenance
SKILL.md
Kirby Upgrade and Maintenance
Quick start
- Follow the workflow below for safe, incremental upgrades.
KB entry points
kirby://kb/panel/compat-k5-k6-migrationkirby://kb/panel/tooling-kirbyupkirby://kb/glossary/kirbyupkirby://kb/glossary/plugin
Required inputs
- Current and target Kirby versions.
- Environment constraints and downtime tolerance.
- Plugin compatibility risks and rollback expectations.
Default upgrade checklist
- Read the target version guide and note breaking changes.
- Update
composer.jsonconstraints, then review the lockfile diff. - Run project scripts and render representative pages.
- Verify runtime commands and CLI version match.
Rollback note
- Keep a copy of the previous
composer.lockandvendor/state.
Rollback checklist
- Restore the previous
composer.lock. - Reinstall dependencies and re-run smoke tests.
- Re-render representative pages to confirm behavior.
Staged upgrade pattern
- Upgrade a single environment/site first, then roll out to others.
- Validate plugins and custom code before multi-site rollout.
Common pitfalls
- Skipping plugin compatibility checks.
- Upgrading multiple major versions in one jump.
Workflow
- Call
kirby:kirby_initor gather baseline data withkirby:kirby_infoandkirby:kirby_composer_audit. - Inventory plugins for compatibility risks:
kirby:kirby_plugins_index. - Use
kirby:kirby_onlineto find official upgrade guides and breaking changes for the target version (preferkirby:kirby_searchfirst). - Build a project-specific checklist of required code/config changes.
- Ask for confirmation before dependency updates that change the lockfile.
- Verify:
- run project scripts discovered in the composer audit
- call
kirby:kirby_cli_versionto confirm the installed version - ensure runtime commands are in sync:
kirby:kirby_runtime_statusandkirby:kirby_runtime_installif needed - render representative pages with
kirby:kirby_render_page(noCache=true)
- Summarize changes, remaining risks, and a short manual QA checklist.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
kirby-i18n-workflows
Manages Kirby multi-language workflows, translations, and localized labels. Use when dealing with languages, translation keys, placeholders, or importing/exporting translations.
kirby-security-and-auth
Secures Kirby sites with access restriction, user roles, permissions, and protected downloads. Use when implementing login/role-based access, permissions, or file protection.
kirby-headless-api
Exposes Kirby content to headless clients using the API, KQL, and JSON representations. Use when building API endpoints, KQL queries, or headless frontends.
kirby-performance-and-media
Improves Kirby performance and media delivery (cache tuning, CDN, responsive images, lazy loading). Use when optimizing page speed, caching, or image handling.
kirby-panel-and-blueprints
Designs Kirby blueprints and Panel UI, including blueprint reuse/extends, programmable blueprints, and custom Panel fields/sections/areas. Use when changing the Panel experience or schema.
kirby-debugging-and-tracing
Diagnoses Kirby rendering/runtime issues using MCP runtime rendering, dump traces, and template/snippet/controller indexes. Use when outputs are wrong, errors occur, or tracing execution paths is required.
Didn't find tool you were looking for?