What problem does it solve?
This Skill streamlines the process of upgrading Silverstripe CMS projects between major versions, automating the assessment, dependency updates, configuration migration, data migration tasks, testing, and deployment.
Core Features & Use Cases
- Automated Upgrade Workflow: Handles the entire upgrade process from assessment to deployment.
- Customizable Branching: Supports branching for specific versions and PHP requirements.
- Dependency Management: Handles updates to core and additional packages, including elemental modules and third-party integrations.
- Configuration Migration: Assists with extension relocations, ORM relationships, and template updates.
- Data Migration: Provides guidance on writing idempotent BuildTasks for link/data migrations.
- Build & Verify: Ensures that the site is built and verified after each phase.
- Code Quality: Includes steps for PHPStan and PHPCS checks to maintain code quality.
- Commit & PR: Offers guidelines for committing and creating pull requests with conventional commit format and checklist PR body.
- UAT and Production: Covers the deployment to UAT and production stages, including database strategies and post-deploy smoke tests.
Quick Start
To begin the upgrade process, run the following command:
npx skills add jsirish/silverstripe-skills --skill silverstripe-version-upgrade -a claude-code -g