sc-think-functional
Installation
SKILL.md
Think Functional
FP discipline for agent-assisted development. Not about switching languages — about structuring code so agents write it well and humans review it fast.
Why FP Matters for Agents
Agents are pattern matchers. They compress training data into a world model, then map between representations: f(pattern_in, context, constraints) => pattern_out. FP makes the patterns explicit.
| FP Property | Agent Benefit | Human Benefit |
|---|---|---|
| Type signatures encode intent | One line = full context. Input, output, effects. No retrieval needed. | Skim signatures, skip bodies |
| Pure functions are self-contained | Entire function is contiguous text. No hidden state to chase. | Trust pure code, scrutinize edges |
| Composition is the architecture | Agents pattern-match the wiring, generate the parts | Review wiring, ignore parts |
| Constraints prevent laziness | Can't introduce side effects where the type system forbids them | Structural enforcement, not convention |