Skip to main content
reopt Handbook
reopt Handbook
Agentic Documentation

Paradigm Shift

Why Documentation Must ChangeAI-readable Design PrinciplesAI-assisted Writing Process

Practice by Document Type

Project Rule DocumentsFrom Docs to Skills, Plugins, and MCPAgent Documentation SecurityAPI Docs and SpecsREADME and OnboardingArchitecture Decision RecordsRunbooks and OperationsUser Guides and TutorialsKnowledge Bases and Internal Wikis

Operations

Maintenance StrategyTeam Documentation Culture

Appendix

TemplatesVerification ReportUpdates
Handbook›에이전틱 시대의 문서화 혁신›Why Documentation Must Change
한국어English

Why Documentation Must Change

From documents that are read to documents that agents can operate from.

Key takeaways

  • The old model (a human writes, a document stores, another human reads) no longer holds because coding agents, RAG systems, MCP clients, and AI assistants now read docs directly to plan, call tools, and verify work.
  • Modern documentation has four jobs: instructions, procedures, context, and verification, each mapped to common surfaces.
  • The new bar is not "a human understands" but "humans and agents work from the same operational context"; the higher goal is agent-operable, not just AI-readable.
  • Keep local, current, contractual, or risky facts in docs and omit generic knowledge the model already has.
  • The documentation surface has expanded across README, AGENTS.md, CLAUDE.md, path rules, Skills, Plugins, MCP Resources, OpenAPI, and llms.txt, each with a typical failure mode.

The Old Formula

For decades, technical documentation followed a simple formula:

A human writes -> a document stores -> another human reads.

Tools changed from wikis to Notion, Confluence, GitBook, and MDX sites, but the operating model stayed the same. The reader was a person, and the value of documentation was measured by how quickly that person could understand the system.

That is no longer enough. Coding agents, RAG systems, MCP clients, and AI support assistants now read project documents directly and use them to plan work, call tools, write code, and verify results.

The New Equation

Modern documentation has four jobs.

JobMeaningCommon surfaces
InstructionsTell agents how to work in a projectAGENTS.md, CLAUDE.md, .claude/rules/
ProceduresCapture repeatable workflowsSkills, commands, runbooks
ContextProvide reference facts and contractsOpenAPI, ADRs, KBs, MCP Resources
VerificationDefine how work is checkedCI, smoke tests, eval sets

Core Shift

The goal is no longer only "a human understands." The goal is "humans and agents work from the same operational context." Good documentation is AI-readable, but the higher bar is agent-operable.

What to Keep and What to Omit

Do not use documents to restate generic knowledge the model already knows. Use documents for facts that are local, current, contractual, or risky.

Keep in docsUsually omit
Project-specific architecture decisionsGeneric framework explanations
Internal conventions and exceptionsLanguage basics
Business rules and why they existGeneral design pattern tutorials
Deployment, runtime, and approval boundariesGeneric troubleshooting
Validation commands and completion criteriaBroad conceptual background

How Agents Consume Documentation

Agents do not skim documents like people. They load text into context, parse headings, follow paths, use code blocks as commands, and treat rules as planning constraints.

AGENTS.md / CLAUDE.md          -> project entry instructions
path-scoped rules              -> local constraints
Skills / runbooks              -> repeatable procedures
OpenAPI / ADR / KB / MCP        -> reference context
CI / smoke tests / evals        -> verification

This means long prose, duplicated facts, ambiguous instructions, screenshots without text, and stale links hurt both quality and cost.

The Documentation Surface Has Expanded

SurfacePurposeCommon failure
README.mdHuman entry pointBecomes a dumping ground
AGENTS.mdShared agent instructionsToo long or stale
CLAUDE.mdClaude Code memory/instructionsDuplicates AGENTS.md
.claude/rules/Path-scoped rulesConflicts with global rules
SkillsRepeatable proceduresHide static project facts
PluginsDistribute skills, MCP, and appsShip unreviewed workflows
MCP ResourcesExpose external contextTreat untrusted data as instructions
OpenAPIAPI contractDrifts from implementation
llms.txtMarkdown index proposalMisrepresented as SEO guarantee

New Principles

  1. Information density - project-specific value per token.
  2. Structure - headings, tables, code blocks, frontmatter, and stable paths.
  3. Operability - commands, completion criteria, validation, and ownership.
  4. Trust boundaries - separate instructions from data and tools from references.

What This Handbook Answers

  1. How should documents be structured so agents can parse them reliably?
  2. How should teams write with AI without accepting hallucinated facts?
  3. When should content live in AGENTS.md, CLAUDE.md, a Skill, a Plugin, MCP, OpenAPI, or llms.txt?
  4. How do teams maintain freshness, security, and ownership over time?

Related docs

Updates

Change log for the Agentic Documentation handbook.

Agent Documentation Security

Reduce prompt injection, MCP tool poisoning, Plugin supply chain risk, and excessive agency.

Prompts and Skills

Advanced Codex Usage · Design prompts, repository instructions, and reusable skills for repeatable Codex work.

Ch6. Context, Skills, Dynamic Capabilities

Enterprise Eve Agent Development · Design context, skills, dynamic tools, dynamic instructions, and dynamic skills for high-quality Eve agents.

Foundations of Harness Engineering

Harness Engineering · Define harness engineering, its scope, and why system design matters more than prompt wording for long-running agents.

Agentic Documentation

A practical guide to documentation that AI agents can read, execute, verify, and govern.

AI-readable Design Principles

Structure, density, declarative writing, navigability, and executable completion criteria.

On this page

The Old FormulaThe New EquationWhat to Keep and What to OmitHow Agents Consume DocumentationThe Documentation Surface Has ExpandedNew PrinciplesWhat This Handbook Answers