upgrade-oxc

Upgrade OXC versions and regenerate code across Rust and JavaScript tooling.

13.9k|1.0k|Updated Sep 18, 2023
One-click install
npx skills add https://github.com/rolldown/rolldown --skill upgrade-oxc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upgrade-oxc
Source: https://github.com/rolldown/rolldown/tree/main/.claude/skills/upgrade-oxc
Command: npx skills add https://github.com/rolldown/rolldown --skill upgrade-oxc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upgrade OXC versions and regenerate code to align with latest dependencies.

Core Features & Use Cases

  • End-to-end upgrade workflow for OXC, including version pinning, dependency updates, and code generation.
  • Ensures compatibility fixes across OXC crates and workspace packages with auditable, reproducible steps.
  • Use Case: A maintainer upgrades to a new OXC version, updates dependent crates, regenerates bindings, and runs checks to verify no breaking changes.

Quick Start

Follow the upgrade steps exactly as listed in the SKILL.md: start with git checkout main && git pull origin main, then just setup, determine versions, update workspace files, run cargo updates, install dependencies, and run the full build and tests.

Frequently Asked Questions about upgrade-oxc

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

FAQPage Schema
How do I upgrade OXC and fix breaking changes in a Rust workspace?

To upgrade OXC, you update workspace files, run cargo updates, install dependencies via pnpm and npm, regenerate code, and fix breaking changes using a deterministic, step-by-step process.

What tools do I need to run the OXC codegen and upgrade workflow?

You need git, just, cargo, pnpm, and npm installed to execute the deterministic OXC upgrade workflow, regenerate bindings, and ensure reproducible builds across Rust and JavaScript tooling.

How do I update dependent Rust crates after an OXC version bump?

After an OXC version bump, you update dependent crates by modifying workspace files, running cargo updates, and executing code generation to align all packages with the latest dependencies.

Can I use this OXC upgrade workflow for both Rust and JavaScript tooling?

Yes, the OXC upgrade workflow covers end-to-end updates across both Rust and JavaScript tooling, including workspace updates, dependency installation via pnpm and npm, and code generation.

Why does my build fail after updating OXC dependencies?

Builds fail after updating OXC dependencies due to breaking changes in the new version; running the code generation step and applying compatibility fixes across crates resolves these build errors.