core-dev
БесплатноБез исполняемых скриптовНе проверенDevelopment guide for the lemline-core module. Use when working with workflow execution (orchestrators, processors), node tree navigation (Node…
Об этом скилле
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
- Change step execution flow → Modify StepByStepOrchestrator.kt
- Change synchronous test execution → Modify FullOrchestrator.kt
- Add a new WorkflowCommand/Event → Modify WorkflowState.kt
Nodes:
First, read core-nodes.md
- Change node tree structure → Modify Node.kt
- Add a new Token type → Modify Token.kt
- Change position addressing → Modify NodePosition.kt
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, extendTaskState - Change scope variables → Modify the
scopeproperty in the relevant state class - Change state serialization → Modify
TaskStates.kt
Error Handling:
First, read core-errors.md
- Change retry logic → Modify TryProcessor.kt
- Add a new AsyncTaskException → Modify AsyncTaskException.kt
- Change error types → Modify WorkflowException.kt
Expressions:
First, read core-expressions.md
- Change JQ evaluation → Modify JQExpression.kt
- Add scope variables → Modify the relevant state class's
scopeproperty - 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/forkBranchFailedinStepByStepOrchestrator.kt
DSL Parsing:
First, read core-overview.md
- Change parsing logic → Modify DefinitionCache.kt
Critical Rules
✅ ALWAYS Do This
- Keep processors stateless - receive state, return updated state via
NextStepInfo - Use exception-driven control flow - throw
AsyncTaskExceptionfor wait/fork/runWorkflow - Serialize all state -
TaskStatesubclasses must be@Serializable - Clean up states - return
nullinstateUpdateswhen leaving a node - Provide scope variables - override
scopeproperty when state provides expression variables - Test with FullOrchestrator - use for unit testing workflow logic
- Build node tree lazily - use
by lazyforchildrenproperty - Use
FlowDirective-Continue,End, orThen(target)for navigation
❌ NEVER Do This
- Store mutable state in processors - processors are stateless
- **Modify Node o
Установить 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), без исполняемых скриптов.
Похожие скиллы
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…
от 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…
от 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…
от 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…
от Anthropic