本文へスキップ
Skillpedia
ドキュメント作成77k · #1942

Contentful Automation

できること

このツールは、コンテンツ管理システム(CMS)であるContentfulの管理を手伝います。すべてのスペースを一覧で確認したり、スペースの詳細を取得したり、スペースの名前を変更したりできます。

使う場面

  • ✓Contentfulのすべてのプロジェクトを確認したいとき。
  • ✓特定のプロジェクトの詳細を知りたいとき。
  • ✓Contentfulのプロジェクト名を変更したいとき。

スキルのリンク

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/contentful-automation/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/contentful-automation/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Contentfulのスペースをすべて一覧にして、それぞれの作成日を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールはお使いのContentfulアカウントに接続します。特定のコマンドを使って、スペースの一覧を取得したり、スペースの詳細情報を取得したり、名前を更新したりします。変更を行うには、正しいスペースのバージョンを使うことが重要です。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Contentful Automation

Manage your Contentful headless CMS spaces directly from Claude Code. List spaces, retrieve metadata, and update space configurations without leaving your terminal.

Toolkit docs: composio.dev/toolkits/contentful


Setup

  1. Add the Composio MCP server to your configuration:
    https://rube.app/mcp
    
  2. Connect your Contentful account when prompted. The agent will provide an authentication link. Ensure your access token has space management scopes.

Core Workflows

1. List All Spaces

Discover all Contentful spaces accessible to your authenticated account. This is typically the first operation since most other actions require a space_id.

Tool: CONTENTFUL_LIST_SPACES

Key parameters:

  • limit (1-1000) -- maximum number of spaces to return (default: 100)
  • skip -- number of spaces to skip for pagination
  • order -- sort by field, e.g., sys.createdAt or -sys.createdAt for descending

Example prompt: "List all my Contentful spaces"


2. Get Space Details

Retrieve detailed metadata for a specific space including its current sys.version, which is required for updates.

Tool: CONTENTFUL_GET_SPACE

Key parameters:

  • space_id (required) -- the ID of the space to retrieve (alphanumeric, 1-64 chars)

Example prompt: "Get details for Contentful space abc123def"


3. Update Space Name

Update the name of a specific space. Requires the current version number for optimistic locking to prevent concurrent modification conflicts.

Tool: CONTENTFUL_UPDATE_SPACE

Key parameters:

  • space_id (required) -- ID of the space to update
  • name (required) -- new name for the space (1-255 chars)
  • version (required) -- current space version from sys.version (must be > 0)

Example prompt: "Rename Contentful space abc123def to 'Production Content Hub'"


4. Audit Space Inventory

Combine space listing and detail retrieval to audit your organization's Contentful spaces.

Tools: CONTENTFUL_LIST_SPACES then CONTENTFUL_GET_SPACE

Workflow:

  1. List all spaces to get IDs and names
  2. Fetch details for each space to get version info, creation dates, and metadata

Example prompt: "Audit all Contentful spaces -- list them with their creation dates and current versions"


Known Pitfalls

  • Version conflicts on update: CONTENTFUL_UPDATE_SPACE requires the latest sys.version from CONTENTFUL_GET_SPACE. If someone else modified the space between your read and write, the update will fail with a version conflict. Always fetch the space immediately before updating.
  • Pagination for many spaces: CONTENTFUL_LIST_SPACES uses limit and skip parameters. When you have many spaces, iterate by incrementing skip until no more results are returned to avoid missing spaces.
  • Scope limitations: These tools only manage space-level metadata (names). They cannot create or modify entries, content types, or assets within a space.
  • Auth/permissions mismatch: Updates via CONTENTFUL_UPDATE_SPACE will fail if your token lacks space management scopes, even if reads via CONTENTFUL_GET_SPACE succeed. Verify your token has write permissions.
  • Space ID format: The space_id must match the pattern ^[a-zA-Z0-9-_.]{1,64}$. Invalid characters will be rejected.

Quick Reference

Tool Slug Description
CONTENTFUL_LIST_SPACES List all spaces accessible to your account
CONTENTFUL_GET_SPACE Retrieve detailed metadata for a single space
CONTENTFUL_UPDATE_SPACE Update the name of a space (requires version)

Powered by Composio

よくある質問

Contentfulの「スペース」とは何ですか?

スペースは、コンテンツを入れておく容器のようなものです。テキストや画像などの情報を整理する、独立したプロジェクトと考えるとわかりやすいでしょう。

このツールでコンテンツを作成したり編集したりできますか?

いいえ。このツールは、一覧表示や名前変更など、スペース全般の設定を管理するためのものです。コンテンツそのもの(テキストや画像など)は扱いません。

名前の変更が失敗したのはなぜですか?

同じ時間に別の人がスペース名を変更した場合や、正しいバージョン番号を使わなかった場合に起こることがあります。変更を正しく反映させるには、最新のバージョンが必要です。

詳細

作者による元の説明

Automate headless CMS operations in Contentful -- list spaces, retrieve space metadata, and update space configurations through the Composio Contentful integration.

repo: ComposioHQ/awesome-claude-skills

人気

GitHubのスター
77k
ランキング
#1942
ライセンス
—
更新日
2026/9/18

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル