Add tutorial: OCaml for LLM Coding Agents#3584
Open
cuihtlauac wants to merge 1 commit into
Open
Conversation
New guide covering how to make LLM coding agents productive with OCaml projects: - Environment setup: opam exec vs dune pkg for agents - Writing effective configuration files (CLAUDE.md, .cursorrules, copilot-instructions.md) with a complete worked example - Extending agent knowledge with MCP servers (ocaml-docs, LSP, odoc Markdown output) - What agents are good at: pattern-following, refactoring, tests - What agents struggle with: type errors, dune syntax, package selection, advanced type features, PPX - Structuring projects for agent success: .mli files, focused modules, explicit types, formatting in CI Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
data/tutorials/guides/1wf_06_llm_coding_agents.md(~200 lines)Context
The existing LLM sections in the opam-path and dune-pkg tutorials cover environment setup. This guide goes further: how to configure a project so agents can actually be productive, what tools extend their knowledge, and how to work around their limitations. It's a distinct audience (developers setting up projects for agent use) with distinct content.
Test plan
make buildsucceeds/docs/llm-coding-agents/docs/opam-path,/docs/dune-pkg,/docs/reading-errorswork🤖 Generated with Claude Code