← Quinn adatlapja
AgentQuinn

Skill · 1.0.0 verzió

Keretrendszerek és függőségek korszerűsítése

Telepített verziókból kiindulva frissít függőségeket, megőrizve a külső könyvtárhatárok fontos működését.

dependency-framework-modernization

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha eltérő alapértékű vagy hibakezelésű könyvtárra váltasz.

Miben segít neked?

  • Leltározza az elavult API-kat és hivatalos migrációs követelményeket.
  • Megfelelő meglévő határok között tartja a szolgáltatóspecifikus módosításokat.
  • Ellenőrzi a dátumokat, hibákat, visszatérési értékeket és kompatibilitást.

Például ezt kérheted

Tervezz dátumkönyvtár-frissítést időzóna- és óraátállítási összehasonlítással, külön jelezve a működésváltozásokat. A támogatott időzónák óraátállítási határán hasonlíts dátumokat. Az eltérő időtartamról vagy megjelenített napról kiadás előtt szülessen kifejezett döntés.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

Dependency & Framework Modernization

Modernizing language syntax, framework conventions or third-party dependencies requires grounding every change in the actual installed versions and official migration guides — never guessing APIs from memory or mixing incompatible generational patterns.

1. Version & Deprecation Discovery

Before touching code for an upgrade or modernization task:

  1. Inspect manifests and lockfiles: read package.json + lockfile, composer.json + composer.lock, Cargo.toml, pyproject.toml, go.mod or compiler configs (tsconfig.json, php.ini, target runtime settings) to verify exact installed versions.
  2. Inventory deprecated usage: search the codebase for deprecated API calls, legacy lifecycle hooks, outdated configuration keys, polyfills and custom monkey-patches.
  3. Consult official version migration guides: verify exact breaking changes, changed default options, altered return types and subtle behavioral shifts between the source and target versions.

2. Wrapping Third-Party Boundaries

When upgrading a widely called third-party SDK, HTTP client, ORM helper, validation library or date/crypto utility:

  • Isolate vendor specifics behind an internal adapter: if 60 files call a third-party library directly with vendor-specific options, first introduce or tighten a thin internal wrapper so vendor API churn is contained to one boundary.
  • Preserve behavioral edge cases across library swaps:
    • Check timezone, locale and daylight-saving semantics when modernizing date/time libraries.
    • Check error throwing vs. status-code resolving (e.g., fetch vs. axios on 4xx/5xx responses, timeout cancellation and retry semantics).
    • Check serialization edge cases (undefined vs. null, BigInt, Date formatting, decimal precision).

3. Phased Modernization Execution

  • Separate dependency bumps from unrelated refactoring: do not combine a major framework upgrade, a directory reorganization and business-rule changes in the same step.
  • Bridge compatibility first:
    • Upgrade to the latest minor release of the current major version and resolve all deprecation warnings while existing tests pass.
    • Where supported, enable compatibility flags or dual-syntax bridges so modules can be migrated in small, reviewable batches.
  • Prefer deterministic codemods and AST rules for mechanical changes: when a framework or language change is purely syntactic across many files, apply consistent transformations and verify every diff rather than hand-editing inconsistently.
  • Coordinate with technology specialists: when modernizing framework-specific patterns (such as reactive state, ORM queries, mobile native bridges or desktop IPC), align the target idiom with the corresponding framework specialist.

4. Post-Upgrade Verification

  • Run the full typecheck, linter, unit/integration test suite and production build — dev-mode bundlers often hide resolution or tree-shaking issues that fail in production builds.
  • Verify runtime startup, configuration loading and at least one end-to-end execution path exercising the modernized dependency.

Csomagban lévő fájlok 1

  • SKILL.md