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 760 repo stars
Watch me use my CLAUDE.md file to build a real feature

File contents

citypaul/.dotfiles commit f3b1262159

Frequently asked questions

npx get-skill add citypaul/functional