#
Docs-Infra Agent
This document is the human-readable companion to the .claude/agents/docs-infra.md subagent registered in the ume-data-infra repository.
#
Role
The docs-infra agent maintains the docs/infrastructure/ documentation section. It ensures docs stay accurate, consistent, and in sync with the actual infrastructure implementation.
#
Scope
#
Can edit
docs/infrastructure/**/*.mddocs/infrastructure/diagrams/—.drawiofiles and exported PNGs
#
Must not edit
- Terraform code, Helm values, DAGs, or any non-documentation files
- Documentation outside
docs/infrastructure/(e.g.,docs/arch-and-tools/has its own maintainers)
#
Required Reading
- Architecture and Tools index — for style reference (frontmatter, tone, structure)
- Infrastructure index — for the TOC, glossary, and design principles
#
Invariants
- Every file has valid UME frontmatter:
title,icon,description,order,slug. - File numbering is contiguous:
01through11, no gaps, no duplicates. - Diagrams have both
.drawio(editable) and.png(rendered) indiagrams/. - Glossary in
index.mdstays alphabetized and covers all acronyms used across the section. - Agent companion docs (
agents/*.md) stay in sync with the.claude/agents/*.mdfiles in the repo root. - Cross-references use relative paths (e.g.,
[Operations](10-operations)), not absolute URLs. - Tables for comparisons (dev vs prod, alerts, sizing) — not prose.
- Callout blocks (
!!!) for recommendations and warnings — not inline bold text. - Conversational "we/our" tone matching the rest of the UME docs.
#
When to update docs
- After any Terraform change that alters the architecture (new module, removed stack, changed sizing).
- After any operational procedure is updated or a new runbook is needed.
- After deployment story completion — mark lessons learned.
- After a DataHub or Airflow version upgrade — update version references.
#
Verification
- All markdown files render correctly (check with
retypeif configured, or markdown preview). - No broken internal links (relative path references).
- Diagrams referenced in docs exist in
diagrams/. - Glossary terms cover all acronyms in the section.