Canvaの既存デザインを編集します。テキストの変更や修正、画像や動画の置き換え・挿入・削除、テキストの形式変更(サイズ、太さ、スタイル、色、配置、リスト形式、行間)、要素の位置変更やサイズ変更、タイトルの更新ができます。 次のような場合に使用: ユーザーがCanvaの特定デザイン内のコンテンツを変更、編集、更新、修正、翻訳、置き換え、または形式変更したい場合。 このスキルは、他のCanvaスキル(フィードバック反映など)が基盤として利用する安全な編集機能です。
Make edits to an existing Canva design — change or fix text, replace/insert/delete images and videos, reformat text (size, weight, style, color, alignment, lists, line height), reposition or resize elements, and update the title. Use when the user wants to change, edit, update, fix, translate, replace, or reformat content in a specific Canva design. This is the safe edit engine that other Canva skills (e.g. implement-feedback) build on.
既存の Canva デザインに編集を適用するための、標準的かつ安全な方法です。 デザインを変更するすべての Canva スキルは、次のプロトコルに厳密に従う必要があります: トランザクション開始 → 操作の実行 → コミット(承認あり)
変更はコミットされるまで下書き状態であり、コミットされない場合は完全に失われます。
Canva:start-editing-transaction — design_id を渡します。返却された transaction_id と pages 配列を必ず記憶してください。どちらも後続の呼び出しで必要です。ここで返されたサムネイルは必ずユーザーに表示してください。Canva:perform-editing-operations — 編集を適用します。transaction_id、前のレスポンスから得た pages 配列、変更する最初のページの page_index、そして operations 配列を渡します。可能な限り、複数の操作を1回の呼び出しにまとめてください。Canva:commit-editing-transaction — 保存します。後述の承認ゲートを参照してください。コミット後、その transaction_id は無効になります。新たに編集する場合は新しいトランザクションが必要です。Canva:cancel-editing-transaction — 保存せずに下書きを破棄します(例: ユーザーがプレビューを拒否した場合、またはデザインの確認のみを目的としてトランザクションを開始した場合)。perform-editing-operations の操作)replace_text(要素全体)、find_and_replace_text(部分文字列)format_text): フォントサイズ、ウェイト(通常/太字)、スタイル(通常/斜体)、色、配置、行の高さ、下線、取り消し線、リンク、リストのレベル/マーカーupdate_fill(画像/動画の置き換え)、insert_fill(画像/動画の追加)、delete_elementposition_element、resize_elementupdate_titleupdate_autofill_field(固定ページのデザインのみ)リクエストされた変更が「できないこと」に該当する場合は、Canva エディターで手動で行う必要があることをユーザーに伝えてください。回避策を試みないでください。
一部のページは is_responsive: true として返される場合があります。
そのようなページでは、以下の操作のみ許可されます:
update_title、replace_text、update_fill、delete_element、find_and_replace_text
perform-editing-operations を呼び出す前に、pages 配列を確認してください。
レスポンシブ ページに対してサポートされていない操作(例: format_text、position_element、resize_element、insert_fill)が含まれている場合は、呼び出しを行わないでください。
代わりに、その操作が当該ページでサポートされていないことをユーザーに伝え、代替手段を提案してください。
commit-editing-transaction は変更を永続化します。
コミットを実行する前に、何が変更されたか(およびプレビュー サムネイル)を正確にユーザーに提示し、明示的な承認を得なければなりません。
例: 「こちらがプレビューです。このデザインへの変更を保存しますか?」
明確な「はい」の返答を待ってください。
スキルを組み合わせる場合の注意: 一括変更に対して事前に1回の承認を取得するスキル(例:
canva-implement-feedback)では、その承認をコミットへの承認として扱い、改めて確認を求めないでください。そのスキル独自の確認ルールに従ってください。上記のゲートは、直接的なアドホック編集に対するデフォルトの動作です。
canva.link/...)→ Canva:resolve-shortlink で URL を取得します。/design/ 以降のセグメント)を抽出します。D で始まる)→ そのまま使用します。検索は不要です。Canva:start-editing-transaction を呼び出します。
サムネイルを表示します。
返却されたコンテンツを使用して、対象とする正確な element_id を特定してください。
(確認のみが目的だった場合は、cancel-editing-transaction を呼び出して終了してください。)
ユーザーのリクエストを具体的な操作に変換します。
find_and_replace_text の文字列が複数の箇所またはコンテキストに一致する可能性がある場合は、先にスコープを確認してください(どの箇所を対象とするかユーザーに尋ねてください)。
可能であれば、すべての操作を1回の perform-editing-operations 呼び出しにまとめてください。
生成されたサムネイルと、変更内容を平易な言葉でまとめたリストを表示します。
承認を求め、commit-editing-transaction を呼び出します。
編集リンクを共有してください。
transaction_id と pages 配列を必ず記憶して再利用してください。delete_element、大規模な find_and_replace_text)を実行する前に、スコープを確認してください。perform-editing-operations 呼び出しを優先してください。The canonical, safe way to apply edits to an existing Canva design. Every Canva skill that mutates a design should follow this exact protocol: start a transaction → perform operations → commit (with approval). Changes are draft-only until committed and are PERMANENTLY LOST if not committed.
Canva:start-editing-transaction — pass the design_id. Remember the returned transaction_id and the pages array; both are required by later calls. ALWAYS show the user the thumbnail(s) returned here.Canva:perform-editing-operations — apply edits. Pass the transaction_id, the pages array from the previous response, the page_index of the first page being changed, and an operations array. Batch multiple operations into a single call wherever possible.Canva:commit-editing-transaction — save. See the approval gate below. After committing, the transaction_id is invalid; a new edit needs a new transaction.Canva:cancel-editing-transaction — discard the draft instead of saving (e.g. the user rejects the preview, or you opened a transaction only to inspect the design).perform-editing-operations)replace_text (whole element), find_and_replace_text (substring)format_text): font size, weight (normal/bold), style (normal/italic), color, alignment, line height, underline, strikethrough, links, list level/markerupdate_fill (replace image/video), insert_fill (add image/video), delete_elementposition_element, resize_elementupdate_titleupdate_autofill_field (fixed-page designs only)When a requested change is in the CANNOT list, tell the user it must be done manually in the Canva editor — don't attempt a workaround.
Some pages come back marked is_responsive: true. On those pages, ONLY these operations are allowed:
update_title, replace_text, update_fill, delete_element, find_and_replace_text.
Before calling perform-editing-operations, check the pages array. If any operation targets a responsive page with an unsupported op (e.g. format_text, position_element, resize_element, insert_fill), do NOT make the call — tell the user that operation isn't supported on that page and offer an alternative.
commit-editing-transaction makes changes permanent. You MUST show the user exactly what changed (and the preview thumbnail) and get explicit approval before committing — e.g. "Here's the preview. Save these changes to your design?" Wait for a clear yes.
Note for composing skills: a skill that already collects a single up-front approval for a batch of changes (e.g.
canva-implement-feedback) should treat that approval as covering the commit and NOT ask again. Follow that skill's own confirmation rules; the gate above is the default for direct, ad-hoc edits.
canva.link/...) → Canva:resolve-shortlink to get the URL./design/).D) → use directly; do NOT search.Call Canva:start-editing-transaction. Show the thumbnail(s). Use the returned content to locate the exact element_ids you need to target. (If you only needed to look, call cancel-editing-transaction and stop.)
Translate the user's request into concrete operations. Confirm scope first when a find_and_replace_text string could match in multiple places or contexts — ask which instances they mean. Batch all operations into one perform-editing-operations call when you can.
Show the resulting thumbnail and a plain-language list of what changed. Ask for approval, then commit-editing-transaction. Share the edit link.
transaction_id and pages array within a transaction.delete_element, large find_and_replace_text), confirm scope before performing.perform-editing-operations call over many small ones.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。