Snippets for using mlc with AI coding agents and git hooks. Copy what you need into your own project. See AI agents and automation for the details about the output and exit codes.
| Folder | What it does |
|---|---|
| agents/ | Rule for your AGENTS.md or CLAUDE.md |
| claude-code/ | Hook which checks markup files right after Claude Code edited them |
| claude-code/skills/check-links/ | Claude Code skill which teaches Claude how to run mlc and fix the findings |
| pre-commit/ | pre-commit hook which checks staged markup files |
All examples expect mlc to be on the PATH. See the installation instructions.