swe-programming-fsharp

Enforce repository-specific F# coding standards for OSE-style monorepos.

3|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/wahidyankf/ose-primer --skill swe-programming-fsharp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swe-programming-fsharp
Source: https://github.com/wahidyankf/ose-primer/tree/main/.claude/skills/swe-programming-fsharp
Command: npx skills add https://github.com/wahidyankf/ose-primer --skill swe-programming-fsharp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates inconsistent F# code and non-compliance with repository-specific F# coding standards when AI agents write F# code for the OSE-style monorepo, reducing code review overhead and preventing avoidable bugs from non-adherence to established patterns.

Core Features & Use Cases

  • Repo-Specific F# Standards Reference: Provides quick access to mandatory F# naming conventions, domain modeling rules, and formatting requirements tailored to the OSE primer repository's F# demo applications.
  • Idiomatic F# Guidance: Covers railway-oriented programming, async workflows, discriminated union usage, and testing with Expecto and FsCheck to ensure agents write idiomatic, maintainable F# code.
  • Use Case: When an agent is tasked with implementing a new feature for the repository's F# Giraffe demo app, this Skill automatically applies the correct PascalCase for types, enforces exhaustive pattern matching, and requires Fantomas formatting to match the repository's code quality standards.

Quick Start

Use the swe-programming-fsharp skill to generate F# code for the repository's F# demo applications that fully complies with all mandatory naming conventions, formatting rules, and domain modeling standards.

Frequently Asked Questions about swe-programming-fsharp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce F# coding standards for AI-generated code in a monorepo?

To enforce F# coding standards for AI-generated code, apply mandatory naming conventions like PascalCase for types, require Fantomas formatting, and mandate exhaustive pattern matching. This ensures AI agents write idiomatic F# code aligned with repository-specific quality standards.

What is the best way to implement railway-oriented error handling in F#?

Railway-oriented error handling in F# is implemented using discriminated unions and specific domain modeling rules. Following these idiomatic patterns ensures maintainable error handling workflows that comply with established functional programming standards.

How do I write F# tests with Expecto and FsCheck for domain models?

Writing F# tests with Expecto and FsCheck involves creating property-based tests for discriminated unions and domain models. This testing approach validates code quality and ensures functional correctness compliant with repository-specific F# testing standards.

Does Fantomas formatting work with Giraffe demo applications in F#?

Yes, Fantomas formatting is mandatory for F# Giraffe demo applications. It enforces consistent code formatting across the repository, reducing code review overhead and preventing non-compliance with established F# coding standards.

Why does my AI agent write inconsistent F# code with non-compliant naming conventions?

AI agents write inconsistent F# code when lacking enforced coding standards. Without mandatory rules for PascalCase types, Fantomas formatting, and exhaustive pattern matching, generated code fails to meet repository-specific F# quality and formatting requirements.

Can I use async workflows with discriminated unions in F# domain modeling?

Yes, async workflows can be used with discriminated unions in F# domain modeling. This combination is part of idiomatic F# development, enabling robust asynchronous operations while maintaining type safety and exhaustive pattern matching compliance.