Camunda Connectors Development 标志

Camunda Connectors Development

组织
camunda
camunda-connectors-development

Use this skill when no pre-built connector fits and processes need a reusable integration — a proprietary or internal API, custom auth, a shared retry policy, or an inbound webhook, subscription, or poller that starts processes. Builds custom Camunda 8 connectors as a JSON template on a protocol connector or in Java with the Connectors SDK.

概览

发布者camunda
代码仓库skills
技能名称camunda-connectors-development
星标数
26
复刻数
5
附带文件
7
许可协议Apache-2.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 7 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Camunda Connectors Development。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Camunda Connectors Development

Build a custom Camunda 8 connector when the OOTB catalog doesn't cover the integration. Two distinct paths share the same element-template surface but differ in whether you write Java.

Prerequisites

  • Camunda 8.8+ cluster reachable for testing (local c8run, SaaS, or Self-Managed — see camunda-c8ctl)
  • Path A: none beyond the cluster — the JSON template is hand-authored, using c8ctl element-template get <id> to fetch the base OOTB template as a starting point
  • Path B: Java 17+, Maven 3.8+ (or Gradle equivalent), and a JVM hosting option for the resulting connector JAR — see camunda-development for installing the JDK / Maven toolchain locally

Cross-References

  • camunda-development: Use first to decide whether building a connector is the right shape at all (vs. an OOTB connector or a job worker)
  • camunda-connectors: Use for discovering and applying OOTB connectors — the catalog you're extending here
  • camunda-job-workers: Use when the integration logic belongs in application code rather than a reusable connector (Path C in the decision matrix; workers are outbound-only)
  • camunda-bpmn: Use for authoring the BPMN element the connector attaches to (service task for outbound, start/intermediate/boundary event or receive task for inbound)
  • camunda-feel: Use for the FEEL expressions that pre-fill template properties and bind input/output mappings
  • camunda-process-test: Use for end-to-end tests that drive a process through a custom connector

When to write a custom connector

Walk camunda-development first. The short version of the matrix as it applies here:

  • OOTB connector covers it → use the OOTB template. Stop.
  • Single API call over a common protocol (REST, SOAP, GraphQL, Kafka, RabbitMQ, AWS SQS/SNS, …) and Java is acceptable → Path A: customise a JSON template on the existing protocol connector. No Java, no extra deployment.
  • Multi-step orchestration, proprietary protocol, non-HTTP I/O, or significant business logic and you have a Java stack → Path B: custom Java connector via the Connectors SDK.
  • Non-Java SDK, or the logic belongs inside your existing application → write a job worker. Workers cannot serve inbound triggers.

Outbound vs. inbound

The two directions are not symmetric — an inbound connector is the only way an external event drives a process from outside the engine. Workers cannot replace inbound; the connector framework owns it.

  • Outbound: process token reaches a service task, the connector calls the external system, the result flows back as variables. Path A and Path B both support outbound.
  • Inbound: external system fires (HTTP request, message-queue delivery, scheduled poll). The connector correlates the event to a process — starting a new instance (start event) or continuing a waiting instance (intermediate catch, boundary event, message start, receive task). Path B only — Path A's protocol templates layer on outbound protocol connectors; the inbound webhook connector has its own OOTB template you customise directly.

Three inbound flavours, each owned by a different SDK shape:

  • Webhook — the runtime exposes an HTTP endpoint per deployed process; external systems POST to it.
  • Subscription — the runtime opens a connection to a message broker and consumes messages (Kafka, RabbitMQ, AWS SQS, …).
  • Polling — the runtime periodically calls an external system on the process's behalf.

See references/connector-sdk-inbound.md for the lifecycle (activate / deactivate) and the correlateWithResult contract that funnels events into the engine.

Pick a path

