core-dev

Guide Kotlin development for the lemline-core workflow execution engine.

39|Updated Apr 21, 2025
One-click install
npx skills add https://github.com/lemline/lemline --skill core-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: core-dev
Source: https://github.com/lemline/lemline/tree/main/.claude/skills/core-dev
Command: npx skills add https://github.com/lemline/lemline --skill core-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured, developer-oriented guide for building and maintaining the lemline-core module, the stateless workflow execution engine powering the Serverless Workflow DSL runtimes.

Core Features & Use Cases

  • Project structure guidance: outlines module layout, key components, and best practices for extending the engine (parsers, orchestrators, processors, and state handling).
  • Guided development tasks: practical steps for modifying core components, adding new TaskStates, or extending DSL parsing, with step-by-step examples.
  • Quality and testing patterns: instructions for unit and integration tests using the FullOrchestrator and test utilities.

Quick Start

Start by reading the core overview and nodes documentation in lemline-core/docs, then implement a small feature in StepByStepOrchestrator and run the FullOrchestrator tests to validate behavior.

Frequently Asked Questions about core-dev

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

FAQPage Schema
How do I add a new TaskState to the Serverless Workflow DSL runtime?

To add a new TaskState to the Serverless Workflow DSL runtime, follow the guided development tasks for modifying core components and extending DSL parsing. Implement changes using Kotlin sources and validate behavior by running the FullOrchestrator tests.

What is the best way to structure modules when extending a stateless workflow execution engine?

Structuring modules for a stateless workflow execution engine requires following project structure guidance that outlines module layout, key components, and best practices for extending parsers, orchestrators, processors, and state handling within the Lemline Core project.

How does DSL parsing work within the Lemline Core project?

DSL parsing within the Lemline Core project works by extending core components using Kotlin sources to interpret the Serverless Workflow DSL. Practical steps and step-by-step examples are provided to guide developers through parsing modifications and state handling.

Do I need Node to run development and testing guidelines for lemline-core?

Node is listed among the development keywords for the Lemline Core project. Alongside Node, the testing guidelines require running unit and integration tests using the FullOrchestrator and test utilities to validate step execution model behavior.

Can I use the StepByStepOrchestrator to validate updates to the step execution model?

Yes, you can use the StepByStepOrchestrator to implement a small feature and validate updates to the step execution model. Running the FullOrchestrator tests afterward ensures the step execution model behaves correctly within the workflow engine.

What are the limitations when modifying processors and state handling in a stateless workflow engine?

When modifying processors and state handling in a stateless workflow engine, limitations arise from maintaining statelessness while extending the DSL runtime. Developers must follow documentation referencing and testing guidelines to prevent breaking the orchestration model.