openrouter-upgrade-migration
Migrate and upgrade OpenRouter SDK versions safely. Use when updating dependencies or migrating configurations. Trigger with phrases like 'openrouter upgrade', 'openrouter migration', 'update openrouter', 'openrouter breaking changes'.
When & Why to Use This Skill
The OpenRouter Upgrade Migration skill is a specialized developer tool designed to streamline the process of updating OpenRouter SDK versions and migrating API configurations. It minimizes downtime and integration errors by identifying breaking changes, automating dependency updates, and verifying connectivity, ensuring a safe and efficient transition to the latest OpenRouter features.
Use Cases
- SDK Version Upgrades: Automate the transition from legacy OpenRouter SDKs to the latest versions while ensuring code compatibility.
- Breaking Changes Mitigation: Identify and refactor deprecated code patterns or API parameters introduced in new OpenRouter releases.
- Configuration Migration: Safely update environment variables, API endpoints, and authentication headers during infrastructure migrations.
- Integration Auditing: Scan existing codebases using Grep and Edit tools to find and fix outdated OpenRouter implementation patterns.
| name | openrouter-upgrade-migration |
|---|---|
| description | | |
| allowed-tools | Read, Write, Edit, Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Openrouter Upgrade Migration
Overview
This skill guides you through SDK version upgrades, configuration migrations, and handling breaking changes safely.
Prerequisites
- Existing OpenRouter integration
- Version control for rollback capability
Instructions
Follow these steps to implement this skill:
- Verify Prerequisites: Ensure all prerequisites listed above are met
- Review the Implementation: Study the code examples and patterns below
- Adapt to Your Environment: Modify configuration values for your setup
- Test the Integration: Run the verification steps to confirm functionality
- Monitor in Production: Set up appropriate logging and monitoring
Output
Successful execution produces:
- Working OpenRouter integration
- Verified API connectivity
- Example responses demonstrating functionality
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.