Agent skill · software engineering · sickn33

fp-option-ref

Quick reference for Option type. Use when user needs to handle nullable values, optional data, or wants to avoid null checks.

Why this skill is useful

Provides specific patterns and commands for using the fp-ts Option type that the AI wouldn't reliably generate on its own.

What it needs

About 2k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

Option Quick Reference Option = value that might not exist. Some(value) or None. When to Use You need a quick fp-ts reference for nullable or optional values. The task involves eliminating null checks, safe property access, or optional chaining with Option. You want a short reference card rather than a full migration guide. Create Transform Extract Common Patterns vs Nullable Use Option when you need to chain operations on optional values. Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment-specific validation, testing, or expert review. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing. Reference scope These are fp-ts 2.x fragments. Supply application variables, types, validators and imports, and check the installed version. map does not catch thrown exceptions. Task has no typed error channel; an improperly wrapped promise can still reject. Use tryCatch at fallible boundaries. Official API: fp-ts modules.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/fp-option-ref

View the source on GitHub

Browse the @skills marketplace