PathWhen to pick
Path A — JSON-only template on a protocol connector (ref)Outbound integration that is a single call over a supported protocol (REST/SOAP/GraphQL/Kafka/RabbitMQ/AWS messaging). Domain-friendly UI in Modeler without writing Java. Ships as a single JSON file in the repo.
Path B — Custom Java connector via the SDK ([refs: outbound, inbound])Anything Path A can't reach: multi-step orchestration, proprietary protocols, non-HTTP I/O, inbound triggers (webhook/subscription/polling), or logic that needs reuse across processes as a versioned artefact. Requires Java 17+ and a hosting decision.

A JSON template is also the natural way to give a job worker a polished Modeler UI when Path A's protocol overlap isn't there and Path B is too heavy — hand-author the template using references/element-template-json.md and bind it to the worker's zeebe:taskDefinition type. That's still a worker, not a connector.

Element templates — the shared surface

Both paths produce an element template JSON file. The schema is the same; what differs is how the file gets written:

  • Path A: fetch the protocol connector's published template with c8ctl element-template get <id> as the starting point, then customise — hide infrastructure properties (URL, method, auth) with "type": "Hidden", pre-fill them with FEEL, and expose only the domain-specific inputs.
  • Path B: annotate the connector class with @ElementTemplate and let the Maven plugin generate the JSON during build (references/element-template-generator.md), or hand-author it.

Specialising any OOTB template, not just protocol connectors

The "hide infrastructure, expose only domain inputs" pattern works for any OOTB template, not just the generic protocol ones. As long as the customised template still writes the input mappings the underlying job worker expects (the zeebe:taskDefinition type and zeebe:input shape are the data contract), the worker sees the same payload — only the Modeler UI differs.

Concrete examples in camunda/connectors:

  • connectors/openai/element-templates/openai-connector.json — full OpenAI template; a specialised version could hide the system prompt or model picker and expose only domain inputs.
  • connectors/github/element-templates/github-connector.json — specialised UI over the underlying job worker.
  • connectors/github/element-templates/github-webhook-connector-receive.json — the generic webhook inbound connector exposed as a GitHub-specific webhook UI.
  • connectors/hugging-face/element-templates/hugging-face-connector.json — Hugging Face-shaped UI over an underlying REST call.

Use c8ctl element-template get <id> to pull the base template, then hide / hardcode / rename properties while preserving the bindings the worker reads.

references/element-template-json.md is the schema reference for both — property types, binding types, FEEL/constraints/condition/generatedValue features, and the template variants for each BPMN attachment.

Field-ordering rule: any property used in another property's FEEL value must appear earlier in the properties array. Out-of-order references silently evaluate to null. The same rule applies to Path A customisation and to hand-authored Path B templates.

Shared facilities (Path A and Path B)

  • Secrets — element templates and Java code resolve {{secrets.NAME}} placeholders at execution time. Never store secrets in the BPMN, the template defaults, or hard-coded strings. The standalone runtime reads from SECRET_* environment variables by default (8.9+).
  • Intrinsic functions — template defaults and FEEL inputs can call intrinsic functions like getText, base64, and createLink to transform values before the connector receives them.
  • Camunda Documents — connectors that produce or consume binary content (PDFs, images) handle Camunda Documents natively; workers must wire that plumbing themselves.
  • Result variable / result expression / error expression — both paths surface the standard Output mapping group (resultVariable, resultExpression) and the Error handling group (errorExpression) via element template headers. See references/element-template-json.md for the binding shapes.

Registration and hosting

Path B has a hosting decision that Path A doesn't — the JAR has to run somewhere. Four options, covered in references/registration-and-hosting.md:

  • SaaS managed runtime — Camunda runs the standard connectors; custom JARs aren't supported on the managed runtime, so Path B on SaaS requires Hybrid mode (below).
  • Self-Managed standalone — the camunda/connectors:X.Y.Z Docker image with custom connector JARs mounted into its app directory.
  • Self-Managed embedded — Spring Boot application with the spring-boot-starter-camunda-connectors starter; your application hosts both connectors and your own business code.
  • Hybrid — the standalone runtime runs in your environment but connects to a SaaS cluster. Required when SaaS is the engine but the connector needs to run inside your perimeter (private network access, on-prem dependencies, custom JARs).

