Refactor and tidy OCaml code to be more idiomatic and maintainable
/plugin marketplace add avsm/ocaml-claude-marketplace/plugin install avsm-ocaml-dev-plugins-ocaml-dev@avsm/ocaml-claude-marketplacefile-or-directory# Tidy OCaml Code This command analyzes and refactors OCaml code to make it more idiomatic, maintainable, and concise. ## Arguments Optional file or directory path: $ARGUMENTS (defaults to current directory) ## Analysis Categories ### 1. Option and Result Patterns **Look for:** - Verbose match expressions that could use combinators - Nested Option/Result handling without let*/let+ - Direct pattern matching where `Option.map`, `Option.bind`, etc. would be clearer **Transform:** ### 2. Monadic Syntax **Look for:** - Deeply nested match expressions on Result/Option - Manual error pro...