मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)7.6k · #13188

upgrade-agent-native

यह क्या करती है

यह स्किल बताती है कि समर्थित upgrade कमांड से पुराने agent-native ऐप या वर्कस्पेस को मौजूदा packages पर कैसे लाएं। यह उन डेवलपर्स के लिए है जिनका ऐप अपडेट के बाद टूट जाता है।

कब इस्तेमाल करें

  • ✓जब पुराने agent-native ऐप को मौजूदा core packages पर चलना है।
  • ✓जब core package का अपग्रेड ऐप को तोड़ दे।
  • ✓जब पुरानी शाखा चलाने के लिए फ़्रेमवर्क packages पैच करने का मन करे।

Skill का लिंक

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/upgrade-agent-native/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/upgrade-agent-native/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“अपडेट के बाद मेरा पुराना agent-native ऐप शुरू नहीं हो रहा। इसे सही तरीके से अपग्रेड करने में मदद कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट पहले माइग्रेशन बदलावों का प्रीव्यू देता है, फिर जांचा हुआ अपग्रेड लागू करता है, scaffold skills ताज़ा करता है, और फिर केवल ऐप का अपना कोड ठीक करता है, फ़्रेमवर्क packages कभी नहीं।

तकनीकी सामग्री (मूल 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.

  1. Preview migration codemods first

    npx @agent-native/core@0.198.0 upgrade --codemods --dry-run
    

    --dry-run previews 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.

  2. Apply the reviewed upgrade and codemods

    npx @agent-native/core@0.198.0 upgrade --codemods
    

    Use 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 (or pnpm exec agent-native upgrade --codemods from 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 doctor from the app root. Its default migration-manifest and feature-dependencies checks 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 to latest
    • 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 typecheck when the project has that script
  3. Pull upstream template changes (optional, separate from the bump)

    agent-native upgrade moves 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 app
    

    sync defaults to the ref matching the installed @agent-native/core, so run it after upgrade. It merges per file against a pristine baseline stored in refs/agent-native/template-baseline/<app-path>; files upstream did not touch are left alone, and real collisions get conflict markers. After resolving markers, run agent-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 baseline before the first sync.

  4. If upgrade or typecheck fails

    • Read the concrete error
    • Fix app source, actions, config, or env — not framework packages
    • Re-run agent-native upgrade or pnpm 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-native when the product needs to own a selectively copied component; do not use that path to reproduce framework runtime behavior or hide version skew.

  5. Dry-run / partial runs

    agent-native upgrade --dry-run
    agent-native upgrade --skip
    
अक्सर पूछे जाने वाले सवाल

क्या मुझे फ़्रेमवर्क packages पैच करने चाहिए?

नहीं। स्किल कहती है कि patches, overrides या node_modules के भीतर बदलाव न करें।

पहला कदम क्या है?

लागू करने से पहले dry run से codemods का प्रीव्यू देखें।

Core 0.198.0 माइग्रेशन कौन सी गाइड कवर करती है?

स्किल Core 0.198.0 अपग्रेड runbook की ओर इशारा करती है।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

design-exploration

7.6k

यह आपके एजेंट को UI के कई डिज़ाइन विकल्प साथ-साथ दिखाने, आपकी पसंद चुनवाने और फिर चुने डिज़ाइन को सुधारने में मदद करती है।

डिज़ाइनइंटरफ़ेस (UI/UX)

visual-edit

7.6k

यह आपके एजेंट को चल रहे लोकल ऐप को विज़ुअल एडिटर में खोलने देती है, ताकि आप उसकी असली स्क्रीन एक साथ देखकर संपादित कर सकें।

डिज़ाइनइंटरफ़ेस (UI/UX)

turn-into-app

7.6k

यह किसी वर्कफ़्लो, स्प्रेडशीट या प्रोजेक्ट को भरी हुई स्क्रीन वाले विज़ुअल ऐप में बदलती है, जिसके कंट्रोल के पीछे एजेंट काम करता है।

कोडिंगसामान्य कोडिंग

visual-plan

7.6k

यह सादे टेक्स्ट वाली योजना को डायग्राम, फ़ाइल नक्शों, कोड अंश और खुले सवालों वाली इंटरैक्टिव विज़ुअल योजना में बदलती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

मिलती-जुलती skills