Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

core-dev

БесплатноБез исполняемых скриптовНе проверен

Development guide for the lemline-core module. Use when working with workflow execution (orchestrators, processors), node tree navigation (Node…

lemlineот lemline★ 47 звёзд на GitHub23 установки в других каталогах

Об этом скилле

Lemline Core Development Guide

Purpose

Guide development of the lemline-core module - the pure, stateless workflow execution engine implementing the Serverless Workflow DSL v1.0 specification.

Documentation:

  • Overview - Module structure, DSL parsing, adding tasks
  • Nodes - Node tree, NodePosition, navigation
  • Orchestrators - StepByStep vs Full execution
  • Processors - NodeProcessor, control flows, activities
  • Fork - Parallel branches, error boundaries
  • Errors - Exceptions, retry, error handling
  • States - TaskState, WorkflowCommand, WorkflowEvent
  • Expressions - JQ evaluation, scope variables

Quick Reference

If you need to change something in...

Orchestration:

First, read core-orchestrators.md

Nodes:

First, read core-nodes.md

Processors:

First, read core-processors.md

  • Add a new task type → Read core-overview.md
  • Change control flow logic (Do, For, Switch) → Modify processors/DoProcessor.kt, ForProcessor.kt, SwitchProcessor.kt
  • Change activity behavior (Wait, Call, Run) → Modify processors/WaitProcessor.kt, CallProcessor.kt, RunProcessor.kt

States:

First, read core-states.md

  • Add a new TaskState → Create in states/ directory, extend TaskState
  • Change scope variables → Modify the scope property in the relevant state class
  • Change state serialization → Modify TaskStates.kt

Error Handling:

First, read core-errors.md

Expressions:

First, read core-expressions.md

  • Change JQ evaluation → Modify JQExpression.kt
  • Add scope variables → Modify the relevant state class's scope property
  • Change input/output transformation → Modify transformation helpers in orchestrator

Fork/Parallel:

First, read core-fork.md

  • Change fork execution → Modify ForkProcessor.kt
  • Change branch detection → Modify forkBranchCompleted/forkBranchFailed in StepByStepOrchestrator.kt

DSL Parsing:

First, read core-overview.md


Critical Rules

✅ ALWAYS Do This

  1. Keep processors stateless - receive state, return updated state via NextStepInfo
  2. Use exception-driven control flow - throw AsyncTaskException for wait/fork/runWorkflow
  3. Serialize all state - TaskState subclasses must be @Serializable
  4. Clean up states - return null in stateUpdates when leaving a node
  5. Provide scope variables - override scope property when state provides expression variables
  6. Test with FullOrchestrator - use for unit testing workflow logic
  7. Build node tree lazily - use by lazy for children property
  8. Use FlowDirective - Continue, End, or Then(target) for navigation

❌ NEVER Do This

  1. Store mutable state in processors - processors are stateless
  2. **Modify Node o
Полный SKILL.md на GitHub

Установить core-dev в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл core-dev?

Development guide for the lemline-core module. Use when working with workflow execution (orchestrators, processors), node tree navigation (Node, NodePosition), task states (TaskState, WorkflowCommand, WorkflowEvent), expression evaluation (JQ, scope), error handling (TryTask, retry, catch), parallel execution (Fork), or DSL parsing. Covers the step-by-step execution model, exception-driven control flow, and stateless architecture.

Как установить скилл core-dev?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл core-dev запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить core-dev с