fp-pipe-ref
Quick reference for pipe and flow. Use when user needs to chain functions, compose operations, or build data pipelines in fp-ts.
npx skills add sickn33/agentic-awesome-skills --skill fp-pipe-ref --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# pipe & flow Quick Reference ## pipe - Transform a Value ```typescript import { pipe } from 'fp-ts/function' // pipe(startValue, fn1, fn2, fn3) // = fn3(fn2(fn1(startValue))) const result = pipe( ' hello world ', s => s.trim(), s => s.toUpperCase(), s => s.split(' ') ) // ['HELLO', 'WORLD'] ``` ## flow - Create Reusable Pipeline ```typescript import { flow } from 'fp-ts/function' // flow(fn1, fn2, fn3) returns a new function const process = flow( (s: string) => s.trim(), s => s.toUpperCase(), s => s.split(' ') ) process(' hello world ') // ['HELLO', 'WORLD'] process(' foo bar ') // ['FOO', 'BAR'] ``` ## When to Use | Use | When | |-----|------| | `pipe` | Transform a specific value now | | `flow` | Create reusable transformation | ## With fp-ts Types ```typescript import * as O from 'fp-ts/Option' import * as A from 'fp-ts/Array' // Option chain pipe( O.fromNullable(user), O.map(u => u.email), O.getOrElse(() => 'no email') ) // Array chain pipe( users, A.filter(u => u.active), A.map(u => u.name) ) ``` ## Common Pattern ```typescript // Data last enables partial application const getActiveNames = flow( A.filter((u: User) => u.active), A.map(u => u.name) ) // Reuse anywhere getActiv
- pipe - Transform a Value
- flow - Create Reusable Pipeline
- When to Use
- With fp-ts Types
- Common Pattern
- Limitations
What does the fp-pipe-ref skill do?
Quick reference for pipe and flow. Use when user needs to chain functions, compose operations, or build data pipelines in fp-ts.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill fp-pipe-ref --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.