Functional

Functional programming patterns with immutable data. Use when writing logic, data transformations, or encountering mutation bugs — including any feature request that builds, merges, filters, sorts, prices or otherwise reshapes records, lists, carts, orders or invoices, even when it never mentions immutability; load it alongside tdd for such changes, not instead of it. Covers immutability violations catalog, pure functions, composition, early returns, and options objects. Do NOT over-apply heavy FP abstractions (monads, fp-ts) unless the project requires them.

citypaul Updated

File contents

citypaul/.dotfiles/tree/main/claude/.claude/skills/functional commit f3b1262159

Frequently asked questions

npx skillmds@latest add citypaul/functional