AI-Driven Implementation
The /implement skill turns a plain-English description into a deployed, working process.
Claude plans the BPMN, wires workers, validates the result, checks coverage, and asks once
before deploying.
Prerequisites
Section titled “Prerequisites”caseninstalled andcasen proxyrunning.claude/mcp.jsonpresent in your project (created automatically bycasen skills install)- Claude Code active in your terminal or IDE
Install the skills
Section titled “Install the skills”casen skills installThis copies four slash commands into .claude/commands/:
/implement, /review, /test, /deploy.
Basic usage
Section titled “Basic usage”In Claude Code, type:
/implement an invoice approval process for accounts payableClaude works through four steps automatically:
- Pattern lookup — checks whether a domain pattern matches the request and loads it as context
- BPMN creation — calls
bpmn_createto generate the process diagram, writes it to disk - Worker wiring — matches each service task to an existing worker or scaffolds a new one
- Validation + coverage — runs the pattern advisor and checks that all job types have a worker
At the end Claude presents a summary and asks where to deploy.
What gets created
Section titled “What gets created”project/ invoice-approval.bpmn ← generated process diagram workers/ validate-invoice/ index.ts ← implement the handle() function here package.json tsconfig.json README.md check-duplicate/ index.ts ...Domain patterns
Section titled “Domain patterns”Before creating the BPMN, Claude checks a built-in pattern library for a domain match. Patterns provide a starting template and realistic worker specs for common business processes:
| Pattern | Domain |
|---|---|
invoice-approval | Finance / accounts payable |
employee-onboarding | HR |
supplier-contract-review | Procurement / legal |
incident-response | IT / ops |
loan-origination | Financial services |
content-moderation | Trust & safety |
order-fulfillment | E-commerce / supply chain |
Patterns are hints — Claude adapts them or ignores them when the request doesn’t match.
Deploying
Section titled “Deploying”At the end of the flow Claude asks:
Deploy to local reebe, deploy to Camunda 8, or skip deployment?- Local reebe — deploys to
ZEEBE_ADDRESS(defaulthttp://localhost:26500). Start reebe first withcasen reebe. - Camunda 8 — deploys using the active
casenprofile. Set one up withcasen profile add. - Skip — leaves the BPMN file on disk for manual review and deployment.
Implementing workers
Section titled “Implementing workers”Each scaffolded worker has a handle() function to implement:
async function handle(variables: Inputs): Promise<Outputs> { // TODO: implement invoice validation throw new Error("Not implemented")}Start a worker for development:
cd workers/validate-invoicenpm installnpm startOr start all workers at once:
casen worker startSee Standalone Workers for deployment options.
Re-running and refining
Section titled “Re-running and refining”You can call /implement multiple times. Existing workers are reused — only missing job
types get scaffolded.
To modify the BPMN after generation:
/implement add a timeout boundary event to the approval task in invoice-approval.bpmnOr open the file in Studio for visual editing and run /review afterward.