
Fp Ts Pragmatic
This is the fp-ts guide you wish existed when you started. It skips the category theory and goes straight to the five patterns that actually matter: pipe for chaining operations, Option for nullable values, Either for explicit errors, map for transformations, and flatMap for chainable failures. What makes it useful is the "when NOT to use FP" section, which tells you to just use optional chaining for simple null checks and regular loops when they're clearer. The examples are real world stuff like parsing JSON and validating emails, not abstract academic exercises. If you're writing TypeScript and tired of nested null checks or try-catch pyramids, this gives you practical alternatives without requiring a PhD in mathematics.
- skills.sh installs
- 120
- GitHub stars
- 39.4K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill fp-ts-pragmatic --agent claude-codeInstalls into .claude/skills of the current project.
Files
Pragmatic Functional Programming
Read this first. This guide cuts through the academic jargon and shows you what actually matters. No category theory. No abstract nonsense. Just patterns that make your code better.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use This Skill
- When starting with fp-ts and need practical guidance
- When writing TypeScript code that handles nullable values, errors, or async operations
- When you want cleaner, more maintainable functional code without the academic overhead
- When refactoring imperative code to functional style
When NOT to Use FP
Functional programming is not always the answer. Here's when to keep it simple.
Simple Null Checks
// Just use optional chaining - it's built into the language
const city = user?.address?.city ?? 'Unknown'
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- First seen
- Jun 3, 2026
More from sickn33/antigravity-awesome-skills
All 708- Android Ui Verification119
- Cloud Devops117
- Notion Automation117
- Fal Upscale116
- Clickup Automation115
- Legacy Modernizer115
- Dx Optimizer113
- Hybrid Cloud Architect113
- Api Fuzzing Bug Bounty
- Broken Authentication
- Burp Suite Testing
- Cross Site Scripting And HTML Injection Testing
- File Path Traversal
- IDOR Vulnerability Testing
- Linux Production Shell Scripts
- Red Team Tools And Methodology
- Scanning Tools
- Shodan Reconnaissance And Pentesting
- SQLMap Database Penetration Testing
- Top Web Vulnerabilities
- Wireshark Analysis
- Docker Expert23.5K
- Nodejs Best Practices12.6K
- Typescript Expert10.4K