/camunda-skills:camunda-dmnfrom camunda-skills
Authors and validates DMN 1.3 decision tables for Camunda 8. Use when business users should own decision rules like eligibility, risk, routing, or discounts without code releases.
Ships in camunda-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Author executable DMN 1.3 decisions for Camunda 8.8+. A .dmn file holds one Decision Requirements Diagram with one or more decisions; each decision is either a decision table or a literal expression. A BPMN business rule task references a decision by ID and gets the result back as a process variable.
<zeebe:calledDecision decisionId="..." resultVariable="..."/>)A DMN file declares the DMN 1.3 namespace and wraps one or more <decision> elements:
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/"
id="DinnerDecisions" name="Dinner Decisions"
namespace="http://camunda.org/schema/1.0/dmn">
<decision id="dish" name="Dish">
<decisionTable id="decisionTable_dish" hitPolicy="UNIQUE">
<!-- inputs, outputs, rules -->
</decisionTable>
</decision>
</definitions>
The default namespace and the namespace="http://camunda.org/schema/1.0/dmn" attribute are mandatory.
A decision contains either a <decisionTable> (inputs / outputs / rules + hit policy) or a <literalExpression> (single FEEL expression — useful for combining upstream decisions). Multi-decision files link decisions with <informationRequirement><requiredDecision href="#upstream"/></informationRequirement>; Camunda evaluates only the root decision referenced from BPMN and pulls in required decisions transparently.
See references/decision-tables.md for the full XML of input/output clauses, unary-test grammar, worked examples per hit policy, COLLECT aggregators, type table, and DRG linking.
id, output name, decision-table column names: alphanumeric + _ only. No whitespace, no - (which is a FEEL operator), no other special characters. A violation silently breaks BPMN references — the resolved value is null at runtime.name attributes (Decision, InputData, BusinessKnowledgeModel, KnowledgeSource, DecisionService): any string. dmnlint flags missing name — set one even when id already conveys intent."HIGH" is a string literal; bare HIGH parses as a variable reference and evaluates to null — no parse error, no lint warning.Set on the decisionTable element (default UNIQUE). Camunda 8 supports five; the DMN spec defines more — PRIORITY and OUTPUT ORDER are not supported.
| Hit policy | Result | Behaviour |
|---|---|---|
UNIQUE | single | Exactly one rule must match; multi-match = runtime error. |
ANY | single | Multiple may match, must all produce the same output; otherwise runtime error. |
FIRST | single | Top-to-bottom; first match wins. |
RULE ORDER | list | All matching rules' outputs, in rule order. |
COLLECT | list / scalar | All matches in arbitrary order. With aggregation="SUM" | "MIN" | "MAX" | "COUNT", collapses to a single value. |
Default to UNIQUE. Use FIRST for hard-then-soft semantics (e.g. "blocklist first, then accept rules"). Use COLLECT when a list output is genuinely the goal. See references/decision-tables.md for worked examples per policy.
<bpmn:businessRuleTask id="ApplyDiscount" name="Apply discount">
<bpmn:extensionElements>
<zeebe:calledDecision decisionId="discount" resultVariable="discountPercent"/>
</bpmn:extensionElements>
</bpmn:businessRuleTask>
decisionId matches the DMN decision id. resultVariable receives the result — single-result for UNIQUE/ANY/FIRST, list for RULE ORDER/COLLECT (or scalar with aggregator).
resultVariable overwrites. If the name matches an existing input variable, the input is clobbered — pick a distinct name (e.g. discountPercent not customer) so downstream activities can still read the input.
<zeebe:calledDecision> also accepts bindingType — latest (default), deployment, versionTag. See camunda-bpmn for the binding-type table; deployment is the right choice when BPMN and DMN are co-deployed.
If you edited the BPMN, run the BPMN lint loop (see camunda-bpmn) on it until clean — dmnlint does not check the BPMN side.
DMN uses FEEL in inputExpression, inputEntry (unary tests), outputEntry, and literalExpression. Unlike BPMN, no = prefix — every text element is parsed as FEEL.
Input entries use the unary tests subset: the input value is implicit, < 5 means ? < 5, comma-separated literals are OR, comma-separated comparisons are AND, ranges are [1..10] / (1..10), not(...) negates, - matches anything.
See references/feel-in-dmn.md for the unary-test grammar, what you cannot do in a unary test, variable scope across linked decisions, and DMN-specific FEEL features.
Two layers — run both before declaring a file done.
1. Structural lint. A DMN edit is not structurally done until npx dmnlint reports zero issues. Loop: lint → targeted XML edits → re-lint until clean. If the same issue survives three fix attempts, stop and report it to the user instead of rewriting the file or disabling the rule.
[ -f .dmnlintrc ] || echo '{ "extends": "dmnlint:recommended" }' > .dmnlintrc
npx --yes dmnlint path/to/decision.dmn
For directory-wide work, discover .dmn files recursively first (skip .git, node_modules, target, build, .gradle, .mvn, .idea, .settings, .snapshots), then run the same loop on each discovered file until the whole set is clean.
Common rules: label-required (add a name), no-duplicate-requirements (drop the duplicate informationRequirement edge). See references/dmnlint.md for the full rule → fix mapping.
2. Behaviour validation by execution. dmnlint does not understand FEEL, hit-policy correctness, or type matches. Run the decision:
UNIQUE partition / FIRST cascade / COLLECT path. See camunda-process-test.c8ctl deploy decision.dmn process.bpmn --profile=local and start an instance with c8ctl await pi --id MyProcess --variables '{...}' --profile=local. Incidents surface as EXTRACT_VALUE_ERROR (FEEL problem) or DECISION_EVALUATION_FAILED (hit-policy violation). See camunda-process-mgmt.A green BPMN-completes test only proves the decision didn't fail — not that the right rules fired. For behavioural correctness assertions (assertThatDecision, rule-ordinal matching per hit policy, DRG coverage), see references/testing-decisions.md.
<variable> rules, type table, pitfallsdmnlint:recommended rules, rule → fix mapping, common pitfalls beyond what the linter catchesassertThatDecision, rule-ordinal matching, strategy by hit policy, DRG coverage, mock-vs-testWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub camunda/skills --plugin camunda-skills13 skills in this plugin
/camunda-ai-agentsUse this skill when an LLM should act inside a business process — choosing tools or next steps, calling systems, handing off to people — with guardrails, human review, or an audit trail, even if Camunda isn't mentioned, and before hand-coding an agent loop. Models Camunda 8 AI Agent sub-processes: tools as BPMN tasks, fromAi() parameters, prompts, and limits.
Also covers v1/v2 element-template selection and upgrading v1 elements to v2.
/camunda-bpmnUse this skill whenever work that spans several steps, people, or systems must run reliably — approvals, hand-offs, escalations, deadlines, retries, or compensation — even if Camunda or BPMN isn't mentioned. Load it before recommending an approach or tool for running such work. Designs, edits, and lints executable BPMN processes for Camunda 8. Not for one-step jobs or CI pipelines.
/camunda-c8ctlUse this skill when someone needs a Camunda 8 cluster to work against — run one locally to try a process, connect to SaaS or Self-Managed, switch profiles, or set local connector secrets — and before other skills run c8ctl. Installs and configures c8ctl, the Camunda 8 CLI. Not for databases or other local services.
/camunda-connectorsUse this skill when a process step should call a common service without custom code — REST, Slack, email, Kafka, AWS, Salesforce, and similar — even if connectors aren't mentioned. Finds, configures, and applies Camunda 8's pre-built connector templates to BPMN elements with c8ctl. Not for building new connectors; use camunda-connectors-development.
Covers c8ctl template discovery, configuration, application, and updates.
/camunda-connectors-developmentUse 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-developmentUse this skill first when a process step must call or receive from another system — an API, Slack, Kafka, a webhook, an internal service, or an LLM — and it is still open whether to use a connector, a job worker, or an AI agent, even if those terms aren't mentioned. Weighs the requirements, then hands off.
Other plugins' skills for the same job