← Explore all agents

LANGUAGE-SPECIFIC REVIEW / Affaan Mustafa

F# code reviewer

Reviews F# changes for exhaustive domain modelling, computation-expression flow, disposal and safe boundaries.

“Expert F# code reviewer specializing in functional idioms, type safety, pattern matching, computation expressions, and performance. Use for all F# code changes. MUST BE USED for F# projects.”

01 / THE REASONING

Why this made the selection.

  • It checks incomplete union matches, smart constructors, Option/Result handling and async binding.
  • It also examines repeated lazy-sequence evaluation, boxing and Giraffe/Saturn or Fable/Elmish integration.
  • It reviews F# and fsx diffs and treats swallowed match wildcards and blocking async as critical, with a tighter size bar than the C# reviewer: functions over 40 lines and nesting over 3.
  • Framework notes name Giraffe or Saturn, EF Core, and Fable separately, and the report still has to cite a file and line.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • agents/fsharp-reviewer.md (complete definition)
  • LICENSE (applicable redistribution terms)
  • Host custom-agent documentation; repository installation guidance where applicable

Our findings

  • It checks incomplete union matches, smart constructors, Option/Result handling and async binding.
  • It also examines repeated lazy-sequence evaluation, boxing and Giraffe/Saturn or Fable/Elmish integration.
  • The invoke path diffs *.fs and *.fsx and runs dotnet build and fantomas --check if available.
  • Tools are Read, Grep, Glob, and Bash, model sonnet, with no disallowedTools field.
  • A block decision is any critical or high issue. The file does not apply the fix it describes.
  • Host docs require the Markdown to live in a scanned agents directory before it is a subagent.

Not established by this review

  • No agent was installed or invoked. Host/model compatibility, task accuracy and runtime behaviour were not tested.
  • The resource was not executed and its tools were not called.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Use the role in your project.

Upstream setup instructions ↗
  1. Read the pinned definition and MIT licence; review the host permissions before use.
  2. Inspect the referenced upstream context; place the agent in .claude/agents/ and restrict Bash to the intended project diagnostics.
  3. Provide changed .fs/.fsx files, domain unions/constructors, callers and the project toolchain.

Before you start

  • Claude Code and a supported model
  • A F# project with separately installed diagnostic tools

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/affaan-m/everything-claude-code/blob/b92f181b3b748d1abbc2afd94af6aa7d8c8fca29/agents/fsharp-reviewer.md

    Supports: Workflow, inputs and outputs, Declared tools and constraints, Selection and limitations

  2. https://github.com/affaan-m/everything-claude-code/blob/b92f181b3b748d1abbc2afd94af6aa7d8c8fca29/LICENSE

    Supports: Licence and attribution requirements

  3. https://code.claude.com/docs/en/sub-agents.md

    Supports: Host setup and permission defaults

Evidence & Ask