ocaml-dune-migration
CommunityMigrate OCaml builds from ocamlbuild/topkg to dune.
Authoraresbit
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Migrating OCaml projects from ocamlbuild/topkg to dune modernizes builds, simplifies dependencies, and improves reproducibility.
Core Features & Use Cases
- Guides migration by identifying ocamlbuild/topkg artifacts (_tags, *.mllib, pkg/pkg.ml, topkg) and generating dune-project and library stanzas.
- Produces a complete migration plan including handling toplevel init files, opam metadata, tests, and documentation updates.
- Applicable to projects aiming to adopt a modern, reproducible OCaml build workflow and reduce manual rewrite effort.
Quick Start
Run the migration guide against an OCaml project to convert _tags, .mllib, and pkg/pkg.ml references into dune equivalents. Follow the steps to create a dune-project, library stanzas, and update opam metadata, while removing ocamlbuild artifacts.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: ocaml-dune-migration Download link: https://github.com/aresbit/MateBot/archive/main.zip#ocaml-dune-migration 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 223,000+ vetted skills library on demand.