lea

Write and modify Lea code for pipe-oriented data pipelines.

4|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/mcclowes/lea --skill lea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lea
Source: https://github.com/mcclowes/lea/tree/main/.claude/skills/lea
Command: npx skills add https://github.com/mcclowes/lea --skill lea

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Lea enables writing and transforming data with a pipe-oriented syntax, reducing boilerplate and improving readability for functional programming in Lea.

Core Features & Use Cases

  • Pipes: value /> fn to compose transformations simply
  • Decorators & Contexts: Trailing decorators and context injections simplify observability and dependency injection
  • Interpreter-driven workflows: Build robust pipelines for data processing

Quick Start

Create a small Lea script demonstrating a pipeline and run it in the REPL to see the results.

Frequently Asked Questions about lea

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

FAQPage Schema
How do I write data pipelines with a pipe-oriented syntax?

Lea uses the pipe operator `/>` to compose transformations linearly, letting you chain functions together to process data step-by-step without nested function calls or intermediate variables, improving readability for functional pipelines.

Can I use decorators and contexts in Lea for dependency injection?

Yes, Lea supports trailing decorators and context injections that simplify dependency injection and observability within pipelines, reducing boilerplate when you need to attach metadata or inject dependencies across composed functions.

What functional programming features does Lea support for data transformation?

Lea provides map, filter, reduce, async operations, and template strings as builtins within its pipe-oriented syntax, enabling you to build robust data processing workflows with first-class pipelines and interpreter-driven execution.

How do I run Lea code with the interpreter?

Lea includes a tree-walk interpreter with REPL and file execution tooling, supporting indentation- or brace-delimited multi-statement bodies, so you can test pipelines interactively or execute complete scripts from files.

When should I use pipe composition instead of nested function calls?

Pipe composition excels when chaining multiple transformations on data; Lea's `/>` syntax reads left-to-right like natural data flow, eliminating deeply nested parentheses and making complex transformation logic easier to follow and maintain.