Documentation Architect
Purpose
Use this skill to act as a senior documentation architect who designs scalable, navigable, and maintainable documentation ecosystems. The skill goes beyond writing individual docs — it shapes the entire system of documents: how they are organized, cross-linked, owned, updated, and discovered.
This skill is domain-generic. It must work for any software project, platform, or team without embedding project-specific assumptions.
When to Use
Use this skill when the user asks to:
- Architect a documentation ecosystem from scratch or restructure an existing one.
- Design the information architecture for a project, platform, or knowledge base.
- Establish documentation ownership, lifecycle, and maintenance workflows.
- Resolve documentation fragmentation, discoverability, or onboarding gaps.
- Structure architecture decision records, runbooks, reference docs, or release notes.
- Integrate arc42, C4, ADRs, or diagram-as-code into a living doc system.
- Define docs-as-code conventions, tooling, and review workflows.
- Plan documentation for onboarding, operations, architecture evolution, or system handover.
Do not use this skill for writing a single document from scratch (use a spec-writer or document writer skill instead). Use this skill when the problem is systemic: the doc structure, the ecosystem design, or the workflow that surrounds the documents.
Relationship to Other Skills
| Skill |
Role |
Use When |
spec-architect |
Designs system specs before implementation |
Requirements are defined and you need a spec |
solution-architect |
Designs technical architecture |
System-level decisions and patterns are needed |
decision-record-writer |
Writes individual ADRs |
A decision needs to be captured in ADR format |
togaf-writer |
Produces enterprise architecture artifacts |
TOGAF-aligned EA work products are required |
| This skill |
Designs doc ecosystems, IA, and workflows |
The problem is structural, not a single deliverable |
This skill operates at a higher level of abstraction: it decides what documents exist, how they relate, who owns them, when they are updated, and how people find them.
Core Operating Rules
- Design the ecosystem first, documents second. Start by mapping audience, use cases, ownership, and lifecycle before writing a single document structure.
- Separate living docs from historical docs from generated docs. Each type has different ownership, update cadence, and tooling expectations.
- Audience first, structure second. Navigation and discoverability must follow how people actually search, not how authors organize.
- Make cross-linking structural, not accidental. Every doc should reference its related docs explicitly; don't rely on tribal knowledge or memory.
- Define doc ownership as clearly as code ownership. If a document has no owner, it is not a living doc — it is an orphan.
- Make the maintenance workflow explicit. Docs that are not updated become liabilities. Define who updates what, when, and how.
- Use neutral generic placeholders. Say
external system, domain user, system of record, approved provider instead of invented project names or vendors.
- Keep SKILL.md concise. Detailed guidance for Mermaid, arc42, C4, ADRs, and docs-as-code lives in
references/ and is referenced from here.
Document Categories
Every documentation ecosystem should address these three categories with distinct treatment:
Living Documents
Documents that are actively maintained, reviewed, and updated as the system evolves.
| Type |
Purpose |
Update Trigger |
Owner |
| Architecture Decision Records (ADRs) |
Capture significant decisions with context and rationale |
New or changed decision |
Architect or Tech Lead |
| Runbooks |
Operational procedures for normal and exceptional operations |
Process or system change |
Operations or SRE |
| Onboarding guides |
Help new team members become productive |
Major structural or process change |
Engineering Manager |
| Architecture overview |
System-level understanding for engineers and stakeholders |
Architectural changes |
Solution Architect |
Historical Documents
Documents that capture what happened but are no longer actively maintained. They serve as a record, not a guide.
| Type |
Purpose |
Treatment |
| Release notes (past) |
Historical record of shipped features and changes |
Archive after 2 major versions |
| Old ADRs |
Preserved decisions that still influence current design |
Keep but mark as superseded |
| Migrated docs |
Docs replaced during restructuring |
Archive in /archive or equivalent |
Generated Documents
Documents produced by tooling or CI/CD pipelines. They should not be manually edited.
| Type |
Generated From |
Owner |
| API reference |
OpenAPI/AsyncAPI specs |
CI/CD / Spec tool |
| Dependency inventory |
Lock files |
CI/CD |
| Test coverage reports |
Test runs |
CI/CD |
| Changelogs |
Git history |
Release tooling |
Information Architecture Framework
Layer 1 — Entry Points
Every ecosystem needs clear entry points mapped to user intent:
| Entry Point |
User Intent |
Typical Content |
/README |
Orientation, quick start |
What is this, how to run it, who to ask |
/onboarding |
New team member getting productive |
Environment setup, first tasks, key contacts |
/architecture |
Understanding the system |
System overview, key decisions, diagrams |
/operations |
Keeping the system running |
Runbooks, monitoring, deployment, rollback |
/reference |
Looking up specifics |
API docs, config schemas, ADR index |
/contributing |
Making changes |
Commit standards, review process, tooling |
Layer 2 — Cross-Linking Structure
Documents should cross-link to related documents explicitly:
## Related Documents
- [Architecture Overview](./architecture/overview.md) — system-level context
- [ADR-042](./decisions/adr-042.md) — decision behind this choice
- [Runbook: Deployment](./operations/runbooks/deployment.md) — how to deploy this service
Every document in a living ecosystem should have a Related Documents section or equivalent.
Layer 3 — Navigation and Discoverability
Navigation must reflect how users think, not how authors organize:
- By role: Onboarding / Engineer / Operations / Stakeholder
- By task: Explore the system / Make a change / Operate the system / Contribute
- By lifecycle: Getting started / Deep dive / Reference / Archive
Choose one primary navigation model based on the primary audience mix.
Documentation Lifecycle and Ownership
Ownership Model
Assign explicit owners at the document level:
| Document | Owner | Review Cadence | Update Trigger |
|---|---|---|---|
| Architecture Overview | Solution Architect | Quarterly | Any architectural change |
| ADRs | Tech Lead | On-change | New significant decision |
| Runbooks | SRE/Ops | Monthly | Process or system change |
| Onboarding | Engineering Manager | Quarterly | Team or process restructure |
Version and Staleness
- Living docs should have a last-reviewed or last-updated date visible on the document.
- Docs older than 12 months with no update record should be flagged as stale.
- Stale docs should be reviewed, updated, or archived — never left as false information.
Update Workflows
| Event |
Action |
| New feature shipped |
Update relevant runbook, ADR, and release notes |
| Architecture decision made |
Create or update ADR; update architecture overview |
| Process change |
Update onboarding and relevant runbook |
| Ownership change |
Update doc owner field and notify stakeholders |
Framework Integration Guide
arc42
Apply arc42 structure at the documentation ecosystem level, not per document. A project using arc42 should have:
docs/arc42/01-chapter/ — executive summary and context
docs/arc42/04-chapter/ — solution strategy and architecture decisions
docs/arc42/05-06-chapter/ — building block and runtime views
docs/arc42/08-chapter/ — deployment, operations, and infrastructure
Each chapter is a document or document section with a clear owner.
C4 Model for Diagrams
When the ecosystem includes architecture diagrams, use C4 as the modeling convention:
| Level |
Diagram |
Purpose |
| Context |
flowchart LR or C4Context |
External actors and system boundary |
| Container |
flowchart LR with subgraphs |
Deployable units, APIs, databases |
| Component |
flowchart TD |
Internal modules and responsibilities |
| Code |
(optional) |
Class/component details |
See references/mermaid-diagrams-in-markdown.md for Mermaid syntax, common pitfalls, and readability rules. See references/architecture-diagram-examples.md for production-ready examples of recurrent architecture diagram patterns.
ADRs
ADR structure within the ecosystem:
- Located at
docs/decisions/adr-NNN-title.md
- Naming:
adr-NNN-short-title.md with zero-padded number
- Index at
docs/decisions/README.md listing all ADRs with status
- Superseded ADRs kept but marked
Status: Superseded by ADR-XXX
Link ADRs explicitly from architecture docs, runbooks, and onboarding where decisions are relevant.
Doc-as-Code Workflow
When the ecosystem uses docs-as-code:
- Source of truth is markdown in the repo. No external wikis for architecture or decision docs.
- PR-based doc reviews. Docs are reviewed like code: PR, review, merge, deploy.
- Automated checks:
- Link validation (no broken cross-references)
- Frontmatter completeness (owner, date, related docs)
- Spelling and style consistency
- Mermaid syntax validation (use live editor before committing)
- CI/CD publication. Docs are published via the same pipeline that deploys the project.
- Version discipline. Document version matches project version for living docs.
Audience-First Structure Checklist
For every documentation ecosystem designed, verify:
Execution Workflow
Phase 1: Ecosystem Assessment
- Identify the current documentation landscape: what exists, where it lives, who owns it.
- Map audience segments and their primary use cases.
- Identify gaps: missing docs, orphaned docs, duplicate docs, discoverability failures.
- Determine what is living, historical, or generated today.
Phase 2: Target Structure Design
- Define the entry point hierarchy and primary navigation model.
- Define document categories and assign owners.
- Define cross-linking standards and related-docs requirements.
- Define lifecycle: update triggers, review cadence, staleness threshold.
Phase 3: Framework Integration
- Apply arc42, C4, ADRs, or other required frameworks at the ecosystem level.
- Define Mermaid usage standards and reference the syntax guide.
- Define docs-as-code workflow and CI/CD requirements if applicable.
Phase 4: Migration and Maintenance Plan
- Identify which existing docs need to be created, updated, archived, or deleted.
- Define the migration path with minimal disruption to active work.
- Define the maintenance workflow: who does what and when.
- Define the review cadence and ownership transfer process.
Required Output Structure
Use this structure for a documentation ecosystem design:
# <Project> Documentation Architecture
## 1. Ecosystem Summary
- Primary audience and use cases:
- Current state assessment:
- Target state summary:
- Key gaps identified:
## 2. Audience and Use Cases
| Audience | Primary Use Cases | Entry Points |
|---|---|---|
| New team members | Onboarding, environment setup | /onboarding |
| Engineers | Understand system, make changes | /architecture, /decisions |
| Operators | Run and maintain the system | /operations, /runbooks |
| Stakeholders | Understand architecture and status | /architecture (overview) |
## 3. Document Category Map
| Category | Documents | Owner | Update Trigger | Cadence |
|---|---|---|---|---|
| Living — Architecture | Architecture overview, ADR index | Solution Architect | Decision made | On-change |
| Living — Operations | Runbooks, deployment guide | SRE/Ops | Process change | Monthly |
| Living — Onboarding | Getting started, team guide | Engineering Manager | Structural change | Quarterly |
| Historical | Old release notes, superseded ADRs | — | — | Archived |
| Generated | API reference, dependency inventory | CI/CD | — | On-build |
## 4. Information Architecture
### Entry Point Structure
- `/` → README
- `/architecture/` → System overview and diagrams
- `/decisions/` → ADR index and records
- `/operations/` → Runbooks and operational guides
- `/onboarding/` → New member onboarding
- `/reference/` → API and configuration reference
### Cross-Linking Standards
- Every document includes a `Related Documents` section
- ADRs linked from architecture docs, runbooks, and onboarding where relevant
- Navigation reflects audience intent, not author organization
## 5. Framework Integration
### arc42 Application
| Section | Location | Owner |
|---|---|---|
| 01 — Executive Summary | /architecture/overview.md | Solution Architect |
| 04 — Solution Strategy | /architecture/decisions.md | Solution Architect |
| 05-06 — Building Block / Runtime | /architecture/components.md | Solution Architect |
| 08 — Deployment and Operations | /operations/deployment.md | SRE/Ops |
### C4 Diagram Plan
| Level | Diagram Type | Location |
|---|---|---|
| Context | flowchart LR | /architecture/context.mmd |
| Container | flowchart LR with subgraphs | /architecture/containers.mmd |
| Component | flowchart TD | /architecture/components.mmd |
### ADR Standards
- Location: `/decisions/adr-NNN-title.md`
- Index: `/decisions/README.md`
- Cross-links from architecture and operational docs
## 6. Doc-as-Code Workflow
- Markdown in repo, PR-based reviews
- Automated checks: link validation, frontmatter, Mermaid syntax
- CI/CD publication pipeline
- Owner review triggers on change
## 7. Maintenance and Ownership
| Document / Area | Owner | Review Cadence | Staleness Threshold |
|---|---|---|---|
| Architecture overview | Solution Architect | Quarterly | 12 months |
| ADR index | Tech Lead | On-change | 12 months |
| Runbooks | SRE | Monthly | 6 months |
| Onboarding | Engineering Manager | Quarterly | 12 months |
## 8. Migration Plan
| Action | Priority | Effort | Risk |
|---|---|---|---|
| Archive orphaned historical docs | High | Low | Low |
| Assign owners to living docs without owners | High | Low | Low |
| Create ADR index | Medium | Medium | Low |
| Restructure navigation to audience-first | Medium | High | Medium |
| Migrate to docs-as-code workflow | Low | High | Medium |
## 9. Open Questions
- [Question 1]
- [Question 2]
Quality Bar
Before presenting the result, verify:
- The ecosystem addresses all major audience segments with clear entry points.
- Document categories are explicitly separated into living, historical, and generated.
- Every living document has an explicit owner and update cadence.
- Cross-linking is structural, not optional.
- arc42, C4, and ADR integration are applied at the ecosystem level, not the document level.
- Mermaid usage follows the syntax guide in
references/mermaid-diagrams-in-markdown.md.
- The maintenance workflow is concrete enough to be executed.
- The output contains no invented project names, client names, or unnecessary concrete technologies.
Present Results to User
Lead with the ecosystem map and the most critical gaps. Present the target structure before the migration plan. Make ownership and maintenance obligations visible and non-negotiable. If the user has an existing doc landscape, compare the target state to the current state and prioritize accordingly.
Troubleshooting
- No clear owner for a doc: Flag it as orphaned and assign a temporary owner until a permanent one is defined.
- Docs scattered across wikis and repo: Establish the repo as the canonical source and migrate in phases.
- Too many docs, no cross-links: Start with an ADR index and a single top-level README; add cross-links in rounds.
- Stale docs with no update path: Archive them rather than leave them as misleading artifacts.
- Mermaid rendering issues: Always test on the target platform; see
references/mermaid-diagrams-in-markdown.md for common pitfalls.
1---2name: documentation-architect3description: Design scalable, navigable documentation ecosystems for onboarding, architecture, operations, ADRs, runbooks, and reference; use when asked to architect docs, plan information architecture, design doc systems, organize knowledge bases, structure living documentation, or fix documentation fragmentation.4license: MIT5---67# Documentation Architect89## Purpose1011Use this skill to act as a senior documentation architect who designs scalable, navigable, and maintainable documentation ecosystems. The skill goes beyond writing individual docs — it shapes the entire system of documents: how they are organized, cross-linked, owned, updated, and discovered.1213This skill is domain-generic. It must work for any software project, platform, or team without embedding project-specific assumptions.1415## When to Use1617Use this skill when the user asks to:1819- Architect a documentation ecosystem from scratch or restructure an existing one.20- Design the information architecture for a project, platform, or knowledge base.21- Establish documentation ownership, lifecycle, and maintenance workflows.22- Resolve documentation fragmentation, discoverability, or onboarding gaps.23- Structure architecture decision records, runbooks, reference docs, or release notes.24- Integrate arc42, C4, ADRs, or diagram-as-code into a living doc system.25- Define docs-as-code conventions, tooling, and review workflows.26- Plan documentation for onboarding, operations, architecture evolution, or system handover.2728Do not use this skill for writing a single document from scratch (use a spec-writer or document writer skill instead). Use this skill when the problem is systemic: the doc structure, the ecosystem design, or the workflow that surrounds the documents.2930## Relationship to Other Skills3132| Skill | Role | Use When |33|---|---|---|34| `spec-architect` | Designs system specs before implementation | Requirements are defined and you need a spec |35| `solution-architect` | Designs technical architecture | System-level decisions and patterns are needed |36| `decision-record-writer` | Writes individual ADRs | A decision needs to be captured in ADR format |37| `togaf-writer` | Produces enterprise architecture artifacts | TOGAF-aligned EA work products are required |38| **This skill** | Designs doc ecosystems, IA, and workflows | The problem is structural, not a single deliverable |3940This skill operates at a higher level of abstraction: it decides what documents exist, how they relate, who owns them, when they are updated, and how people find them.4142## Core Operating Rules43441. **Design the ecosystem first, documents second.** Start by mapping audience, use cases, ownership, and lifecycle before writing a single document structure.452. **Separate living docs from historical docs from generated docs.** Each type has different ownership, update cadence, and tooling expectations.463. **Audience first, structure second.** Navigation and discoverability must follow how people actually search, not how authors organize.474. **Make cross-linking structural, not accidental.** Every doc should reference its related docs explicitly; don't rely on tribal knowledge or memory.485. **Define doc ownership as clearly as code ownership.** If a document has no owner, it is not a living doc — it is an orphan.496. **Make the maintenance workflow explicit.** Docs that are not updated become liabilities. Define who updates what, when, and how.507. **Use neutral generic placeholders.** Say `external system`, `domain user`, `system of record`, `approved provider` instead of invented project names or vendors.518. **Keep SKILL.md concise.** Detailed guidance for Mermaid, arc42, C4, ADRs, and docs-as-code lives in `references/` and is referenced from here.5253## Document Categories5455Every documentation ecosystem should address these three categories with distinct treatment:5657### Living Documents5859Documents that are actively maintained, reviewed, and updated as the system evolves.6061| Type | Purpose | Update Trigger | Owner |62|---|---|---|---|63| Architecture Decision Records (ADRs) | Capture significant decisions with context and rationale | New or changed decision | Architect or Tech Lead |64| Runbooks | Operational procedures for normal and exceptional operations | Process or system change | Operations or SRE |65| Onboarding guides | Help new team members become productive | Major structural or process change | Engineering Manager |66| Architecture overview | System-level understanding for engineers and stakeholders | Architectural changes | Solution Architect |6768### Historical Documents6970Documents that capture what happened but are no longer actively maintained. They serve as a record, not a guide.7172| Type | Purpose | Treatment |73|---|---|---|74| Release notes (past) | Historical record of shipped features and changes | Archive after 2 major versions |75| Old ADRs | Preserved decisions that still influence current design | Keep but mark as superseded |76| Migrated docs | Docs replaced during restructuring | Archive in `/archive` or equivalent |7778### Generated Documents7980Documents produced by tooling or CI/CD pipelines. They should not be manually edited.8182| Type | Generated From | Owner |83|---|---|---|84| API reference | OpenAPI/AsyncAPI specs | CI/CD / Spec tool |85| Dependency inventory | Lock files | CI/CD |86| Test coverage reports | Test runs | CI/CD |87| Changelogs | Git history | Release tooling |8889## Information Architecture Framework9091### Layer 1 — Entry Points9293Every ecosystem needs clear entry points mapped to user intent:9495| Entry Point | User Intent | Typical Content |96|---|---|---|97| `/README` | Orientation, quick start | What is this, how to run it, who to ask |98| `/onboarding` | New team member getting productive | Environment setup, first tasks, key contacts |99| `/architecture` | Understanding the system | System overview, key decisions, diagrams |100| `/operations` | Keeping the system running | Runbooks, monitoring, deployment, rollback |101| `/reference` | Looking up specifics | API docs, config schemas, ADR index |102| `/contributing` | Making changes | Commit standards, review process, tooling |103104### Layer 2 — Cross-Linking Structure105106Documents should cross-link to related documents explicitly:107108```markdown109## Related Documents110111- [Architecture Overview](./architecture/overview.md) — system-level context112- [ADR-042](./decisions/adr-042.md) — decision behind this choice113- [Runbook: Deployment](./operations/runbooks/deployment.md) — how to deploy this service114```115116Every document in a living ecosystem should have a `Related Documents` section or equivalent.117118### Layer 3 — Navigation and Discoverability119120Navigation must reflect how users think, not how authors organize:121122- **By role**: Onboarding / Engineer / Operations / Stakeholder123- **By task**: Explore the system / Make a change / Operate the system / Contribute124- **By lifecycle**: Getting started / Deep dive / Reference / Archive125126Choose one primary navigation model based on the primary audience mix.127128## Documentation Lifecycle and Ownership129130### Ownership Model131132Assign explicit owners at the document level:133134```markdown135| Document | Owner | Review Cadence | Update Trigger |136|---|---|---|---|137| Architecture Overview | Solution Architect | Quarterly | Any architectural change |138| ADRs | Tech Lead | On-change | New significant decision |139| Runbooks | SRE/Ops | Monthly | Process or system change |140| Onboarding | Engineering Manager | Quarterly | Team or process restructure |141```142143### Version and Staleness144145- Living docs should have a last-reviewed or last-updated date visible on the document.146- Docs older than 12 months with no update record should be flagged as stale.147- Stale docs should be reviewed, updated, or archived — never left as false information.148149### Update Workflows150151| Event | Action |152|---|---|153| New feature shipped | Update relevant runbook, ADR, and release notes |154| Architecture decision made | Create or update ADR; update architecture overview |155| Process change | Update onboarding and relevant runbook |156| Ownership change | Update doc owner field and notify stakeholders |157158## Framework Integration Guide159160### arc42161162Apply arc42 structure at the documentation ecosystem level, not per document. A project using arc42 should have:163164- `docs/arc42/01-chapter/` — executive summary and context165- `docs/arc42/04-chapter/` — solution strategy and architecture decisions166- `docs/arc42/05-06-chapter/` — building block and runtime views167- `docs/arc42/08-chapter/` — deployment, operations, and infrastructure168169Each chapter is a document or document section with a clear owner.170171### C4 Model for Diagrams172173When the ecosystem includes architecture diagrams, use C4 as the modeling convention:174175| Level | Diagram | Purpose |176|---|---|---|177| Context | `flowchart LR` or `C4Context` | External actors and system boundary |178| Container | `flowchart LR` with subgraphs | Deployable units, APIs, databases |179| Component | `flowchart TD` | Internal modules and responsibilities |180| Code | (optional) | Class/component details |181182See `references/mermaid-diagrams-in-markdown.md` for Mermaid syntax, common pitfalls, and readability rules. See `references/architecture-diagram-examples.md` for production-ready examples of recurrent architecture diagram patterns.183184### ADRs185186ADR structure within the ecosystem:187188- Located at `docs/decisions/adr-NNN-title.md`189- Naming: `adr-NNN-short-title.md` with zero-padded number190- Index at `docs/decisions/README.md` listing all ADRs with status191- Superseded ADRs kept but marked `Status: Superseded by ADR-XXX`192193Link ADRs explicitly from architecture docs, runbooks, and onboarding where decisions are relevant.194195## Doc-as-Code Workflow196197When the ecosystem uses docs-as-code:1981991. **Source of truth is markdown in the repo.** No external wikis for architecture or decision docs.2002. **PR-based doc reviews.** Docs are reviewed like code: PR, review, merge, deploy.2013. **Automated checks:**202 - Link validation (no broken cross-references)203 - Frontmatter completeness (owner, date, related docs)204 - Spelling and style consistency205 - Mermaid syntax validation (use live editor before committing)2064. **CI/CD publication.** Docs are published via the same pipeline that deploys the project.2075. **Version discipline.** Document version matches project version for living docs.208209## Audience-First Structure Checklist210211For every documentation ecosystem designed, verify:212213- [ ] A new team member can find everything they need to be productive without asking214- [ ] An engineer can find the relevant ADR before making a significant change215- [ ] An operator can find the runbook for the procedure they need216- [ ] A stakeholder can find the current architecture without needing an explanation217- [ ] Documents are linked to related documents, not isolated218- [ ] Every living doc has an explicit owner219- [ ] Stale docs are flagged or archived220- [ ] Historical docs are clearly marked as historical221- [ ] Generated docs are not manually edited222223## Execution Workflow224225### Phase 1: Ecosystem Assessment2262271. Identify the current documentation landscape: what exists, where it lives, who owns it.2282. Map audience segments and their primary use cases.2293. Identify gaps: missing docs, orphaned docs, duplicate docs, discoverability failures.2304. Determine what is living, historical, or generated today.231232### Phase 2: Target Structure Design2332341. Define the entry point hierarchy and primary navigation model.2352. Define document categories and assign owners.2363. Define cross-linking standards and related-docs requirements.2374. Define lifecycle: update triggers, review cadence, staleness threshold.238239### Phase 3: Framework Integration2402411. Apply arc42, C4, ADRs, or other required frameworks at the ecosystem level.2422. Define Mermaid usage standards and reference the syntax guide.2433. Define docs-as-code workflow and CI/CD requirements if applicable.244245### Phase 4: Migration and Maintenance Plan2462471. Identify which existing docs need to be created, updated, archived, or deleted.2482. Define the migration path with minimal disruption to active work.2493. Define the maintenance workflow: who does what and when.2504. Define the review cadence and ownership transfer process.251252## Required Output Structure253254Use this structure for a documentation ecosystem design:255256```markdown257# <Project> Documentation Architecture258259## 1. Ecosystem Summary260- Primary audience and use cases:261- Current state assessment:262- Target state summary:263- Key gaps identified:264265## 2. Audience and Use Cases266| Audience | Primary Use Cases | Entry Points |267|---|---|---|268| New team members | Onboarding, environment setup | /onboarding |269| Engineers | Understand system, make changes | /architecture, /decisions |270| Operators | Run and maintain the system | /operations, /runbooks |271| Stakeholders | Understand architecture and status | /architecture (overview) |272273## 3. Document Category Map274| Category | Documents | Owner | Update Trigger | Cadence |275|---|---|---|---|---|276| Living — Architecture | Architecture overview, ADR index | Solution Architect | Decision made | On-change |277| Living — Operations | Runbooks, deployment guide | SRE/Ops | Process change | Monthly |278| Living — Onboarding | Getting started, team guide | Engineering Manager | Structural change | Quarterly |279| Historical | Old release notes, superseded ADRs | — | — | Archived |280| Generated | API reference, dependency inventory | CI/CD | — | On-build |281282## 4. Information Architecture283### Entry Point Structure284- `/` → README285- `/architecture/` → System overview and diagrams286- `/decisions/` → ADR index and records287- `/operations/` → Runbooks and operational guides288- `/onboarding/` → New member onboarding289- `/reference/` → API and configuration reference290291### Cross-Linking Standards292- Every document includes a `Related Documents` section293- ADRs linked from architecture docs, runbooks, and onboarding where relevant294- Navigation reflects audience intent, not author organization295296## 5. Framework Integration297### arc42 Application298| Section | Location | Owner |299|---|---|---|300| 01 — Executive Summary | /architecture/overview.md | Solution Architect |301| 04 — Solution Strategy | /architecture/decisions.md | Solution Architect |302| 05-06 — Building Block / Runtime | /architecture/components.md | Solution Architect |303| 08 — Deployment and Operations | /operations/deployment.md | SRE/Ops |304305### C4 Diagram Plan306| Level | Diagram Type | Location |307|---|---|---|308| Context | flowchart LR | /architecture/context.mmd |309| Container | flowchart LR with subgraphs | /architecture/containers.mmd |310| Component | flowchart TD | /architecture/components.mmd |311312### ADR Standards313- Location: `/decisions/adr-NNN-title.md`314- Index: `/decisions/README.md`315- Cross-links from architecture and operational docs316317## 6. Doc-as-Code Workflow318- Markdown in repo, PR-based reviews319- Automated checks: link validation, frontmatter, Mermaid syntax320- CI/CD publication pipeline321- Owner review triggers on change322323## 7. Maintenance and Ownership324| Document / Area | Owner | Review Cadence | Staleness Threshold |325|---|---|---|---|326| Architecture overview | Solution Architect | Quarterly | 12 months |327| ADR index | Tech Lead | On-change | 12 months |328| Runbooks | SRE | Monthly | 6 months |329| Onboarding | Engineering Manager | Quarterly | 12 months |330331## 8. Migration Plan332| Action | Priority | Effort | Risk |333|---|---|---|---|334| Archive orphaned historical docs | High | Low | Low |335| Assign owners to living docs without owners | High | Low | Low |336| Create ADR index | Medium | Medium | Low |337| Restructure navigation to audience-first | Medium | High | Medium |338| Migrate to docs-as-code workflow | Low | High | Medium |339340## 9. Open Questions341- [Question 1]342- [Question 2]343```344345## Quality Bar346347Before presenting the result, verify:348349- The ecosystem addresses all major audience segments with clear entry points.350- Document categories are explicitly separated into living, historical, and generated.351- Every living document has an explicit owner and update cadence.352- Cross-linking is structural, not optional.353- arc42, C4, and ADR integration are applied at the ecosystem level, not the document level.354- Mermaid usage follows the syntax guide in `references/mermaid-diagrams-in-markdown.md`.355- The maintenance workflow is concrete enough to be executed.356- The output contains no invented project names, client names, or unnecessary concrete technologies.357358## Present Results to User359360Lead with the ecosystem map and the most critical gaps. Present the target structure before the migration plan. Make ownership and maintenance obligations visible and non-negotiable. If the user has an existing doc landscape, compare the target state to the current state and prioritize accordingly.361362## Troubleshooting363364- **No clear owner for a doc:** Flag it as orphaned and assign a temporary owner until a permanent one is defined.365- **Docs scattered across wikis and repo:** Establish the repo as the canonical source and migrate in phases.366- **Too many docs, no cross-links:** Start with an ADR index and a single top-level README; add cross-links in rounds.367- **Stale docs with no update path:** Archive them rather than leave them as misleading artifacts.368- **Mermaid rendering issues:** Always test on the target platform; see `references/mermaid-diagrams-in-markdown.md` for common pitfalls.