upgrade-agent-native
하는 일
이 스킬은 지원되는 업그레이드 명령을 써서 오래된 Agent-Native 앱이나 워크스페이스를 최신 패키지로 올리는 방법을 설명합니다. 업데이트 후 앱이 깨진 개발자를 위한 스킬입니다.
사용하는 경우
- ✓오래된 Agent-Native 앱이 최신 핵심 패키지에서 실행되어야 할 때.
- ✓핵심 패키지 업그레이드로 앱이 깨졌을 때.
- ✓오래된 브랜치를 실행하려고 프레임워크 패키지를 패치하고 싶은 유혹이 들 때.
스킬 링크
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/upgrade-agent-native/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“핵심 패키지를 업데이트한 뒤 제 오래된 Agent-Native 앱이 시작되지 않습니다. 올바른 방법으로 업그레이드하도록 도와주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 마이그레이션 변경을 먼저 미리 보고, 검토된 업그레이드를 적용한 뒤, 스캐폴드 스킬을 새로 고치고, 프레임워크 패키지가 아니라 앱 자체 코드만 고칩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Upgrade Agent-Native
Rule
When an older Agent-Native app/branch needs to run on current packages, use
agent-native upgrade. Never "fix" upgrade breakage with
pnpm patch, pnpm patch-commit, pnpm.patchedDependencies,
pnpm.overrides, patchedDependencies, resolutions, local patch artifacts,
or edits under node_modules/@agent-native/* — especially not against
@agent-native/core or @agent-native/dispatch.
Why
Agents often respond to a failed core bump by inventing framework patches and dispatch behavior overrides. That hides the real app-level break, drifts from upstream, and makes the next upgrade worse. The supported path is bump → install → refresh scaffold skills → verify, then fix app code only.
How
For the Core 0.198.0 package and import migration, follow the Core 0.198.0 upgrade runbook. It covers the preview and apply commands, Toolkit and optional peer packages, codemod limits, and a symbol-level path map.
Preview migration codemods first
npx @agent-native/core@0.198.0 upgrade --codemods --dry-run--dry-runpreviews the diff without writing. Do not manually edit imports before applying the codemod; the migration manifest is the source of truth for renamed specifiers and symbols.Apply the reviewed upgrade and codemods
npx @agent-native/core@0.198.0 upgrade --codemodsUse the versioned CLI while the app still has Core 0.196 or another older Core version: its local CLI carries an older migration manifest. After Core 0.198.0 is installed,
npx agent-native upgrade --codemods(orpnpm exec agent-native upgrade --codemodsfrom an already-installed CLI) uses the matching manifest. Either invocation applies supported codemods and runs the upgrade, including dependency installation, scaffold skill refresh, and typecheck when available. Do not run a second upgrade command just to apply the codemods.Afterward, run
npx agent-native doctorfrom the app root. Its defaultmigration-manifestandfeature-dependencieschecks report stale imports and missing optional peers detected from local settings. Confirm remote deployment settings separately because Doctor cannot inspect them.What it does:
- Blocks (unless
--force) when@agent-native/*overrides/patches exist - Rewrites non-local
@agent-native/*dependency pins tolatest - Runs the package manager install
- Rewrites those pins to the exact versions the install resolved, so the committed manifest names one release instead of re-resolving next install
- Runs
skills update scaffold --project - Runs
typecheckwhen the project has that script
- Blocks (unless
Pull upstream template changes (optional, separate from the bump)
agent-native upgrademoves package versions. It never touches files that were copied out of a template at scaffold time, so template fixes and improvements do not arrive with a bump.agent-native template status # recorded ref vs latest, drift counts agent-native template diff # what upstream changed, read-only agent-native template sync # 3-way merge it into the appsyncdefaults to the ref matching the installed@agent-native/core, so run it afterupgrade. It merges per file against a pristine baseline stored inrefs/agent-native/template-baseline/<app-path>; files upstream did not touch are left alone, and real collisions get conflict markers. After resolving markers, runagent-native template accept— the baseline deliberately does not advance past an unresolved merge.Apps scaffolded before provenance existed have no baseline. Create one with
agent-native template baselinebefore the first sync.If upgrade or typecheck fails
- Read the concrete error
- Fix app source, actions, config, or env — not framework packages
- Re-run
agent-native upgradeorpnpm typecheck - Stop and ask the user if you cannot fix the app-level error
Intentional app-level UI customization is a separate workflow. Read
customizing-agent-nativewhen the product needs to own a selectively copied component; do not use that path to reproduce framework runtime behavior or hide version skew.Dry-run / partial runs
agent-native upgrade --dry-run agent-native upgrade --skip
자주 묻는 질문
프레임워크 패키지를 패치해야 하나요?
아니요. 패치, 오버라이드, node_modules 안의 편집을 쓰지 말라고 이 스킬은 말합니다.
첫 단계는 무엇인가요?
적용하기 전에 드라이 런으로 코드모드를 미리 봅니다.
Core 0.198.0 마이그레이션은 어떤 가이드가 다루나요?
이 스킬은 Core 0.198.0 업그레이드 런북을 가리킵니다.
상세 정보
작성자의 원본 설명
Bring an older Agent-Native app or workspace current. Use when updating @agent-native/core, fixing a broken upgrade, or when tempted to patch or override core/dispatch packages to make an old branch run.
repo: BuilderIO/agent-native
인기도
- GitHub 스타
- 7.6k
- 순위
- #13188
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
design-exploration
7.6k에이전트가 여러 UI 디자인 방향을 나란히 보여 주고, 사용자가 하나를 고르면 그 디자인을 다듬도록 돕습니다.
visual-edit
7.6k에이전트가 실행 중인 로컬 앱을 시각 편집기에 열어, 실제 화면을 함께 검토하고 편집하도록 돕습니다.
turn-into-app
7.6k워크플로, 스프레드시트 또는 프로젝트를 데이터가 채워진 세련된 시각 앱으로 바꾸고, 컨트롤 뒤에서 에이전트가 작업하도록 합니다.
visual-plan
7.6k일반 텍스트 계획을 다이어그램, 파일 맵, 코드 조각, 열린 질문이 담긴 대화형 시각 계획으로 바꿔 줍니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.