Plugin Claude Code
Plugin marketplace listing 1 plugin: ocaml-dev.
Plugin Claude Code
Plugin marketplace listing 1 plugin: ocaml-dev.
Plugin Claude Code
Comprehensive OCaml development toolkit with project setup, odoc documentation, build migration, testing, RFC integration, opam publishing, and code style assistance.
Command
Fetch an IETF RFC and integrate it into the project with OCamldoc citations.
Command
Initialize a new OCaml project with dune, opam, CI, and standard files.
Command
Set up npm publishing for OCaml projects via jsofocaml/wasmofocaml.
Command
Convert an ocamlbuild/topkg project to dune build system.
Command
Refactor and tidy OCaml code to be more idiomatic and maintainable.
Skill Claude CodeCodex
Use when writing or modifying OCaml code to annotate AI involvement. Triggers on any code generation, editing, or autonomous agent output in .ml/.mli files. Also use when creating or updating .opam files for packages containing AI-involved code.
Skill Claude CodeCodex
Designing and implementing robust command-line interfaces using OCaml's cmdliner library. Use when Claude needs to: (1) Design a new CLI or subcommand layout, (2) Implement cmdliner terms and combinators, (3) Enforce clear, predictable, orthogonal options, (4) Produce high-quality --help output and error messages, (5)…
Skill Claude CodeCodex
OCaml coding style and refactoring patterns. Use when the user asks to tidy, clean up, refactor, or improve OCaml code, reviewing code quality, enforcing naming conventions, or reducing complexity.
Skill Claude CodeCodex
Migrating OCaml projects from ocamlbuild/topkg to dune. Use when discussing tags files, .mllib files, pkg/pkg.ml, topkg, or build system migration.
Skill Claude CodeCodex
OCaml 5 algebraic effects design patterns. Use when Claude needs to: (1) Design APIs that interact with effect-based schedulers, (2) Decide between effects vs exceptions, (3) Integrate libraries with Eio or affect, (4) Handle suspension vs error cases in streaming code, (5) Understand the layered effect design…
Skill Claude CodeCodex
Eio concurrency patterns for OCaml applications. Use when Claude needs to: (1) Write concurrent OCaml code with Eio, (2) Handle network operations with cohttp-eio, (3) Manage resource lifecycles with switches, (4) Implement rate limiting or synchronization, (5) Create parallel operations with fibers, (6) Test async…
Skill Claude CodeCodex
OCaml fuzz testing with Crowbar for protocol implementations. Use when Claude needs to: (1) Write fuzz tests for parsers and encoders, (2) Test roundtrip invariants (parse(encode(x)) = x), (3) Verify boundary conditions and error handling, (4) Test state machines and transitions, (5) Organize fuzz test suites for…
Skill Claude CodeCodex
JSON type-safe encoding and decoding using the OCaml jsont library. Use when Claude needs to: define typed JSON codecs for OCaml record types, parse JSON strings to OCaml values, or serialize OCaml values to JSON, or work with nested JSON structures.
Skill Claude CodeCodex
OCaml Logs library patterns for structured logging. Use when Claude needs to: (1) Add logging to OCaml modules, (2) Create per-module log sources, (3) Use appropriate log levels, (4) Add structured tags to log messages.
Skill Claude CodeCodex
OCaml memtrace profiling for allocation hotspot analysis. Use when Claude needs to: (1) Add memtrace instrumentation to OCaml executables, (2) Run targeted benchmarks with tracing enabled, (3) Identify allocation hotspots from trace output, (4) Optimize code to reduce boxing and allocations, (5) Validate optimizations…
Skill Claude CodeCodex
Publishing OCaml to npm via jsofocaml and wasmofocaml. Use when discussing browser targets, JavaScript compilation, WASM output, npm packages, or the two-branch workflow.
Skill Claude CodeCodex
Fixing odoc documentation warnings and errors. Use when running dune build @doc, resolving reference syntax issues, cross-package references, ambiguous references, hidden fields, or @raise tags in OCaml documentation.
Skill Claude CodeCodex
OCaml development guidance for building robust, type-safe applications. Use when Claude needs to: (1) Write OCaml code following modern best practices, (2) Design module interfaces (.mli files), (3) Handle errors with result types, (4) Work with dune build system, (5) Use common OCaml libraries (eio, fmt, logs…
Skill Claude CodeCodex
Working with the OxCaml extensions to OCaml. Use when the oxcaml compiler is available and you need high-performance, unboxing, stack allocation, data-race-free parallelism.
Skill Claude CodeCodex
Standards for OCaml project metadata files. Use when initializing a new OCaml library/module, preparing for opam release, setting up CI, discussing project structure, or ensuring proper .mli/.ocamlformat files exist.
Skill Claude CodeCodex
OCaml Result type patterns using OCaml 5.x stdlib. Use when Claude needs to: (1) Handle errors with Result types, (2) Chain Result operations with let, (3) Extract values from Ok/Error, (4) Refactor code using local let bindings to use Result.Syntax.
Skill Claude CodeCodex
Working with IETF RFCs in OCaml projects. Use when mentioning RFC numbers, implementing internet standards, adding specification documentation, or discussing protocol compliance.