/backend:fp-types-reffrom backend
Quick reference for fp-ts types: helps choose between Option, Either, Task, TaskEither, and provides imports and decision guidance.
Ships in backend. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Option, Either, Task, TaskEither, or related fp-ts types.Is the operation async?
├─ NO: Does it involve errors?
│ ├─ YES → Either<Error, Value>
│ └─ NO: Might value be missing?
│ ├─ YES → Option<Value>
│ └─ NO → Just use the value
└─ YES: Does it involve errors?
├─ YES → TaskEither<Error, Value>
└─ NO: Might value be missing?
├─ YES → TaskOption<Value>
└─ NO → Task<Value>
// Core
import { pipe, flow } from 'fp-ts/function'
// Types
import * as O from 'fp-ts/Option' // Maybe exists
import * as E from 'fp-ts/Either' // Success or failure
import * as TE from 'fp-ts/TaskEither' // Async + failure
import * as T from 'fp-ts/Task' // Async (no failure)
import * as A from 'fp-ts/Array' // Array utilities
| Need | Code |
|---|---|
| Wrap nullable | O.fromNullable(value) |
| Default value | O.getOrElse(() => default) |
| Transform if exists | O.map(fn) |
| Chain optionals | O.flatMap(fn) |
| Wrap try/catch | E.tryCatch(() => risky(), toError) |
| Wrap async | TE.tryCatch(() => fetch(url), toError) |
| Run pipe | pipe(value, fn1, fn2, fn3) |
// Option
pipe(maybe, O.match(
() => 'nothing',
(val) => `got ${val}`
))
// Either
pipe(result, E.match(
(err) => `error: ${err}`,
(val) => `success: ${val}`
))
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub errorproofdev/skills --plugin backend25 skills in this plugin
/api-documentation-generatorGenerate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices/api-endpoint-builderBuilds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability./api-patternsAPI design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.23 plugins in 14 repositories ship this exact skill · first indexed Jun 3, 2026
Showing 6 of 23 plugins, one per repository first
Other plugins' skills for the same job