KS
Killer-Skills

automate-process — how to use automate-process how to use automate-process, what is automate-process, automate-process alternative, automate-process vs Camunda, automate-process install, automate-process setup guide, Zeebe BPMN process automation, Spring Boot automate-process, Kotlin automate-process example, automate-process workflow automation

v1.0.0
GitHub

About this Skill

Ideal for Spring Boot and Kotlin developers needing automated Zeebe BPMN process integration. automate-process is a Spring Boot and Kotlin example service using Zeebe for process orchestration, generating necessary code for automating BPMN processes.

Features

Generates job workers stored in `adapter/inbound/zeebe` with one `@JobWorker` per serviceTask
Creates process out-adapter and inbound/outbound port interfaces
Supports application service stubs generation
Utilizes Zeebe for process orchestration
Built with Spring Boot and Kotlin for seamless integration
Follows hexagonal-architecture principles for maintainable code

# Core Topics

emaarco emaarco
[1]
[0]
Updated: 2/26/2026

Quality Score

Top 5%
50
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add emaarco/easy-zeebe/automate-process

Agent Capability Analysis

The automate-process MCP Server by emaarco is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use automate-process, what is automate-process, automate-process alternative.

Ideal Agent Persona

Ideal for Spring Boot and Kotlin developers needing automated Zeebe BPMN process integration.

Core Value

Empowers agents to generate full hexagonal-architecture glue-code for automating Zeebe BPMN processes, creating job workers, process out-adapters, and application service stubs using Kotlin and Spring Boot, leveraging protocols like BPMN and frameworks like Zeebe.

Capabilities Granted for automate-process MCP Server

Automating business processes with Zeebe BPMN
Generating job workers for service tasks
Creating inbound and outbound port interfaces for process integration

! Prerequisites & Limits

  • Requires Zeebe BPMN process setup
  • Limited to Spring Boot and Kotlin ecosystems
  • Needs specific dependencies for hexagonal-architecture glue-code generation
Project
SKILL.md
6.9 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8
SKILL.md
Readonly

Skill: automate-process

Generate full hexagonal-architecture glue-code for automating a Zeebe BPMN process: job workers, process out-adapter, inbound/outbound port interfaces, and application service stubs.

What This Skill Creates

// TODO: use a list instead of a layer like

  • Inbound Workers: stored in adapter/inbound/zeebe with one @JobWorker per serviceTask
LayerLocationWhat
Inbound workersadapter/inbound/zeebe/One @JobWorker class per service task
Outbound adapteradapter/outbound/zeebe/One process out-adapter class
Inbound portsapplication/port/inbound/One use-case interface per worker
Outbound portapplication/port/outbound/One process port interface
Application servicesapplication/service/One service class per use-case interface

The adapter and worker files reference these interfaces so the hexagonal wiring is complete from the start.

IMPORTANT

All string constants must come from the ProcessApi — never use raw string literals.

  • Worker @JobWorker(type = ...)ProcessApi.TaskTypes.CONSTANT
  • Adapter startProcess(processId = ...)ProcessApi.PROCESS_ID
  • Adapter sendMessage(messageName = ...)ProcessApi.Messages.CONSTANT
  • Variable keys → ProcessApi.Variables.CONSTANT where defined

Instructions

Preparation – Validate the BPMN model first

Before generating any code, ask the user whether he has already performed the review-process subagent - and ask him whether you should do it. This is very useful, to only generate code for clean processes that follow the styleguide.

If the user agrees to running the subagent, then start it, but terminate the execution of this skill. Tell the user to wait until the review-process agent is done.

After that he must fully restart the automate-process once again If he disagrees to perform the review agent, continue with step 1.

Step 1 – Resolve the input source

