ocaml-project-setup

Standardize OCaml project metadata and scaffold library files with CI templates.

35|9|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/avsm/ocaml-claude-marketplace --skill ocaml-project-setup-avsm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocaml-project-setup
Source: https://github.com/avsm/ocaml-claude-marketplace/tree/main/plugins/ocaml-dev/skills/ocaml-project-setup
Command: npx skills add https://github.com/avsm/ocaml-claude-marketplace --skill ocaml-project-setup-avsm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill defines a standard metadata and project structure blueprint for OCaml projects, helping teams bootstrap libraries/modules with consistent configuration, CI readiness, and clear API surfaces.

Core Features & Use Cases

  • Project metadata templates for dune-project, license, authors, and maintainers to enable opam and packaging.
  • Project skeleton guidance for essential files like dune, dune-project, .ocamlformat, README, LICENSE, and CI templates to ensure reproducibility.
  • Code quality & API discipline guidance for module interfaces (.mli) and consistent coding standards across new OCaml projects.

Quick Start

Create a new OCaml library using the standardized project blueprint to ensure opam compatibility and CI readiness.

Frequently Asked Questions about ocaml-project-setup

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

FAQPage Schema
How do I set up a new OCaml library with dune and opam metadata?

To set up a new OCaml library, you need standardized dune-project files, license details, and author metadata to ensure opam packaging compatibility and reliable project scaffolding.

What files do I need for a standard OCaml project skeleton?

A standard OCaml project skeleton requires essential files like dune, dune-project, .ocamlformat, README, LICENSE, and CI templates to ensure reproducibility and consistent project configuration.

Does this OCaml project setup include CI configuration templates?

Yes, this OCaml project setup includes CI configuration templates as part of its core scaffolding blueprint, ensuring new libraries and modules are CI-ready immediately upon creation.

How do I enforce .mli interface files and formatting in my OCaml project?

To enforce .mli interface files and formatting, apply the project skeleton guidance which mandates .mli presence for clear API surfaces and includes an .ocamlformat file for consistent coding standards.

When should I use a standardized OCaml project scaffolding blueprint?

You should use a standardized OCaml project scaffolding blueprint when bootstrapping new libraries or modules to guarantee consistent configuration, packaging readiness, and clear API surfaces across your projects.