Skip to content
Agentmart
Submit a tool

migrate-fsharp-conventions

F# style rules for the migrate project.

Skill by lamg

IndexedApache-2.0★ 13
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/lamg-migrate-fsharp-conventions

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

F# style rules for the migrate project. Use when editing or reviewing `.fs`/`.fsi` files to enforce single-argument call syntax, module-per-file declarations, and Fantomas formatting requirements.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/migrate-fsharp-conventions

What's inside

Skill name
migrate-fsharp-conventions
Description
F# style rules for the migrate project. Use when editing or reviewing `.fs`/`.fsi` files to enforce single-argument call syntax, module-per-file declarations, and Fantomas formatting requirements.
License
Apache-2.0
Instructions
29 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Migrate F# Conventions

## Use single-argument function syntax

- Prefer function-call style for single-argument methods and functions.
- Write `upper.Contains "NOT NULL"`, `str.StartsWith "CREATE"`, and `Default <| Value ""`.
- Avoid parenthesized single-argument calls such as `upper.Contains("NOT NULL")`.

## Use module-per-file declarations

- Prefer top-level module declarations for single-module files.
- Write `module migrate.Db` at file top.
- Avoid `namespace ...` with nested `module Db =` for single-module files.

## Use taskResult for Task<Result<_, _>> workflows

- Prefer `taskResult` for functions returning `Task<Result<'a, 'e>>`.
- Use `let!` directly for `Result<'a, 'e>` and `Task<Result<'a, 'e>>` values so errors short-circuit through the computation expression.
- Use `do!` directly for plain `Task<unit>` values inside `taskResult`.
- Add explicit type annotations on `let!` bindings when F# cannot disambiguate `Task<'a>` from `Task<Result<'a, 'e>>` builder overloads.
- Avoid manually matching on `Result` inside `task { ... }` when `taskResult { ... }` can express the same control flow.

## Format with Fantomas

- Run Fantomas on changed F# code before committing.
- Format all project F# files with `cd src && fantomas .`.
- Format a specific file with `fantomas src/MigLib/Db.fs`.

From lamg/migrate, Apache-2.0.

Signals

Stars
13
Forks
0
Open issues
0
Last commit (this folder)
May 2, 2026 (6 months ago)
Last release
Apr 1, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lamg

Cite this page

migrate-fsharp-conventions skill. Agent Mart. https://agentmart.dev/skills/lamg-migrate-fsharp-conventions (last updated 2026-10-24)