Determine where the process constants come from based on $ARGUMENTS:

  • ProcessApi file (.kt): read it directly. Extract: package name, object name, PROCESS_ID, all TaskTypes.*, Messages.*, Signals.* (if present), and Variables.* constants.
  • BPMN file (.bpmn): search the same service module for a *ProcessApi.kt file (Glob **/adapter/process/*ProcessApi.kt). If found, read it as above. If not found, ask the user whether to continue without type-safe constants.
  • No argument / plain description: search the whole codebase for *ProcessApi.kt files (Glob **/adapter/process/*ProcessApi.kt). List them and ask the user which one to use.

If you can't find a ProcessApi, pause the execution of the skill, and ask the user to generate one first.

Step 2 – Determine packages and source root

Derive the base package from the ProcessApi package. Example:

  • ProcessApi: io.miragon.example.adapter.process
  • Base: io.miragon.example
  • Inbound workers: <base>.adapter.inbound.zeebe
  • Outbound adapter: <base>.adapter.outbound.zeebe
  • Inbound ports: <base>.application.port.inbound
  • Outbound port: <base>.application.port.outbound
  • Services: <base>.application.service

Step 2.5 – Discover existing domain types

Before generating any port or adapter code, scan the domain package (<base>.domain) for existing value objects.

For each Variables.* constant in the ProcessApi:

  • Derive a candidate domain type name by converting the constant to PascalCase (e.g. NEWSLETTER_IDNewsletterId, SUBSCRIPTION_IDSubscriptionId)
  • If a variable name makes no sense as a domain type name, ask the developer for feedback
  • Check if a file with that name exists under **/domain/<TypeName>.kt
  • If found, read it and note the class name and its primary constructor parameter type (typically UUID or String)

If no suitable domain type exists for a variable, create one (a Kotlin data class wrapping UUID or String, with a secondary String constructor when the primary wraps UUID) before generating ports or adapters.

Step 3 – Generate inbound port interfaces (use cases)

For each TaskTypes.* constant, generate a use-case interface. Name convention: derive a meaningful interface name from the task type constant (e.g. NEWSLETTER_ABORT_REGISTRATIONAbortSubscriptionUseCase).

Generated structure:

  • Interface with one method matching the worker's action
  • Method parameters must use domain types discovered in Step 2.5 — never raw String or UUID

Skip if file already exists.

Step 4 – Generate outbound port interface

Generate one outbound port interface for the process. Name convention: derive from the process name (e.g. NewsletterSubscriptionNewsletterSubscriptionProcess).

Generated structure:

  • startProcess method (returns Long) — or a message-send method if the process uses a message start event
  • One method per Messages.* constant
  • All method parameters use domain types discovered in Step 2.5

Skip if file already exists.

Step 5 – Generate application services

For each inbound use-case interface, generate an application service implementing it. Name convention: append Service to the use-case name (e.g. AbortSubscriptionUseCaseAbortSubscriptionService).

Generated structure:

  • @Service class implementing the use-case interface
  • override fun with domain type parameters (matching the use-case interface) and TODO("Add implementation") body

Skip if file already exists.

Step 6 – Generate workers (with use-case injection)

Same as /create-worker Step 3, but inject the generated use-case interface as the constructor parameter instead of a placeholder. Apply the same @Variable / @VariableAsType guidance from that step.

Worker handle method parameters must be primitive types (UUID, String) annotated with @Variable; convert them to domain types inside the body before calling the use case (e.g. useCase.handle(NewsletterId(newsletterId))).

Step 7 – Generate process out-adapter (implementing outbound port)

Same as /create-process-adapter Step 3, but add : ProcessNameProcess to the class declaration so it implements the outbound port interface. Mark each method with override.

Adapter methods must accept domain types as parameters. Inside the method body, extract the primitive value (e.g. id.value.toString()) before passing to engineApi.startProcess / engineApi.sendMessage.

Step 8 – Report

List every file created or skipped. Remind the developer to:

  1. Run /test-worker for each worker
  2. Run /test-process-adapter for the adapter
  3. Run /test-process to generate process integration tests

Offer to run these test-generation commands right away.

Related Skills

Looking for an alternative to automate-process or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication