ideogram-upgrade-migration

v2026.09.24

Upgrade an Ideogram adapter against current OpenAPI and endpoint contracts while preserving rollback. Use when moving versions, fields, or transport behavior without redesigning the product workflow. Trigger with "upgrade Ideogram API", "check Ideogram schema drift", or "migrate an Ideogram endpoint".

GitHub
安装命令
npx skhub add jeremylongshore/ideogram-upgrade-migration
Markdown
SKILL.md

Ideogram Contract Upgrade

Overview

Move a bounded adapter contract to a current Ideogram route without mixing the change with a broad product migration. Diff OpenAPI and endpoint documentation, update owned types and fixtures, run shadow comparisons, and preserve an explicit traffic rollback.

Prerequisites

  • Current adapter SHA, endpoint inventory, target contract, consumers, and accountable owner.
  • Captured sanitized fixtures and compatibility requirements.
  • Canary budget, traffic control, storage parity, and rollback deadline.

Current Contract

The current surface spans V4, P-Image, V3, outcome-focused tools, custom training, and routes labeled Legacy Endpoints. V4 generation uses endpoint-specific multipart forms; text_prompt and json_prompt are mutually exclusive, and current V4 FLASH support must not be inferred from V3 examples.

Authentication

Keep the same server-side Api-Key boundary unless a documented first-party auth change is part of the reviewed diff. Never copy production credentials or payloads into migration fixtures.

Instructions

  1. Inventory current routes, methods, fields, enums, errors, async states, safety fields, and downstream storage assumptions.
  2. Retrieve current OpenAPI and endpoint docs, then classify additive, changed, deprecated, legacy, and undocumented differences.
  3. Update owned types and route adapters while preserving unknown fields needed for drift detection.
  4. Build sanitized before-and-after fixtures for success, unsafe output, validation, throttling, capacity, webhook, polling, and URL expiry.
  5. Run offline contract tests and a staging shadow that does not double-publish or overwrite assets.
  6. Canary a bounded live slice within an approved credit ceiling and compare status, latency, safety, output count, and storage outcomes.
  7. Promote only after convergence; retain the prior route and state reconciliation until the rollback window closes.

Tool Discipline

Use Read, Glob, and Grep for routes, schemas, consumers, and fixtures. Use Write and Edit for approved adapter, test, and migration documentation changes. Do not change live traffic or run parallel paid generation without approval.

Approval Boundaries

Require owners for endpoint choice, compatibility exceptions, model or rendering changes, extra spend, safety differences, and production cutover. Removing a legacy route requires proof that no consumer or in-flight generation depends on it.

Error Handling

  • Stop when the target schema is undocumented or response safety fields cannot be reconciled.
  • Do not coerce a V3 enum into V4 merely because names look similar.
  • On canary divergence, halt target traffic, preserve identifiers, and reconcile stored assets before rollback.

Output

Return source and target contracts, diff classes, changed files, test matrix, shadow and canary metrics, spend, unresolved drift, traffic state, and rollback receipt. Exclude content, credentials, and URLs.

Examples

  • Replace a legacy /generate adapter with V4 multipart behind a feature flag.
  • Reject a migration that blindly carries FLASH into the current V4 request.

Validation

Re-run contract, consumer, storage, and rollback tests against immutable SHAs. Verify the deployed traffic split and confirm no duplicate objects, orphaned generations, or retained temporary URLs remain.

Resources

  • Current first-party evidence map — use the dated endpoint, webhook, billing, team, and training links as the contract index for this workflow.
  • Recheck the endpoint-specific page and current OpenAPI description before relying on an enum, limit, beta feature, or lifecycle claim.
  • Record live observations as environment-specific evidence, not as universal vendor guarantees.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/.curated/ideogram-upgrade-migration

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8