Agent skill
specswarm-upgrade
Upgrade deps/frameworks with breaking change analysis. Triggers on upgrade/update/migrate/modernize intent.
Install this agent skill to your Project
npx add-skill https://github.com/MartyBonacci/specswarm/tree/main/plugins/specswarm/skills/specswarm-upgrade
SKILL.md
SpecSwarm Upgrade Workflow
Provides natural language access to /specswarm:upgrade command.
When to Invoke
Trigger this skill when the user mentions:
- Upgrading or updating dependencies/packages
- Migrating to new frameworks or versions
- Modernizing technology stacks
- Bumping version numbers
Examples:
- "Upgrade React to version 19"
- "Update all dependencies"
- "Migrate from Webpack to Vite"
- "Modernize the build system"
- "Bump Node to version 20"
Instructions
Skill-Based Routing:
-
Detect that user mentioned upgrading/updating software
-
Extract what to upgrade from their message
-
Route based on intent clarity:
Clear intent - Execute directly:
- Clear upgrade requests: "Upgrade React to version 19", "Update all dependencies", "Migrate from Webpack to Vite"
- Action: Immediately run
/specswarm:upgrade "upgrade description"
Ambiguous intent - Ask for confirmation:
- Less specific: "Update the packages", "Make it better"
- Action: Use AskUserQuestion tool with two options:
- Option 1 (label: "Run /specswarm:upgrade"): Use SpecSwarm's upgrade workflow with compatibility analysis
- Option 2 (label: "Process normally"): Handle as regular Claude Code request
-
If user selects Option 2, process normally without SpecSwarm
-
After command completes, STOP - do not continue with ship/merge
What the Upgrade Command Does
/specswarm:upgrade runs complete workflow:
- Analyzes breaking changes and compatibility
- Creates comprehensive upgrade plan
- Generates migration tasks
- Updates dependencies and code
- Runs tests to verify compatibility
- Documents upgrade process
Stops after upgrade is complete - does NOT merge/ship/deploy.
Semantic Understanding
This skill should trigger not just on exact keywords, but semantic equivalents:
Upgrade equivalents: upgrade, update, migrate, modernize, bump, move to, switch to, adopt Target terms: dependency, package, framework, library, version, technology stack
Example
User: "Upgrade React to version 19"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
specswarm-build
Spec-driven feature development workflow. Triggers on build/create/add/implement/develop intent.
specswarm-modify
Modify features with impact analysis and compatibility checks. Triggers on modify/change/update/refactor intent.
specswarm-fix
Fix bugs with regression testing and auto-retry. Triggers on fix/debug/broken/error/not-working intent.
specswarm-release
Prepare releases with changelog, version bump, and tagging. Confirms on release/tag/publish/version intent.
specswarm-rollback
Safely rollback failed features (DESTRUCTIVE). ALWAYS confirms on rollback/undo/revert/abort intent.
specswarm-ship
Quality-gated merge to parent branch (DESTRUCTIVE). ALWAYS confirms on ship/deploy/merge/release intent.
Didn't find tool you were looking for?