avsm

27 mods across 1 repository, 35 stars between them.

ocaml-dev

02

avsm/ocaml-claude-marketplace

Plugin Claude Code

Comprehensive OCaml development toolkit with project setup, odoc documentation, build migration, testing, RFC integration, opam publishing, and code style assistance.

35 1mo ago A tokens not measured original ISC

ai-disclosure

08

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 56 tokens original ISC

cmdliner

09

avsm/ocaml-claude-marketplace

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)…

35 1mo ago A 90 tokens original ISC

code-style

10

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 44 tokens original ISC

dune-migration

11

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 43 tokens original ISC

effects

12

avsm/ocaml-claude-marketplace

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…

35 1mo ago A 73 tokens original ISC

eio

13

avsm/ocaml-claude-marketplace

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…

35 1mo ago A 101 tokens original ISC

fuzz

14

avsm/ocaml-claude-marketplace

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…

35 1mo ago B 93 tokens original ISC

jsont

15

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 55 tokens original ISC

logs

16

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 53 tokens original ISC

memtrace

17

avsm/ocaml-claude-marketplace

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…

35 1mo ago A 74 tokens original ISC

npm-publishing

18

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 44 tokens original ISC

ocaml-docs

19

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 46 tokens original ISC

ocaml

20

avsm/ocaml-claude-marketplace

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…

35 1mo ago A 96 tokens original ISC

oxcaml

21

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 42 tokens original ISC

project-setup

22

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 50 tokens original ISC

result

23

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 64 tokens original ISC

rfc-integration

24

avsm/ocaml-claude-marketplace

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.

35 1mo ago A 35 tokens original ISC