Channels Destinations 标志

Channels Destinations

组织
contentful
channels-destinations

Set up and manage Contentful Channels, Destinations, and Destination Nodes through the Destinations Management API. Use for creating or updating channel contracts, destination properties, destination maps, experience/folder/redirect nodes, assigning experiences, routing and path configuration, publishing, unpublishing, migration, or deletion. Verify the current API schema and permissions before acting; use this skill instead of guessing endpoints or payloads.

概览

发布者contentful
代码仓库skills
技能名称channels-destinations
星标数
41
复刻数
3
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 contentful 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Channels Destinations AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/contentful/skills/tree/main/skills/channels-destinations
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/contentful/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/channels-destinations .claude/skills/channels-destinations
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Channels Destinations,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Channels Destinations。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Channels Destinations 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Channels, Destinations, and Nodes

Use the Destinations Management API first. Treat the live API reference as authoritative; bundled guidance is an execution checklist, not a substitute for checking the current contract. Runtime observations in the references are target-specific; re-check them against the current target before writing.

Read-only fast path

For list, lookup, or tree-only requests, use the relevant read endpoint, follow pagination to completion, filter results as needed, and skip setup and lifecycle steps.

Before making changes

  1. Clarify the intended outcome and identify the exact organization, Channel, space, environment, Destination, and target Experiences. Never infer IDs or production/staging intent from display names alone.
  2. Pick the tool path: use curl through a shell/exec tool when one is available. If not, make the same calls through the contentful-mcp MCP tools. If neither can reach the Destinations Management API, tell the user and stop (see If the API is unreachable). Never invent a tool.
  3. Read the current API operation/schema for every operation you will use. Follow its authentication, content type, version-header, pagination, and response requirements. Never expose or echo access tokens.
  4. Read existing state before writing: list Channels, list Destinations in the exact environment, and fetch the Destination tree before changing nodes. Match by stable IDs; check for duplicates and dependencies.
  5. Show the proposed resource hierarchy and material properties before applying a multi-resource setup. Ask for missing user-owned choices (for example routing on/off, node paths/types, assigned Experiences, or target environment) rather than silently choosing.

Model and scope

  • A Channel is organization-scoped. It declares Destination-level property definitions and node-property definitions; a Channel can define at most one Path node property.
  • A Destination is scoped to a space and environment and implements one Channel. Its Channel is fixed after creation. Each supplied Destination property must match a property ID and value type declared by that Channel.
  • A Destination contains a tree of Destination Nodes. Use the tree endpoint to inspect/enumerate nodes; do not assume a standalone node-list endpoint exists.
  • Node variants are DestinationExperienceNode, DestinationFolderNode, and DestinationRedirectNode. Experience nodes serve assigned Experiences; folders group nodes; redirects point to a target. Read the current schema for exact link and property shapes.

Setup workflow

Consult API operations and lifecycle and Domain rules and setup checklist as needed.

  1. Plan the contract. Capture Channel purpose, property IDs/names/types, and whether paths are needed. Add a Path node property only when path-based routing is intended. Distinguish Channel properties (required configuration values for each Destination) from node properties (per-node values).
  2. Create or reuse the Channel. Check for an existing equivalent Channel first. Create/update only the intended Channel. Re-read it and validate property IDs are unique, types are supported, node-property names are unique, and no more than one Path property exists.
  3. Create or reuse the Destination. A draft Channel is sufficient to create a draft Destination. Publish the Channel only when the user wants the Destination or its nodes published, and before publishing those resources. Create the Destination in the exact space/environment, supply all required Channel properties with matching types, then re-read it. Do not silently change the Channel association of an existing Destination.
  4. Build the map. Fetch the tree before each structural plan. Create nodes using the explicit node type; attach a parent when needed. Include every required node property declared by the Channel. For experience nodes, resolve the exact Experience and confirm its status before planning publication. For redirects, resolve and validate the target from the live tree/API.
  5. Validate before publish. Read the Channel, Destination, every ancestor, and the assigned Experience or redirect target. Confirm required prerequisites are published before sending a node publish; a draft Experience or parent can produce the misleading 422 "Some of the referenced entities do not exist." Do not publish prerequisites without authorization. Also check path uniqueness/shape, assignments, inbound dependencies, and the affected subtree. Confirm the application—not this data model—implements HTTP routing, redirect status codes, target Experience resolution, navigation ordering, and localization behavior.
  6. Verify. Re-fetch the Channel, Destination, and tree after writes. After node deletion, re-read the tree, GET every deleted node ID expecting 404, and confirm intended survivors remain. Report IDs, scope, relationships, status, verification reads, and gaps; a write response alone is not proof of success.

