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'.

⭐878stars🔀101forks📁View on GitHub🕐Updated Jan 4, 2026

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.
nameopenrouter-upgrade-migration
description|
allowed-toolsRead, Write, Edit, Grep
version1.0.0
licenseMIT
authorJeremy 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:

  1. Verify Prerequisites: Ensure all prerequisites listed above are met
  2. Review the Implementation: Study the code examples and patterns below
  3. Adapt to Your Environment: Modify configuration values for your setup
  4. Test the Integration: Run the verification steps to confirm functionality
  5. 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.

Resources