fsharp-style
CommunityImprove F# coding style with Vladimir's expert guide.
Software Engineering#type safety#best practices#domain modeling#coding style#functional programming#fsharp
AuthorV0v1kkk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide to writing clean, functional F# code, addressing common pitfalls and promoting best practices.
Core Features & Use Cases
- Functional Thinking: Emphasizes immutability, total functions, and pattern matching over OOP-style constructs.
- File and Module Organization: Offers guidelines for project file ordering, module usage, and namespace considerations.
- Single-case DU Discipline: Detailed instructions on creating single-case DUs for type safety and domain modeling.
- Pattern Matching: Encourages the use of pattern matching over if-else structures for better code clarity.
- Active Patterns: Introduces active patterns for parsing and validation.
- Computation Expressions: Explains the use of computation expressions for creating custom DSLs.
- Task vs Async: Offers guidance on when to use
taskandasyncfor asynchronous programming. - Records and Updates: Details the use of immutable records and the
withsyntax for updates. - Error Handling: Discusses the use of
ResultandOptionfor error handling. - Naming Conventions: Provides a set of naming conventions for F# code.
- Anti-patterns: Lists common anti-patterns to avoid in F# code.
- Type Provider Authoring: Offers guidance on writing Type Providers, including the call-site style.
Quick Start
Load the fsharp-style skill to review your F# code or when considering a new feature implementation.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fsharp-style Download link: https://github.com/V0v1kkk/YamlFrontMatter/archive/main.zip#fsharp-style Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.