claude-skills/

Anthropic公式スキル・プラグインの日本語ディレクトリ

last sync 22h ago
スキルOfficialdesign

📐canva-resize-for-social-media

プラグイン
canva

説明

Canvaのデザインを複数のソーシャルメディアフォーマット(Facebookの投稿、Facebookストーリー、Instagramの投稿、Instagramストーリー、LinkedInの投稿)に一括でリサイズします。 次のような場合に使用: ユーザーが単一のフォーマットに手動でリサイズするのではなく、複数のソーシャルメディアプラットフォーム向けにCanvaのデザインを一度の操作でリサイズしたい場合。

原文を表示

Resize a Canva design into multiple social media formats (Facebook post, Facebook story, Instagram post, Instagram story, LinkedIn post). Use this skill when users want to resize Canva designs specifically for multiple social media platforms in one operation, rather than resizing to a single format manually.

ユースケース

  • 複数のSNS用に一括リサイズしたい
  • 手動リサイズの手間を削減したい

本文(日本語訳)

ソーシャルメディア向け Canva リサイズ

1つの Canva デザインを、複数のソーシャルメディア形式に自動でリサイズします。

概要

このスキルは、1つの Canva デザインから各プラットフォームに最適化されたバージョンを生成することで、マルチプラットフォームへのコンテンツ配信を迅速化します。 対応フォーマットは以下のとおりです:

  • Facebook 投稿
  • Facebook ストーリー
  • Instagram 投稿
  • Instagram ストーリー
  • LinkedIn 投稿

リサイズされたすべてのバージョンには Canva の編集リンクが付与されるため、ユーザーは Canva 上で直接編集またはダウンロードできます。


ワークフロー

ステップ 1: ソースデザインを特定する

ユーザーがリサイズしたい Canva デザインを特定します。指定方法は以下の3通りです:

  1. デザイン ID を直接指定: ユーザーがデザイン ID("D" で始まる)を提供する場合

    • 例: 「デザイン DABcd1234ef をすべてのソーシャルメディア向けにリサイズして」
    • そのデザイン ID を get-design ツールに直接渡してデザイン情報を取得する
  2. デザイン URL を直接指定: ユーザーが Canva デザインのリンクを提供する場合

    • 例: 「https://www.canva.com/design/DABcd1234ef/... をすべてのソーシャルメディア向けにリサイズして」
    • URL からデザイン ID を抽出する(/design/ の直後から、次の / またはクエリパラメータの手前までの部分)
    • 抽出したデザイン ID を get-design ツールに渡す
  3. デザイン名で検索: search-designs ツールを使用し、デザイン名をクエリとして検索する

    • 例: 「Demo Brand Template: Brix&Hart Flyer というデザインをすべてのソーシャルメディア向けにリサイズして」
    • ユーザーが指定した名前・フレーズをそのままクエリとして使用する
    • 複数の候補が見つかった場合は、選択肢を提示してユーザーに選んでもらう
  4. 現在のコンテキスト: 会話の中でユーザーが直前に作成・編集したデザインがある場合は、そのデザイン ID を使用する

実装上の注意: 名前で検索する場合は、デザイン名をそのまま search-designsquery パラメータに渡してください。ツールがデザインタイトルをもとに最適な候補を返します。


ステップ 2: ソースデザインの情報を取得する

get-design ツールにデザイン ID を渡して以下を確認します:

  • デザインが存在し、アクセス可能であること
  • デザインのタイトル(リサイズ後のデザインの命名に使用)
  • デザインタイプの互換性

ステップ 3: プラットフォームとフォーマットを確認する

利用可能なフォーマットをユーザーに提示し、どれを希望するか確認します:

どのプラットフォーム・フォーマット向けにリサイズしますか?

- Facebook 投稿 (1200×630)
- Facebook ストーリー (1080×1920)
- Instagram 投稿 (1080×1080)
- Instagram ストーリー (1080×1920)
- LinkedIn 投稿 (1200×627)

ユーザーが「すべて」または「すべてのソーシャルメディア」と回答した場合は、5つ全フォーマットを使用します。 それ以外の場合は、選択されたフォーマットのみリサイズします。


