Registry / citypaul

citypaul/dotfiles/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. Also use when composing

Agent skill · version 0.0.0-main.1794518939.gcd4028d · from citypaul/.dotfiles

Install

npx yarkr-cli add skill:citypaul/dotfiles/functional

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:citypaul/dotfiles/functional
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:citypaul/dotfiles/functional

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:citypaul/dotfiles/functional

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.