functional
Installation
SKILL.md
Functional Patterns
Deep-dive resources are in the resources/ directory. Load them on demand:
| Resource | Load when... |
|---|---|
immutability-catalog.md |
Fixing mutation bugs, applying readonly/ReadonlyArray types, or looking up the immutable alternative to an array/object mutation |
composition-patterns.md |
Composing small functions into pipelines, refactoring monolithic logic, or flattening deeply nested code |
Small pure functions are an implementation technique, not a mandate to publish one function per module. Keep related helpers private and colocated when they compose into one coherent responsibility; use codebase-design when choosing the stable caller-facing contract.