dune
Copilot instructions1.9k starsChanged 4 months agoMITView on GitHub
For full development guidance, see AGENTS.md. The setup workflow prepares Copilot's development environment. Run repository commands directly: Follow the repository review checklist in doc/dev/prompts/review-check.md.
We split this copilot-instructions.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Follow the repository review checklist in doc/dev/prompts/review-check.md.
≈ “Common” is an estimate: at least 1 in 5 of the 3,669 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions
For full development guidance, see AGENTS.md.
Common Commands
The setup workflow prepares Copilot's development environment. Run repository commands directly:
dune build @check # Quick build (recommended)
dune build @install # Full build
dune runtest dir/ # Run tests in a directory
dune runtest dir/test.t # Run a specific cram test
dune fmt # Auto-format code (run before committing)
dune promote # Accept test output changes (ask user first)
make dev # Full build (bootstraps if necessary)Reviewing PRs
Follow the repository review checklist in doc/dev/prompts/review-check.md.
Trending
Quiet since January.about the whole repository
Who's talking about ocaml/dune
- microsoft/vscode“terminal doesn't recognize filename and line number”GitHub · Jan 20, 2023 · 74 reactions
- ocaml/setup-ocaml“setup-ocaml v2”GitHub · Mar 26, 2021 · 15 reactions
- mirage/mirage“Use dune to build the unikernel”GitHub · May 5, 2020 · 11 reactions
- Stack Overflow“unbound module in OCaml / dune build”Stack Overflow · Jan 6, 2019 · 9 votes
- yallop/ocaml-ctypes“[wip] Port to Dune”GitHub · Dec 31, 2018 · 6 reactions
The biggest 5 of 34 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 34
Talked about on GitHub and Stack Overflow (34 times).
On GitHub · 29
- Jan 20, 2023terminal doesn't recognize filename and line number — microsoft/vscode74 reactions · 11 comments
- Mar 26, 2021setup-ocaml v2 — ocaml/setup-ocaml15 reactions · 11 comments
- May 5, 2020Use dune to build the unikernel — mirage/mirage11 reactions · 14 comments
- Dec 31, 2018[wip] Port to Dune — yallop/ocaml-ctypes6 reactions · 70 comments
- Mar 27, 2018Adapt the tool to projects compiled with dune — LexiFi/dead_code_analyzer5 reactions · 4 comments
24 more on GitHub
- Feb 11, 2022[new release] xdg, stdune, ordering, fiber, dyn, dune, dune-site, dune-rpc, dune-rpc-lwt, dune-private-libs, dune-glob, dune-configurator, dune-build-info and dune-action-plugin (3.0.0) — ocaml/opam-repository4 reactions · 21 comments
- Jan 12, 2026dune_3: 3.20.2 -> 3.21.0 — NixOS/nixpkgs3 reactions · 1 comment
- Nov 27, 2025opam `env_hook` is too agressive, and makes the default install configuration of opam behave invasively in the shell environment — ocaml/opam3 reactions · 1 comment
- Apr 2, 2024Separate compilation — ocaml-wasm/wasm_of_ocaml3 reactions
- Aug 29, 2023Support melange — anuragsoni/routes3 reactions · 3 comments
- May 23, 2023[new release] dune (15 packages) (3.8.0) — ocaml/opam-repository3 reactions · 7 comments
- Feb 21, 2023Insert a blank line between consecutive compiler messages — ocaml/ocaml3 reactions · 8 comments
- Nov 24, 2022React JSX PPX umbrella issue — melange-re/melange3 reactions · 7 comments
- Apr 14, 2020Use MDX to test the README example — mirage/irmin3 reactions · 11 comments
- Dec 13, 2019[new release] dune-build-info, dune, dune-configurator, dune-action-plugin, dune-private-libs and dune-glob (2.1.0) — ocaml/opam-repository3 reactions · 7 comments
- May 28, 2019Coverage support — rocq-prover/rocq3 reactions · 1 comment
- Oct 13, 2018[build] [dune] Switch to a Dune-based build system. — rocq-prover/rocq3 reactions · 106 comments
- Jul 11, 2018Add support for odoc — realworldocaml/mdx3 reactions · 8 comments
- Feb 28, 2018[build] Preliminary support for building with `dune`. — rocq-prover/rocq3 reactions · 137 comments
- May 21, 2025[new release] dune (15 packages) (3.19.0) — ocaml/opam-repository2 reactions · 3 comments
- Feb 21, 2025Avoid runtest on saturn.0.4.1 with OCaml 4 — ocaml/opam-repository2 reactions · 3 comments
- Feb 6, 2025data scraper for Changelogs — ocaml/ocaml.org2 reactions · 4 comments
- Jan 7, 2023Initial Javascript browser backend — ocaml-multicore/eio2 reactions · 24 comments
- May 25, 2022Enable formatting projects without an `.ocamlformat` by default — ocaml-ppx/ocamlformat2 reactions · 9 comments
- May 23, 2021[WIP] use dune ctypes stanza support to eliminate boilerplate — aantron/luv2 reactions · 1 comment
- Feb 2, 2020Feature: Create interface file — ocaml/ocaml-lsp2 reactions · 6 comments
- Aug 17, 2019bsconfig: per-directory and dev ppx-flags needed for Bisect_ppx (coverage) — rescript-lang/rescript2 reactions · 26 comments
- Jun 6, 2019Pulling dune repo fails with "would clobber existing tag", requires manual intervention — doomemacs/core2 reactions · 6 comments
- Apr 15, 2019[WISH] per file ppx flags — ocaml/merlin2 reactions · 2 comments
On Stack Overflow · 5
- Jan 6, 2019unbound module in OCaml / dune build9 votes
- Feb 25, 2019OCaml: dune missing library, opam says its there3 votes
- Jun 16, 2023Generating executable .ml test cases from a glob of plaintext files using dune2 votes · 1 answer
- Feb 19, 2024Installing Dune with the help of Opam1 vote
- Dec 10, 2019How do I read thousand of files into memory without exhausting file descriptors?0 votes · 2 answers
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,297 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- test/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- review-checkSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

