← ClaudeAtlas

claude-opus-4-5-migrationlisted

將提示詞和程式碼從 Claude Sonnet 4.0、Sonnet 4.5 或 Opus 4.1 遷移至 Opus 4.5。當使用者想要更新其程式碼庫、提示詞或 API 呼叫以使用 Opus 4.5 時使用。處理模型字串更新和針對已知 Opus 4.5 行為差異的提示詞調整。不會遷移 Haiku 4.5。
aiskillstore/marketplace · ★ 329 · API & Backend · score 79
Install: claude install-skill aiskillstore/marketplace
# Opus 4.5 遷移指南 | Opus 4.5 Migration Guide 從 Sonnet 4.0、Sonnet 4.5 或 Opus 4.1 一次性遷移至 Opus 4.5。 One-shot migration from Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5. ## 遷移工作流程 | Migration Workflow 1. 搜尋程式碼庫中的模型字串和 API 呼叫 Search codebase for model strings and API calls 2. 將模型字串更新為 Opus 4.5(參見下方平台特定字串) Update model strings to Opus 4.5 (see platform-specific strings below) 3. 移除不支援的 beta 標頭 Remove unsupported beta headers 4. 添加設定為 `"high"` 的 effort 參數(參見 `references/effort.md`) Add effort parameter set to `"high"` (see `references/effort.md`) 5. 總結所有已進行的變更 Summarize all changes made 6. 告訴使用者: Tell the user: > 「如果您在使用 Opus 4.5 時遇到任何問題,請告訴我,我可以幫助調整您的提示詞。」 > "If you encounter any issues with Opus 4.5, let me know and I can help adjust your prompts." ## 模型字串更新 | Model String Updates 識別程式碼庫使用的平台,然後相應地替換模型字串。 Identify which platform the codebase uses, then replace model strings accordingly. ### 不支援的 Beta 標頭 | Unsupported Beta Headers 如果存在 `context-1m-2025-08-07` beta 標頭,請將其移除——Opus 4.5 尚不支援此功能。留下註解說明: Remove the `context-1m-2025-08-07` beta header if present—it is not yet supported with Opus 4.5. Leave a comment noting this: ```python # Note: 1M context beta (context-1m-2025-08-07) not yet supported with Opus 4.5 # 注意:1M 上下文 beta(context-1m-2025-08-07)尚不支援 Opus 4.5 ``` ### 目標模型字串(Opus 4.5)| Target Model Strings (Opus 4.5) | 平台 Platform | Opus 4.5 模型字串 Model String | |---------------|-------------------------------| | Anthropic API (1P) | `claude-