لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

Deprecation and Migration

آزاد تازه‌وارد تاییدشده امن

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام می‌دهد. (شامل ۱۰ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: deprecation-and-migration
description: Plan or implement a safe API, feature, data, or schema migration. Use when retiring a live contract; not for ordinary code cleanup.
---

# Deprecation and Migration

Move consumers from an existing contract to a replacement without assuming removal is safe. Adapted from Addy Osmani's `deprecation-and-migration` workflow; see the bundled license and repository third-party notice.

## Route precisely

- Use for replacing or retiring a live API, feature, dependency, stored shape, or database schema with possible consumers.
- Use `code-simplification` for behavior-preserving local refactors and `code-review` for a read-only diff review. Use `vet-dependency` when the central decision is whether a replacement package meets the project's contract.
- A request for a plan permits planning and read-only inspection; execution of destructive or external steps follows the user's authorization and repository rules.

## Inventory the contract

1. Read repository instructions, current state, migration history, deployment topology, and declared compatibility promises.
2. Identify producers, consumers, stored data, public routes or symbols, operational jobs, and usage evidence. Search plausible alternate paths before declaring a consumer absent. Mark inaccessible downstream consumers unknown.
3. State what the replacement preserves, changes, or intentionally drops. Identify whether old and new versions must coexist during rollout.

## Design the transition

1. Choose phases that keep each deployed combination valid. For schemas, consider expand, backfill, switch readers and writers, then contract; use a different sequence when the actual datastore or deployment model requires it.
2. Define migration and validation for existing data, idempotency and restart behavior for backfills, and failure recovery. A down migration is useful only when it can safely restore the previous contract; otherwise specify forward recovery and the point of no return.
3. Define notices or migration instructions for affected consumers and a measurable removal gate. Do not equate a zero-result repository search with zero external use.
4. Separate destructive removal from the replacement rollout when coexistence or rollback requires it. Verify the resolved target and ownership before any deletion or move.

## Published Go modules, when applicable

For published Go modules, inventory exported symbols, interface implementations, import paths, required Go versions, and observable error/serialization behavior. Adding a method to an exported interface can break downstream implementations; a local green build is insufficient. Account for semantic import versioning and path-specific exceptions when planning a new major module. Check the published artifact without relying on local `replace` directives or workspace state. An existing version-pinned API compatibility tool can supplement consumer evidence but does not prove behavioral compatibility. Published tags must remain immutable; a retraction advises module tooling about a bad version rather than deleting cached copies or migrating users automatically. Keep tagging, pushing, and GoReleaser publication outside a planning or inspection request.

These Go compatibility checks adapt [spf13's release guidance](https://github.com/spf13/go-skills/blob/9ac6eca43161163bb21621a520a57df50d5ad464/go-release/SKILL.md), under the bundled `LICENSE.spf13-go-skills`.

## Verify and report

Test or inspect the old/new compatibility combinations that actually occur in deployment. Record the consumer inventory, phase sequence, data and rollback evidence, tests run, removal condition, and unresolved external dependencies. Do not claim the migration is complete until the observed consumer and data conditions meet the stated gate.


— ‹guest · 2026-12-05› —

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
پایگاه داده
✦ Pro

Index Refresh

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام م…

⚡ /index-refresh SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۶/۱۰۰ ★ ۱۱۹,۴۷۸
پایگاه داده
✦ Pro

Spanner Relational-to-Property-Graph Schema Conversion

«Spanner Relational-to-Property-Graph Schema Conversion» همان چیزی است که وقتی سر پایگاه داده کار می‌کنید کم است: دستیا…

⚡ /spanner-relational-to-graph SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۳
پایگاه داده
✦ Pro

Spanner Graph Query Tuning Best Practices

«Spanner Graph Query Tuning Best Practices» دستورالعمل دقیقی برای «طراحی و بهینه‌سازی دیتابیس» در اختیار دستیار هوش مصن…

⚡ /spanner-graph-query-tuning SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۳
پایگاه داده
✦ Pro

CuTe DSL version changes

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام م…

⚡ /cute-dsl-deprecation-migration SKILL.md
Claude / Claude CodeOpenAI Codex
۹۶/۱۰۰ ★ ۴,۳۰۶
پایگاه داده
✦ Pro

DOCA Telemetry

دستورالعمل اجرایی آماده برای انجام دقیق کارهای پایگاه داده بدون تکرار پرامپت‌های طولانی. (شامل ۲۷ گام عملی · سازگار با …

⚡ /doca-telemetry SKILL.md
Claude / Claude CodeOpenAI Codex
۹۳/۱۰۰ ★ ۴,۳۰۶
پایگاه داده
✦ Pro

Durable Objects

«Durable Objects» یک مهارت آماده در حوزهٔ پایگاه داده است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «طراحی و بهینه‌سازی دیتا…

⚡ /durable-objects SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۳,۴۳۱