ステップ 4: 選択されたフォーマットにリサイズする

選択された各フォーマットに対して resize-design ツールを並列で呼び出し、リサイズ処理を実行します。 以下の仕様を正確に使用してください:

利用可能なフォーマットと寸法:

  1. Facebook 投稿: 1200 × 630 ピクセル(カスタム)

    design_type: { type: "custom", width: 1200, height: 630 }
    
  2. Facebook ストーリー: 1080 × 1920 ピクセル(カスタム)

    design_type: { type: "custom", width: 1080, height: 1920 }
    
  3. Instagram 投稿: 1080 × 1080 ピクセル(カスタム)

    design_type: { type: "custom", width: 1080, height: 1080 }
    
  4. Instagram ストーリー: 1080 × 1920 ピクセル(カスタム)

    design_type: { type: "custom", width: 1080, height: 1920 }
    
  5. LinkedIn 投稿: 1200 × 627 ピクセル(カスタム)

    design_type: { type: "custom", width: 1200, height: 627 }
    

注意: Facebook ストーリーと Instagram ストーリーは寸法が同一です。両方のバージョンを作成しますが、サイズが同じであることをユーザーに伝えてください。

エラー処理: リサイズ処理が失敗した場合は、残りのフォーマットの処理を続行し、最後に成功・失敗したフォーマットをまとめて報告してください。


ステップ 5: 編集リンクとともに結果を提示する

ユーザーに包括的な結果を提示します:

以下の内容を含むサマリーを提供してください:

  1. サマリー: 正常に作成されたフォーマットの確認
  2. デザイン編集リンク: リサイズされた各デザインの Canva エディタ URL(Canva 上で直接編集またはダウンロードが可能)
  3. 重複サイズの注意書き: Facebook ストーリーと Instagram ストーリーの寸法が同一であることを明記

表示フォーマットの例:

✅ すべてのソーシャルメディアプラットフォーム向けにデザインをリサイズしました!

編集リンク:

**Facebook 投稿** (1200×630)
- [Canva で編集](edit_url)

**Facebook ストーリー** (1080×1920)
- [Canva で編集](edit_url)

**Instagram 投稿** (1080×1080)
- [Canva で編集](edit_url)

**Instagram ストーリー** (1080×1920)
- [Canva で編集](edit_url)

**LinkedIn 投稿** (1200×627)
- [Canva で編集](edit_url)

注意: Facebook ストーリーと Instagram ストーリーは同じ寸法 (1080×1920) を使用しています。

実装の詳細:

  • 編集リンクは resize-design ツールのレスポンスから取得します(各リサイズデザインの urls.edit_url フィールドを使用)
  • リンクはプレーンテキストではなく、クリック可能な URL として表示してください
  • プラットフォームごとに整理して見やすく表示してください

実装上の主な注意事項

  • 互換性: 現在の MCP ツールで resize-design が利用可能か確認してください。利用できない場合は、このスキルを使用するには現在のホスト上に Canva MCP リサイズツールが必要である旨をユーザーに伝えてください
  • 並列実行: 効率化のため、リサイズ処理は並列で実行してください
  • 命名の一貫性: リサイズ後のデザイン名には、ソースデザインのタイトルにプラットフォーム名のサフィックスを付けてください
  • エラー耐性: 一部の処理が失敗した場合も残りの処理を完了させ、成功・失敗の結果を明確に報告してください
  • ユーザー確認: エラーが発生しない限り、ステップ間でユーザーの承認を求めず、ワークフロー全体を自動で実行してください
  • フォーマットの正確性: 各プラットフォームに対して、上記で指定した正確なピクセル寸法を必ず使用してください
原文(English)を表示

Canva Resize for Social Media

Automatically resize a single Canva design into multiple social media formats.

Overview

This skill enables rapid multi-platform content distribution by taking a single Canva design and creating optimized versions for:

  • Facebook post
  • Facebook story
  • Instagram post
  • Instagram story
  • LinkedIn post

All resized versions are provided with Canva edit links so users can further edit or download them directly from Canva.

Workflow

Step 1: Identify the Source Design

