renovate-migrate

Convert Renovate breaking-change PR review comments into code migrations, builds, and tests.

154|28|Updated Aug 31, 2018
One-click install
npx skills add https://github.com/commercetools/ui-kit --skill renovate-migrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: renovate-migrate
Source: https://github.com/commercetools/ui-kit/tree/main/.agents/skills/renovate-migrate
Command: npx skills add https://github.com/commercetools/ui-kit --skill renovate-migrate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts Renovate review findings about breaking dependency upgrades into concrete code changes so maintainers avoid lengthy manual refactors and reduce upgrade friction.

Core Features & Use Cases

  • Load review context: Pull review details from the conversation context or from a Renovate PR comment to identify breaking changes and required edits.
  • Targeted code changes: Locate old API usages, apply focused migrations, and create one small commit per logical change to keep history clean.
  • Verify and collaborate: Build, format, and run tests after edits, and optionally push commits and post a clear migration summary to the PR for reviewers.
  • Use case: A maintainer upgrading multiple dependencies after a Renovate major bump can systematically apply code fixes across the repo and produce a ready-to-review PR summary.

Quick Start

Run the renovate-migrate skill on PR 123 with --comment and --push to apply migrations, push commits, and post the migration summary to the pull request.

Frequently Asked Questions about renovate-migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code migrations for breaking changes in Renovate pull requests?

Automate code migrations for Renovate pull requests by applying focused code changes to update files affected by Renovate-identified breaking dependency upgrades. The process reads PR review comments, locates old API usages, applies targeted fixes, and creates one small commit per logical change to keep history clean.

What is the best way to handle dependency upgrades when Renovate identifies required code modifications?

Handling dependency upgrades when Renovate identifies required code modifications involves converting review findings into concrete code changes. This avoids lengthy manual refactoring by systematically applying code fixes across the repository and producing a ready-to-review PR summary for reviewers.

Can I push commits and post a migration summary to a Renovate PR automatically?

Yes, you can push commits and post a migration summary to a Renovate PR automatically. After applying code migrations, building, formatting, and running tests, the workflow optionally pushes commits and posts a clear migration summary comment to the pull request for reviewers.

Do I need build and test access to run code migrations for Renovate dependency upgrades?

Yes, you need build and test access to run code migrations for Renovate dependency upgrades. The process requires the ability to search and edit source files, run builds and tests after edits to verify changes, and optionally push commits to the repository.

How does targeted code migration keep commit history clean during a Renovate major bump?

Targeted code migration keeps commit history clean during a Renovate major bump by creating one small commit per logical change. It locates old API usages, applies focused migrations across affected files, and verifies edits through builds and tests before optionally pushing.

What limitations should I expect when automating Renovate PR code migrations?

Limitations when automating Renovate PR code migrations include the requirement for PR context or comment access to identify breaking changes. The process depends on existing review details listing required code modifications, and it cannot infer migrations without Renovate review findings present in the conversation context.