create-worker

Generate Zeebe inbound adapter classes for BPMN service tasks.

3|Updated Feb 6, 2025
One-click install
npx skills add https://github.com/emaarco/easy-zeebe --skill create-worker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-worker
Source: https://github.com/emaarco/easy-zeebe/tree/main/.claude/skills/create-worker
Command: npx skills add https://github.com/emaarco/easy-zeebe --skill create-worker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of boilerplate code for Zeebe job workers, significantly reducing the manual effort required to integrate your application logic with the Zeebe process engine.

Core Features & Use Cases

  • Automated Worker Generation: Creates @Component @JobWorker classes for Zeebe service tasks.
  • Type-Safe Integration: Ensures correct mapping between BPMN task types and your code using generated constants.
  • Use Case: When you define a new service task in your BPMN diagram, use this Skill to instantly generate the corresponding Kotlin or Java worker class, complete with variable mapping and use-case injection.

Quick Start

Use the create-worker skill to generate a worker for the 'send-welcome-mail' task in the 'newsletter-process.bpmn' file.

Frequently Asked Questions about create-worker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Zeebe job workers from a BPMN file?

To generate Zeebe job workers from a BPMN file, this Skill scans your BPMN service tasks and automatically scaffolds the corresponding `@JobWorker` classes in Kotlin or Java. It resolves task types, variable mappings, and use-case dependencies directly from the process definitions.

Can I automatically update existing Spring Boot Zeebe adapters?

Yes, you can update existing Spring Boot Zeebe adapters because the Skill orchestrates file discovery and modifies current codebases. It updates existing `@JobWorker` classes to ensure correct mapping between BPMN task types and your application logic.

Does this Zeebe worker generator support Kotlin and Java?

Yes, this Zeebe worker generator supports both Kotlin and Java for creating inbound adapters. It automatically generates type-safe `@Component` classes with the necessary variable mapping and use-case injection for your defined BPMN service tasks.

How do I map BPMN service task types to Spring Boot code?

To map BPMN service task types to Spring Boot code, the Skill generates type-safe constants and `@JobWorker` classes. It automatically resolves input and output variables from the BPMN diagram and ProcessApi definitions to ensure accurate integration.

What is needed to scaffold Zeebe inbound adapters for service tasks?

Scaffolding Zeebe inbound adapters requires providing the BPMN file and arguments or allowing a codebase scan. The Skill then generates the boilerplate `@Component` worker classes, significantly reducing the manual effort needed to integrate with the Zeebe process engine.