用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lazarv/rolldown --skill upgrade-oxc命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | upgrade-oxc |
| description | Upgrade oxc, run codegen, and fix any breaking changes. |
CRITICAL: Run each step sequentially ONE AT A TIME. Wait for each command to FULLY COMPLETE before proceeding to the next step. DO NOT run multiple commands in parallel - they have dependencies on each other.
git checkout main && git pull origin mainjust setupnpm view @oxc-project/types version - note the versionpnpm-workspace.yaml: update @oxc-project/runtime, @oxc-project/types, oxc-minify, oxc-parser, oxc-transform to the version from step 3 (use =x.y.z format)cargo search oxc_allocator --limit 1 - note the versioncargo search oxc_resolver --limit 1 - note the versionCargo.toml: update oxc, oxc_allocator, oxc_ecmascript, oxc_minify_napi, oxc_parser_napi, oxc_transform_napi, oxc_traverse to version from step 5; update oxc_resolver, oxc_resolver_napi to version from step 6cargo update oxc oxc_allocator oxc_ecmascript oxc_minify_napi oxc_parser_napi oxc_transform_napi oxc_traverse oxc_resolver oxc_resolver_napi oxc_sourcemap oxc_indexpnpm install - install updated npm packagescargo check - if there are errors, fix all breaking changes before proceeding. Common breaking changes include renamed types, changed method signatures, or removed APIs. Study the error messages carefully and update the code accordingly.just update-generated-codejust test-updatejust uedjust roll - run the full build, lint, and test suite. Fix any remaining breaking changes or test failures before proceeding.git status --short && git diff --stat - verify expected files changed