claude-skills/

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

last sync 22h ago
スキルOfficialproductivity

🏢update-company

プラグイン
carta-crm

説明

Carta CRM内の既存の企業レコードを更新します。 次のような場合に使用: ユーザーが「会社を更新する」「会社を編集する」「会社の詳細を更新する」「会社名を変更する」「会社のウェブサイトを更新する」「会社のフィールドを更新する」「会社にタグを追加する」または「/update-company」と言った場合。 企業IDまたは企業名を受け付けます(IDが指定されていない場合は検索を実行)。 明示的に指定されたフィールドのみが変更され、それ以外のフィールドはすべてそのまま保持されます。

原文を表示

Updates an existing company record in the Carta CRM. Use this skill when the user says things like "update a company", "edit company", "update company details", "change company name", "update company website", "update company fields", "add a tag to company", or "/update-company". Accepts a company ID or name (will search if no ID provided). Only the fields explicitly provided are changed — all other fields are left untouched.

ユースケース

  • 会社の情報を更新するとき
  • 会社名を変更するとき
  • 会社のウェブサイトを更新するとき
  • 会社にタグを追加するとき
  • 会社の特定フィールドを編集するとき

本文(日本語訳)

概要

既存の企業情報を部分的に更新します。 指定されたフィールドのみが変更されます — これは完全な置き換えではなく、部分更新です。 まず企業IDを特定し、変更内容を収集してから、更新ツールを呼び出してください。


ステップ 1 — 企業IDの特定

ユーザーが企業IDを直接指定している場合は、そのIDを使用してステップ 3 へ進んでください。

ドメインが指定されている場合は、まず以下で検索します:

mcp__carta_crm__fetch_company_by_domain({ domain: "<domain>" })

名前またはキーワードが指定されている場合は、まず以下で検索します:

mcp__carta_crm__search_companies({ query: "<name>", limit: 10 })

複数の企業が一致した場合は、一覧を提示してどれを更新するかユーザーに確認してください (各企業の名前とIDを表示すること)。


ステップ 2 — 更新内容の収集

ユーザーに変更したい内容を確認します:

  • name — 企業名
  • image — 企業ロゴのURL
  • fields — フィールドIDをキーとするカスタムフィールドの値(例: website、location、industry、about、tags)

カスタムフィールドを更新したいがフィールドIDが不明な場合は、先にスキーマを取得します:

mcp__carta_crm__get_company_custom_fields()

ユーザーがすでにメッセージ内で変更内容を指定している場合は、 再度確認せずに直接その内容を抽出してください。

重要: 明示的に変更対象として指定されたフィールドのみを含めること。それ以外はすべて省略してください。


ステップ 3 — 企業情報の更新

以下を呼び出します:

mcp__carta_crm__update_company({
  id: "<company id>",
  name: "<updated name>",
  image: "<logo url>",
  fields: {
    "<field_id>": "<value>"
  }
})

更新しないトップレベルのキーはすべて省略してください。


ステップ 4 — 結果の報告

成功した場合は、変更内容のサマリーを以下の形式で返します:

"企業 {name} を更新しました(ID: {id})。変更内容: [変更されたフィールドの一覧]"

エラーが発生した場合は、エラーメッセージを表示し、以下を提案します:

  • 企業IDが正しいか確認する — /search-companies を実行して検索する
  • カスタムフィールドIDが有効かどうか確認する

複数企業の一括更新

同じ変更を複数の企業に適用する場合は、各企業に対してステップ 1 およびステップ 3〜4 を繰り返してください。 最後に以下の形式でサマリーを表示します:

"N 件の企業を更新しました: [企業名の一覧]"

原文(English)を表示

Overview

Partially update an existing company. Only fields provided are modified — this is a partial update, not a replacement. First resolve the company ID, collect what to change, then call the update tool.

Step 1 — Resolve the company ID

If the user provided a company ID directly, use it and skip to Step 3.

If a domain was given, look it up first:

mcp__carta_crm__fetch_company_by_domain({ domain: "<domain>" })

If a name or keyword was given, search first:

mcp__carta_crm__search_companies({ query: "<name>", limit: 10 })

If multiple companies match, present the list and ask the user to confirm which one to update (show name and ID for each).

Step 2 — Collect what to update

Ask the user what they want to change:

  • name — company name
  • image — company logo URL
  • fields — custom field values keyed by field ID (e.g. website, location, industry, about, tags)

If the user wants to update custom fields but isn't sure of field IDs, fetch the schema first:

mcp__carta_crm__get_company_custom_fields()

If the user has already specified what to change in their message, extract it directly without re-asking.

Important: Only include fields that are explicitly being changed. Omit everything else.

Step 3 — Update the company

Call:

mcp__carta_crm__update_company({
  id: "<company id>",
  name: "<updated name>",
  image: "<logo url>",
  fields: {
    "<field_id>": "<value>"
  }
})

Omit any top-level key that is not being updated.

Step 4 — Report result

On success, respond with a summary of what changed:

"Company {name} updated (ID: {id}). Changed: [list of changed fields]"

On error, show the error message and suggest:

  • Verify the company ID is correct — run /search-companies to find it
  • Check that custom field IDs are valid

Updating multiple companies

If the user wants to apply the same change to multiple companies, repeat Steps 1 and 3–4 for each. Summarize at the end:

"Updated N companies: [list of names]"

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