runner-dev
FreeNo executable scriptsNot checkedDevelopment guide for the lemline-runner ecosystem. Use when working with the modular runner architecture (lemline-runner-* modules), messaging…
About this skill
Lemline Runner Development Guide
Purpose
Guide development across the modular lemline-runner ecosystem - a collection of feature-focused modules built on shared infrastructure. The main lemline-runner module provides messaging, CLI, and configuration, while feature modules (lemline-runner-*) implement specific workflow capabilities.
Core Documentation:
- Main Runner README - Configuration, database, messaging setup
- CLI Commands
- Configuration
- Messaging Architecture
- Database Tables
- Repositories Guide
Module Architecture
Core Infrastructure
| Module | Purpose |
|---|---|
lemline-runner-common |
Shared infrastructure: outbox pattern, cleaner pattern, repository abstractions, model interfaces |
lemline-runner |
Main runtime: messaging (commands/events), CLI, configuration, activity runners |
Feature Modules
| Module | Purpose | Tables |
|---|---|---|
lemline-runner-definitions |
Workflow definition storage and cache sync | lemline_definitions |
lemline-runner-waits |
Wait/sleep task implementation | lemline_waits |
lemline-runner-retries |
Task retry scheduling with exponential backoff | lemline_retries |
lemline-runner-parents |
Parent-child workflow relationships (run task) | lemline_parents |
lemline-runner-forks |
Parallel branch execution (fork task) | lemline_forks, lemline_fork_branches |
lemline-runner-schedules |
Scheduled workflow execution (cron/interval/after) | lemline_schedules |
lemline-runner-listeners |
CloudEvent listeners (listen task) | lemline_listeners, lemline_listener_events |
lemline-runner-failures |
Failed workflow tracking and dead letter storage | lemline_failures |
Each feature module has its own README.md with detailed architecture, file reference, and usage patterns.
Quick Reference
If you need to work on...
A Specific Feature:
Read the module's README first:
- Wait task → lemline-runner-waits/README.md
- Retry logic → lemline-runner-retries/README.md
- Parent-child workflows → lemline-runner-parents/README.md
- Fork/parallel execution → lemline-runner-forks/README.md
- Scheduled workflows → lemline-runner-schedules/README.md
- CloudEvent listeners → lemline-runner-listeners/README.md
- Failure tracking → lemline-runner-failures/README.md
- Definition storage → lemline-runner-definitions/README.md
Messaging:
First, read runner-messaging.md
- Add a new command/event type → Modify WorkflowState.kt
- Update commands behavior → Modify WorkflowCommandHandler.kt
- Update events behavior → Modify WorkflowEventHandler.kt
Shared Infrastructure:
Read lemline-runner-common/README.md first
- Add new outbox processor → Extend
AbstractOutbox<T>in lemline-runner-common - Add new cleaner → Extend
AbstractCleaner<T>in lemline-runner-common - Add repository operations → Add to
lemline-runner-common/repositories/ops/ - Add model interface → Create in
lemline-runner-common/models/
Configuration:
First read runner-configuration.md
- Add/Update config property → Modify LemlineConfiguration.kt
- Add database/broker type → Read runner-configuration.md
CLI:
First read runner-cli.md
Critical Rules
✅ ALWAYS Do This
- Use
suspendfunctions for all database operations (Kotlin coroutines, NOT Mutiny) - Use native SQL via repositories (NOT Hibernate ORM/Panache)
- Use Flyway migrations for all schema changes
- Support all databases (PostgreSQL, MySQL, H2) - use database-agnostic SQL
- Use
FOR UPDATE SKIP LOCKEDfor outbox queries to prevent double-processing - Use IDV7 (UUID v7) for all entity IDs - time-sortable, globally unique
- Test with all supported databases when touching persis
Install runner-dev in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the runner-dev skill do?
Development guide for the lemline-runner ecosystem. Use when working with the modular runner architecture (lemline-runner-* modules), messaging (commands/events channels), feature modules (waits, retries, parents, schedules, listeners, forks, failures), shared infrastructure (lemline-runner-common), CLI commands, configuration, repositories with Kotlin coroutines, or Flyway migrations. Covers the dual-channel architecture, outbox pattern, and production best practices for the Quarkus/Kotlin runtime.
How do I install the runner-dev skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the runner-dev skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic