GS/BS
← Standards directory
Formatting

OCamlFormat.

Format OCaml with a pinned profile

Specify the formatter version in .ocamlformat and use the Dune formatting alias in CI. Review style changes separately when updating the formatter.

OCaml

Use this standard

Run the check with the tool installed and configured for your project.

dune build @fmt

Agent prompt

Use OCamlFormat in this repository to meet this standard: Format OCaml with a pinned profile. Specify the formatter version in .ocamlformat and use the Dune formatting alias in CI. Review style changes separately when updating the formatter. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Read the agent skill ↗

Seikika package

The catalog has no verified package for this entry yet.

Adoption readiness

runnable · 4 of 5 evidence checks passed.

  • Pass · Defined scope — Format OCaml with a pinned profile · OCaml
  • Pass · Upstream reference — https://ocaml.org/p/ocamlformat/
  • Pass · Agent prompt — Use OCamlFormat in this repository to meet this standard: Format OCaml with a pinned profile. Specify the formatter version in .ocamlformat and use the Dune formatting alias in CI. Review style changes separately when updating the formatter. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
  • Pass · Tool command — dune build @fmt
  • Missing · Seikika package — No Seikika package is listed.
How Seikika scores entries ↗

Primary source

OCamlFormat documentation ↗