SPI vs. Spring Bean registration is independent of the hosting choice but constrains it. SPI registration writes a META-INF/services/... file (default behaviour of the Maven plugin) and works in the standalone runtime. Spring Bean registration (@Component on the connector class) needs the embedded Spring Boot runtime and requires <writeMetaInfFileGeneration>false</writeMetaInfFileGeneration> on the Maven plugin to suppress the SPI file — both mechanisms registering the same class causes duplicate discovery.

Hybrid templates

When Path B will run via the standalone runtime against a SaaS cluster (Hybrid hosting), the Maven plugin's <generateHybridTemplates>true</generateHybridTemplates> flag emits a parallel *-hybrid.json template per connector. The hybrid template flips the connector's task type to a job-worker style binding the SaaS engine can pick up and route to the standalone runtime. Without it, deploying the standard template to SaaS produces a runtime that can never receive jobs.

Common pitfalls

  • Inventing template IDs or property names from training memory — verify with c8ctl element-template search "<keyword>" and c8ctl element-template get-properties <id> against the live OOTB catalog before naming any ID, group, or property in code or docs.
  • Forgetting <writeMetaInfFileGeneration>false</writeMetaInfFileGeneration> when using Spring Bean registration — the SPI file and @Component register the same class twice; the runtime instantiates two instances and the second silently shadows the first.
  • Field-ordering bugs — a property whose FEEL value references a sibling declared after it evaluates to null at runtime. The Modeler doesn't flag this; the connector just gets an empty input.
  • Skipping Hybrid templates when running standalone against SaaS — the standard template's task type isn't routable to a standalone runtime from SaaS. Set <generateHybridTemplates>true</generateHybridTemplates> and deploy the -hybrid variant.
  • Path A on a non-supported protocol — Path A is only as broad as the protocol-connector catalog (REST, SOAP, GraphQL, Kafka, RabbitMQ, AWS messaging). A "custom binary protocol over TCP" template has nothing to layer on; go to Path B.
  • Treating the inbound webhook as a job worker — inbound connectors are activated at process-definition deploy and deactivated when the deployment is removed; there is no per-instance job to poll for. The lifecycle is activate(InboundConnectorContext) / deactivate(), not handler-per-job.

References

For detail, read from references/:

  • protocol-connector-templates.md — Path A walkthrough: fetching the base template via c8ctl, hiding URL/method/auth, FEEL pre-fill, custom groups, a REST Countries worked example, and a brief link to template-generator tools
  • connector-sdk-outbound.md — OutboundConnectorProvider + @Operation (modern), OutboundConnectorFunction (legacy), @Variable / @Header, ConnectorException, Jakarta Validation
  • connector-sdk-inbound.md — InboundConnectorExecutable, three flavours, lifecycle, correlateWithResult / CorrelationResult
  • element-template-json.md — schema reference: top-level fields, property types, binding types, property features, template variants per BPMN attachment
  • element-template-generator.md — Maven plugin configuration, @ElementTemplate annotation, generateHybridTemplates, versionHistoryEnabled, writeMetaInfFileGeneration
  • registration-and-hosting.md — SPI vs Spring Bean registration; SaaS / SM standalone / SM embedded / Hybrid hosting models

附带文件

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

常见问题

Camunda Connectors Development AI 技能有什么作用?

Use this skill when no pre-built connector fits and processes need a reusable integration — a proprietary or internal API, custom auth, a shared retry policy, or an inbound webhook, subscription, or poller that starts processes. Builds custom Camunda 8 connectors as a JSON template on a protocol connector or in Java with the Connectors SDK.

为什么在 TypingMind 中使用 Camunda Connectors Development?

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

如何在 TypingMind 中安装 Camunda Connectors Development?

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

哪些 AI 模型可以使用 Camunda Connectors Development?

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

Camunda Connectors Development 可以搭配多少个 AI 模型使用?

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

Camunda Connectors Development AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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