functional-programming
Use when writing functional code - covers FP best practices (Lea differs from traditional FP languages)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when writing functional code - covers FP best practices (Lea differs from traditional FP languages)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when configuring ESLint - covers flat config, TypeScript integration, and custom rules
Use when creating GitHub Actions workflows - covers CI/CD, matrix testing, and release automation
Use when writing Jest tests - covers testing patterns for interpreters, parsers, and async code
Use when designing language features - covers lexer, parser, AST, and interpreter patterns
Use when implementing Language Server Protocol features - covers completions, hover, diagnostics, and navigation
Use when creating Mermaid diagrams - covers flowcharts, sequence diagrams, and AST visualization
| name | functional-programming |
| description | Use when writing functional code - covers FP best practices (Lea differs from traditional FP languages) |
-- Prefer pure functions and immutable data
let double = (x) -> x * 2
[1, 2, 3] /> map(double) /> filter((x) -> x > 2)
let by default, maybe only when mutation is necessaryLea differs from traditional FP languages:
5 /> add(3, input)x /> fn(a) becomes fn(x, a)maybe allows mutation; avoid unless necessary#async decorator instead:: Type :> ReturnType, use #strict for enforcementlet over maybe/>) for left-to-right data flow(element, index)