Add skills to update Drupal core to minor or major release - #4
Add skills to update Drupal core to minor or major release#4shaundrong wants to merge 2 commits into
Conversation
kurowski
left a comment
There was a problem hiding this comment.
Looks good!
I wonder if it's worth adding some verbiage to the major upgrade skill stating "this skill has not been tested by UCEAP yet, so please proceed with caution and verify each step with the user before proceeding" or something like that. As well as "please update this skill to remove the warning after successful completion". Or maybe I'm being overly paranoid, at the end of the day we're just opening a PR after all.
In another vein, the timeline described doesn't match with how I typically think of using Claude Code sessions. Perhaps a note telling the bot that this is expected to take multiple sessions with the user, and that the bot should proactively remind the user they should /rename the session so they can easily find it again using --resume when they pick up the process again days/weeks later.
Those all sound like good enhancements, I was more codifying the Drupal core update process per our Software Engineering Playbook. I've already done a local test of /uceap:update-core in PR: https://github.com/UCEAP/myeap2/pull/3010, which well (san my mistake with basing the branch on my active branch vs qa, requiring a new branch/pr) |
|
It might also be worth having @helioha review these skills given all the work he has done on the security updates lately. When we returns on the 24th. |
Add Drupal Core Update Skills
Summary
Adds two new skills for managing Drupal core updates in UCEAP projects:
/uceap:upgrade-core- Patch and minor version updates/uceap:upgrade-core-major- Major version upgradesThese skills codify UCEAP's documented Drupal core update procedures and integrate with the existing UCEAP skill ecosystem.
New Skills
/uceap:upgrade-core(Patch/Minor Updates)Purpose: Routine security and feature updates within the same major version (e.g., 10.2.7 → 10.3.1)
Key Features:
uceap devcontainer-reset-db)composer auditvs deprecateddrush pm:security)User Intent Triggers:
/uceap:upgrade-core-major(Major Version Upgrades)Purpose: Major version upgrades requiring extensive planning (e.g., Drupal 10.x → 11.x)
Key Features:
User Intent Triggers:
UCEAP-Specific Customizations
Both skills are tailored to UCEAP's infrastructure and workflow:
Exact Version Targeting: Uses UCEAP's documented procedure with specific version numbers (typically from Jira tickets based on security audit reports)
Four Core Packages: Includes all four packages per UCEAP documentation:
Devcontainer Optimization:
uceap devcontainer-reset-db)drush core:requirementschecks (local environment false positives)CLI-Only: All checks use drush/composer commands (no
/admin/reportsURLs)Integration: References existing skills:
/uceap:upgrade-drupal-modulefor contrib modules/uceap:load-dbfor database operations/uceap:release-notesfor release processTechnical Details
Composer Commands
Main packages:
Dev packages:
Updated Commands
composer audit(replaced deprecateddrush pm:security)composer show drupal/core(for PHP requirements check)composer outdated "drupal/core-*"(scoped to core only)drush watchdog:show(for error checking)Removed Legacy Methods
drush core:requirements(local environment issues)/admin/reports/*URLs (browser-based)/update.php(browser-based)drush pm:security(deprecated)Skill Routing
Skills automatically route based on version context:
User: "Upgrade Drupal core to 10.3.1"
Claude: Invokes
/uceap:upgrade-core(minor version)User: "Upgrade Drupal core to 11.0.0"
Claude: Invokes
/uceap:upgrade-core-major(major version)Manual invocation with wrong skill will prompt user to use the correct one via
whenToUseguidance.Documentation Sources
Based on official Drupal.org documentation:
Customized for UCEAP's documented procedures and infrastructure.
Testing
Recommended Validation
Before deploying to production marketplace:
Test patch update scenario:
Test major update scenario:
Test version-specific targeting:
[VERSION]placeholder is replaced with actual versionTest skill cross-references:
/uceap:upgrade-drupal-moduleworkuceap devcontainer-reset-dbreference is correctIntegration Testing
After deployment:
Files Added
upgrade-core/SKILL.md- Patch/minor version update skill (~240 lines)upgrade-core-major/SKILL.md- Major version upgrade skill (~330 lines)Breaking Changes
None - these are new skills with no existing implementations to replace.
Follow-Up Items
Related Issues
/uceap:upgrade-drupal-moduleskillReady to merge: ✅ Both skills are complete and follow UCEAP marketplace metadata format