AIKit Skills
AIKit ships four Claude Code slash commands that automate the full process development lifecycle — from natural language description to deployed, running process.
Installation
Section titled “Installation”casen skills installCopies the skill files into .claude/commands/ in the current project directory.
Once installed, they appear in Claude Code’s slash command picker.
# Reinstall or overwrite existing skillscasen skills install --forceThe skills require the BPMNKit AIKit MCP server. Make sure .claude/mcp.json is present
in your project (created automatically by casen skills install).
/implement
Section titled “/implement”End-to-end process implementation from a natural language description.
/implement an invoice approval process for accounts payable/implement employee onboarding with Okta provisioning and Jira ticket creation/implement a supplier contract review workflow with DocuSign e-signatureWhat it does:
- Calls
pattern_list— checks for a matching domain pattern - Calls
bpmn_create— generates the BPMN process diagram - Calls
worker_listandworker_scaffold— wires existing workers or scaffolds new ones - Calls
bpmn_validate— checks for errors and pattern violations - Calls
bpmn_simulate— reports worker coverage - Presents a summary and asks where to deploy
Output:
BPMN file: invoice-approval.bpmnPattern used: invoice-approval
Workers: ✓ reused: bpmnkit:llm:1 + scaffolded: workers/validate-invoice/, workers/trigger-payment/
Validation: 0 errors, 1 warningWorker coverage: 4/4 service tasks
Deploy to local reebe, deploy to Camunda 8, or skip?See AI-Driven Implementation for a full walkthrough.
/review
Section titled “/review”Validate an existing BPMN file and get a structured findings report.
/review invoice-approval.bpmn/review path/to/process.bpmnWhat it does:
- Calls
bpmn_validateon the file - Groups findings by severity: errors, warnings, info
- Shows element IDs and fix suggestions for each finding
- Offers to apply auto-fixable issues
Example output:
Errors (1): - [Task_1] Service task has no error boundary event (required for external calls) → Add an error boundary event and connect it to an error end event
Warnings (2): - [Gateway_1] Gateway has no default flow - [Process_1] No timer event on long-running tasks
Auto-fixable: 0Analyse a BPMN process: structure, worker coverage, and scenario suggestions.
/test invoice-approval.bpmnWhat it does:
- Calls
bpmn_readto understand the process structure - Calls
bpmn_simulateto check worker coverage - Calls
worker_listto compare against available workers - Suggests test scenarios derived from the diagram structure
Example output:
Process structure: Service tasks: validate-invoice, check-duplicate, notify-approver, trigger-payment Gateways: approval decision (exclusive), amount threshold (exclusive) Events: start, timer (SLA 48h), end
Worker coverage: 4/4 ✓ validate-invoice → workers/validate-invoice/ ✓ check-duplicate → bpmnkit:llm:1 ✓ notify-approver → bpmnkit:email:send:1 ✓ trigger-payment → workers/trigger-payment/
Suggested scenarios: Happy path: invoice submitted → validated → approved → payment triggered Edge: invoice rejected at approval → rejection notification Edge: SLA timeout fires before approval Edge: duplicate invoice detected/deploy
Section titled “/deploy”Deploy a BPMN process to local reebe or Camunda 8.
/deploy invoice-approval.bpmnWhat it does:
- Calls
bpmn_validate— shows errors, optionally blocks deployment - Asks: deploy to local reebe or Camunda 8?
- Calls
bpmn_deploywith the chosen target - Reminds you to start workers if any are scaffolded
Targets:
- Local reebe — deploys via
ZEEBE_ADDRESS(defaulthttp://localhost:26500). Start reebe first:casen reebe - Camunda 8 — deploys using the active
casenprofile. Set one up:casen profile add
/design
Section titled “/design”Design a BPMN process — generates the flow diagram, Camunda forms for user tasks, and DMN decision tables for business rule tasks. No worker scaffolding, no deployment prompt.
/design an invoice approval process for accounts payable/design an employee onboarding workflow with manager approval and IT provisioning stepsWhat it does:
- Calls
bpmn_create— generates the BPMN process diagram - Calls
form_createfor each user task — generates Camunda Form JSON - Calls
dmn_createfor each business rule task — generates DMN decision tables - Presents a summary of all generated artifacts
Output:
BPMN file: invoice-approval.bpmn
Forms: + created: invoice-approval-submit.form + created: invoice-approval-review.form
DMN tables: + created: invoice-approval-amount-threshold.dmn
No workers scaffolded. No deployment prompted.MCP server requirement
Section titled “MCP server requirement”The skills use the BPMNKit AIKit MCP server (bpmn-aikit) to call BPMNKit tools.
The project-level config at .claude/mcp.json registers it automatically:
{ "mcpServers": { "bpmnkit-aikit": { "type": "stdio", "command": "node", "args": ["apps/proxy/dist/aikit-mcp.js"], "env": { "BPMNKIT_PROXY_URL": "http://localhost:3033" } } }}The proxy must be running for bpmn_create and bpmn_update (which use the AI bridge).
Start it with casen proxy.
Other tools (bpmn_validate, bpmn_simulate, bpmn_read, worker_scaffold) work offline.