Changes, publishing, and deletion

  • Use the current sys.version/version header as required. On a version conflict, re-read the resource, compare the latest state with the intended change, then re-plan using the returned version; never blindly retry or overwrite concurrent edits.
  • Keep draft setup separate from release. Preview exact targets and blast radius, and get explicit confirmation for publish, unpublish, deletion, live-route changes, or broad Channel changes unless the user already authorized that exact action and scope.
  • Publish in dependency order: Channel, Destination, then parents before children; publish an assigned Experience before its Experience Node. Before each node publish, confirm the Channel and Destination are published and every ancestor is published. For an Experience, check that its live sys.localeStatus is published; confirm the field against the current target schema. Redirect-target published-state requirements were not separately verified in live testing, so check the current contract rather than assuming cascade behavior. Do not publish missing prerequisites without authorization. Use explicit publish calls and verify resulting state.
  • Hard precondition—Destination unpublish: Before any Destination unpublish call, read the tree. If any node is published, do not send the Destination unpublish request, even if the user asked to take the Destination offline; that request does not authorize taking individual node routes offline. List the affected nodes leaf-first and ask for confirmation to unpublish those nodes. After authorized node unpublishes, re-read the tree; call Destination unpublish only when it shows zero published nodes. The live API rejected Destination unpublish while published nodes remained.
  • Node unpublish: descendant-cascade behavior is unverified. Unpublish leaf-first and re-read the tree; do not rely on cascade behavior.
  • Deletion: inspect dependencies and inbound redirects first. The live API rejected Destination deletion while nodes remained (DestinationHasNodes); remove nodes explicitly, leaf-first, unpublishing each published node first, then delete the Destination. Remove or migrate dependent Destinations before deleting a Channel; the Channel must also be unpublished before deletion. Do not assume deleting a node removes descendants; unless the current contract confirms otherwise, delete explicitly bottom-up. Plan removal/migration of redirects pointing into the affected subtree before deleting targets.
  • Do not assume UI-only bulk/cascade options exist in the API. Verify equivalent API behavior before using them.

If the API is unreachable

If neither a shell/exec tool nor a contentful-mcp tool can reach the Destinations Management API, tell the user the API can't be reached and stop. Do not guess at Channel, Destination, or tree state, and do not fabricate API responses, IDs, permissions, or publish status. If the user asks for a plan anyway, label it not executed and not based on live state, and list the reads that must run before any of it is applied.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Channels Destinations AI 技能有什么作用?

Set up and manage Contentful Channels, Destinations, and Destination Nodes through the Destinations Management API. Use for creating or updating channel contracts, destination properties, destination maps, experience/folder/redirect nodes, assigning experiences, routing and path configuration, publishing, unpublishing, migration, or deletion. Verify the current API schema and permissions before acting; use this skill instead of guessing endpoints or payloads.

为什么在 TypingMind 中使用 Channels Destinations?

因为您只需安装一次,就能搭配任何模型使用。Channels Destinations 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Channels Destinations?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/contentful/skills/tree/main/skills/channels-destinations。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Channels Destinations?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Channels Destinations 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Channels Destinations 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Channels Destinations AI 技能免费吗?

是的。contentful 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