functional-programming

Teach functional programming principles and patterns for TypeScript and JavaScript.

1|Updated Nov 18, 2025
One-click install
npx skills add https://github.com/manutej/crush-mcp-server --skill functional-programming-manutej
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: functional-programming
Source: https://github.com/manutej/crush-mcp-server/tree/main/.claude/skills/functional-programming
Command: npx skills add https://github.com/manutej/crush-mcp-server --skill functional-programming-manutej

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill teaches functional programming principles and patterns to help write pure, composable, and maintainable code across languages like TypeScript and JavaScript.

Core Features & Use Cases

  • Purity and immutability: Write functions without side effects and with immutable data.
  • Composition and higher-order functions: Build complex logic from small, reusable functions.
  • Currying, partial application, and recursion: Create flexible, reusable APIs.
  • Algebraic data types and error handling: Use sum types, Maybe/Either to model failures explicitly.
  • Practical patterns: Map/filter/reduce, function pipelines, and lazy evaluation.

Quick Start

Try a simple example: curry a three-argument add function and compose it with a multiplier function, then apply to (5, 3, 2).