md-docs
Markdown Documentation Management
Overview
Manage project documentation for Claude Code workflows including README.md and agent context files (AGENTS.md / CLAUDE.md). This skill enforces a strict audience split: README.md is for humans, AGENTS.md is for agents and developers running commands. Use this skill when initializing new projects, updating existing documentation, or ensuring context files accurately reflect current code.
By default the skill operates recursively across the whole repository, not just the root. update-* workflows find and refresh every existing README.md / AGENTS.md in the tree; init-* workflows create files at the repo root and at each package root (a directory holding a manifest or workspace member) that lacks one. Each file is scoped to its own directory subtree and the nearest enclosing manifest. Pass --root-only to restrict any workflow to the repository root, or pass a path argument to limit the sweep to one subtree.
The skill emphasizes verification and validation over blind generation — analyze the actual codebase structure, file contents, and patterns before creating or updating documentation. All generated content should be terse, imperative, and expert-to-expert rather than verbose or tutorial-style.
Audience Split
This is the central rule for everything this skill produces.
| File | Audience | Contains | Excludes |
|---|---|---|---|
README.md |
Humans browsing the repo (GitHub, npm, etc.) | Description, badges, links to docs/site/demo, references, papers, related work, acknowledgments, license, contributing pointer | Any CLI commands, just recipes, package scripts, build/test/lint workflows, project structure trees, API reference |
AGENTS.md (and CLAUDE.md symlink) |
AI agents and developers working in the repo | Stack, commands (install, dev, build, test, lint), just recipes, package.json scripts, Makefile targets, code style, architecture, conventions, contribution workflow |
Marketing copy, badges, external links unrelated to development |