Merlon Docs 101
Merlon Docs is a human + AI documentation habit for technical work: you and your agent keep durable intent in small Markdown files in git, instead of only in chat history.
The problem
Section titled “The problem”Agents forget. Chat threads disappear. Giant READMEs and dump files overwhelm both humans and model context. Next week’s session cannot reliably reuse yesterday’s decisions.
How you work together
Section titled “How you work together”- You decide what must stay true (product intent, constraints, glossary).
- The agent drafts or updates small shards (one topic per file) before coding.
- You review those shards in pull requests (PRs) — you do not need to be a Markdown expert on day one.
merlon compilebuilds the guides you review (for example one README or monolith per guide).merlon check(locally or in CI) proves the documentation tree still compiles and that links and configured lint gates pass — it does not judge whether the words are correct; you and the agent do that in review.
Prompt loop
Section titled “Prompt loop”flowchart LR you["You: paste or /merlon-docs …"] --> agent["Agent: shards + config"] agent --> review["You: review in git/PR"] review --> gate["merlon check / CI"]
In a chat-only tool with no access to your repository: don’t install the toolchain yet. Keep notes in your project folder if you have one, or wait until you use an agent that can edit a git repository. Read Overview and Vision and roadmap first.
Otherwise take Path A or Path B in Get started.
Are you ready?
Section titled “Are you ready?”| Scenario | Ready? |
|---|---|
| Git repo + an agent that can edit files | Start now |
| Docs or decisions already sprawling (or about to) | Start now |
| Willing to review doc changes, not only code | Start now |
| Chat-only coding with no project folder | Wait |
| One-off toy you will not reopen | Wait |
| No interest in durable docs beyond chat | Wait |
You feel the benefit on the second session — when prior decisions are still findable — not on the first install.
What’s in the box
Section titled “What’s in the box”flowchart TB skill["Agent Skill: how agents work with docs"] --> shards["Shards: small Markdown topics in git"] shards --> cli["CLI: merlon check, the validation gate"]
- Agent Skill (definition): instructions your agent follows (
/merlon-docs, which picks a workflow for each task). - Shards: source of truth. Compiled READMEs are generated, so do not hand-edit them.
- CLI:
merlon compilebuilds the guides andmerlon checkvalidates the docs system as it grows. Both run on the Core library.
The Toolchain lists the three surfaces and their installs, and Overview explains the deeper model.