Determine which Canva design the user wants to resize. This can be provided in three ways:

  1. Direct design ID: User provides a design ID (starts with "D")

    • Example: "resize design DABcd1234ef for all social media"
    • Use the design ID directly with get-design tool to retrieve design information
  2. Direct design URL: User provides a Canva design link

    • Example: "resize https://www.canva.com/design/DABcd1234ef/... for all social media"
    • Extract the design ID from the URL (the part after /design/ and before the next / or query parameter)
    • Use the extracted design ID with get-design tool
  3. Search by design name: Use search-designs tool with the design name as the query

    • Example: "resize my Demo Brand Template: Brix&Hart Flyer design for all social media"
    • Use the exact name/phrase the user provides as the search query
    • If multiple matches are found, present options and ask the user to select one
  4. Current context: If the user just created or edited a design in the conversation, use that design ID

Implementation note: When searching by name, pass the design name directly to search-designs as the query parameter. The tool will find the best match based on the design title.

Step 2: Retrieve Source Design Information

Use the get-design tool with the design ID to:

  • Confirm the design exists and is accessible
  • Get the design title (for naming resized versions)
  • Verify design type compatibility

Step 3: Ask Which Platforms and Formats

Present the available formats and ask which ones the user wants:

Which platforms and formats would you like to resize for?

- Facebook post (1200×630)
- Facebook story (1080×1920)
- Instagram post (1080×1080)
- Instagram story (1080×1920)
- LinkedIn post (1200×627)

If the user says "all" or "all social media", use all five. Otherwise, only resize for the ones they select.

Step 4: Resize to Selected Formats

Execute the resize operations in parallel by calling the resize-design tool once for each selected format. Use these exact specifications:

Available formats and dimensions:

  1. Facebook Post: 1200 × 630 pixels (custom)

    design_type: { type: "custom", width: 1200, height: 630 }
    
  2. Facebook Story: 1080 × 1920 pixels (custom)

    design_type: { type: "custom", width: 1080, height: 1920 }
    
  3. Instagram Post: 1080 × 1080 pixels (custom)

    design_type: { type: "custom", width: 1080, height: 1080 }
    
  4. Instagram Story: 1080 × 1920 pixels (custom)

    design_type: { type: "custom", width: 1080, height: 1920 }
    
  5. LinkedIn Post: 1200 × 627 pixels (custom)

    design_type: { type: "custom", width: 1200, height: 627 }
    

Note: Facebook Story and Instagram Story have identical dimensions. Create both versions but inform the user they're the same size.

Error handling: If a resize operation fails, continue with remaining formats and report which formats succeeded and which failed at the end.

Step 5: Present Results with Edit Links

Present comprehensive results to the user:

Provide the user with a summary including:

  1. Summary: Confirm which formats were created successfully
  2. Design edit links: Canva editor URLs for each resized design so users can make further edits or download directly from Canva
  3. Note about duplicates: Mention that Facebook Story and Instagram Story have identical dimensions

Presentation format example:

✅ Successfully resized your design for all social media platforms!

Edit Links:

**Facebook Post** (1200×630)
- [Edit in Canva](edit_url)

**Facebook Story** (1080×1920)
- [Edit in Canva](edit_url)

**Instagram Post** (1080×1080)
- [Edit in Canva](edit_url)

**Instagram Story** (1080×1920)
- [Edit in Canva](edit_url)

**LinkedIn Post** (1200×627)
- [Edit in Canva](edit_url)

Note: Facebook Story and Instagram Story use the same dimensions (1080×1920).

Implementation details:

  • Design edit links come from the resize-design tool response (use the urls.edit_url field from each resized design)
  • Present links as clickable URLs, not just plain text
  • Organize by platform for easy scanning

Key Implementation Notes

  • Compatibility: Check if resize-design is available in the current MCP tools. If not, inform the user that this skill requires the Canva MCP resize tool in the current host
  • Parallel execution: Resize operations should be performed in parallel for efficiency
  • Consistent naming: Use the source design title with platform suffix for resized designs
  • Error resilience: If any operation fails, complete the remaining operations and clearly report what succeeded/failed
  • User confirmation: Do not require user approval between steps - execute the full workflow automatically unless errors occur
  • Format accuracy: Always use the exact pixel dimensions specified above for each platform

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。