Contentful Automation
Skill này làm gì
Công cụ này giúp bạn quản lý hệ thống nội dung Contentful (CMS). Bạn có thể xem tất cả không gian làm việc, lấy chi tiết về từng cái và thậm chí đổi tên một không gian.
Khi nào nên dùng
- ✓Khi bạn muốn xem tất cả dự án của mình trên Contentful.
- ✓Khi bạn cần biết chi tiết về một dự án cụ thể.
- ✓Khi bạn muốn đổi tên một dự án trên Contentful.
Liên kết skill
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/contentful-automation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Liệt kê tất cả không gian làm việc Contentful của tôi và cho tôi biết ngày tạo của từng không gian.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kết nối với tài khoản Contentful của bạn. Nó dùng các lệnh cụ thể để liệt kê không gian làm việc, lấy thông tin chi tiết hoặc đổi tên. Điều quan trọng là phải có đúng phiên bản của không gian làm việc khi thực hiện thay đổi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Add the Composio MCP server to your configuration:
https://rube.app/mcp - 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 paginationorder-- sort by field, e.g.,sys.createdAtor-sys.createdAtfor 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 updatename(required) -- new name for the space (1-255 chars)version(required) -- current space version fromsys.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:
- List all spaces to get IDs and names
- 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_SPACErequires the latestsys.versionfromCONTENTFUL_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_SPACESuseslimitandskipparameters. When you have many spaces, iterate by incrementingskipuntil 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_SPACEwill fail if your token lacks space management scopes, even if reads viaCONTENTFUL_GET_SPACEsucceed. Verify your token has write permissions. - Space ID format: The
space_idmust 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
Câu hỏi thường gặp
“Space” trong Contentful là gì?
Space giống như một thùng chứa nội dung. Bạn có thể coi nó như một dự án riêng biệt để sắp xếp văn bản, hình ảnh và thông tin khác.
Tôi có thể tạo hoặc chỉnh sửa nội dung bằng công cụ này không?
Không, công cụ này chỉ dùng để quản lý thiết lập chung của không gian, như liệt kê hoặc đổi tên. Nó không xử lý nội dung (văn bản, hình ảnh, v.v.).
Vì sao lần đổi tên của tôi thất bại?
Điều này có thể xảy ra nếu người khác đổi tên không gian cùng lúc, hoặc bạn không dùng đúng số phiên bản. Công cụ cần phiên bản mới nhất để thay đổi được thực hiện đúng.
Chi tiết
Mô tả gốc của tác giả
Automate headless CMS operations in Contentful -- list spaces, retrieve space metadata, and update space configurations through the Composio Contentful integration.
Độ phổ biến
- Sao GitHub
- 77k
- Vị trí xếp hạng
- #1942
- Giấy phép
- —
- Cập nhật
- 18/9/2026
Bình luận
- …
Thêm skill từ kho mã này
artifacts-builder
77kGiúp agent của bạn xây dựng giao diện người dùng phức tạp. Dùng công nghệ hiện đại để tạo trang web tương tác phong phú.
brand-guidelines
77kGiúp agent của bạn áp dụng màu sắc và phông chữ thương hiệu chính thức cho tài liệu. Giữ bản sắc trực quan cho mọi nội dung cần đúng phong cách công ty.
canvas-design
77kGiúp agent của bạn tạo tác phẩm nghệ thuật gốc dạng .png và .pdf. Dùng khi cần poster, tranh nghệ thuật hoặc thiết kế tĩnh khác.
changelog-generator
77kGiúp agent của bạn tạo ghi chú phát hành dành cho người dùng từ các commit mã. Biến thông tin kỹ thuật thành văn bản dễ hiểu.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.