Ark Documentation
Guidance for structuring Ark documentation using Diataxis adapted for Ark's needs.
When to use this skill
- Creating new documentation
- Deciding where content belongs
- Reviewing documentation PRs
- Restructuring existing documentation
ARK's Diataxis structure
docs/content/
├── Introduction
├── Quickstart
├── Tutorials → Linear learning paths
├── How-to Guides → Task-oriented, by persona
├── Core Concepts → Understanding "why" and "how"
├── Reference → Factual lookup material
├── Marketplace → External link
└── Disclaimer
Terminology
| Diataxis |
Ark Term |
Why |
| Explanation |
Core Concepts |
More accessible |
The four quadrants
1. Tutorials (learning-oriented)
Purpose: Hands-on lessons for newcomers.
Characteristics:
- Linear, numbered paths (1, 2, 3...)
- Single prescribed path - no choices
- Frequent visible results
- Ends with "Next step" → How-to Guides
Writing style:
- Use "we" language
- Don't explain - link to Core Concepts
Content belongs here if:
- It teaches a skill through doing
- Reader is studying, not working
- Success requires following steps in order
Examples: Quickstart, Running the Dashboard, Starting a New Project, Complete Worked Example
2. How-to guides (task-oriented)
Purpose: Help competent users complete specific tasks.
Organized by persona:
Build with ARK (application developers)
- Configure models, create agents, coordinate teams, run queries, add tools.
Extend ARK (contributors)
- Build services locally, implement APIs, build A2A servers, add tests.
Operate ARK (operators / SRE / security)
- Platform operations: Provisioning, deploying
- CI/CD and supply chain: Build pipelines
- Security & assurance: Pen testing, code analysis
Writing style:
- Goal-oriented: "If you want X, do Y"
- Assumes competence
- Don't teach - link to Tutorials or Core Concepts
Content belongs here if:
- Reader has a specific task to complete
- Reader is working, not studying
3. Core concepts (understanding-oriented)
Purpose: Explain what ARK is, how it's designed, and why.
Topics:
- What ARK is and how it works.
- Design effective agentic systems.
- Platform architecture concepts.
- Extensibility concepts.
- Security and identity concepts.
Writing style:
- Discursive: "The reason for X is..."
- Make connections between concepts
- Provide design decision context
Content belongs here if:
- It answers "why" or "how does this work"
- Reader is deciding how to design/extend/operate
- Content provides context, not procedures
4. Reference (information-oriented)
Purpose: Factual lookup material.
Organized by type:
- Interfaces: ARK APIs.
- Kubernetes API: CRDs, resources.
- Evaluations: Guides, event-based evaluations.
- System behavior: Query execution, relationships.
- Operations: Upgrading, troubleshooting.
- Project: Contributors.
Writing style:
- Austere, factual, neutral
- Structure mirrors product
- No instruction, explanation, or opinion
Content belongs here if:
- It describes what something IS
- Reader needs to look up specific details
- Content is consulted, not read cover-to-cover
Decision guide
Is the reader LEARNING or WORKING?
│
├─ LEARNING (studying)
│ ├─ Hands-on, step-by-step? → TUTORIALS
│ └─ Understanding concepts? → CORE CONCEPTS
│
└─ WORKING (applying)
├─ Completing a task? → HOW-TO GUIDES
└─ Looking up facts? → REFERENCE
Hub pages
Hub pages link to content without moving files:
tutorials.mdx - Lists tutorials in order.
how-to-guides.mdx - Groups by persona.
core-concepts.mdx - Groups by topic.
reference/index.mdx - Groups by type.
Hub pages should:
- Explain purpose in one sentence.
- Group links logically.
- Not duplicate content.
Personas
| Persona |
Sections |
| End users |
Quickstart, Tutorials |
| Agent builders |
Tutorials, How-to (Build) |
| Platform engineers |
How-to (Operate), Reference |
| Contributors |
How-to (Extend), Core Concepts |
Writing guidelines
Lexicon
- The product is known as ARK rather than Ark.
General style
- Be concise and direct.
- Use simple language.
- Keep descriptions to 1-2 sentences.
- Use active voice: "Creates agent" not "Agent is created".
- Write "ARK" not "Ark".
- Use US English.
- Use Oxford commas in lists.
Bullets
- Capitalize the first word and end with a period.
- Use numbered lists only for sequences of instructions or when referencing items later.
Capitalization
- Capitalize only proper nouns (product names, tools, services).
- Use sentence case for titles: "An introduction to data visualization" not "An Introduction to Data Visualization".
- Don't capitalize: cloud, internet, machine learning, advanced analytics.
Headings
- Avoid gerunds: "Get started" not "Getting started," "Customize a layout" not "Customizing a layout".
- Keep titles short and descriptive for search discoverability.
Instructions
- Use imperatives: "Complete the configuration steps".
- Don't use "please".
- Don't use passive tense: "Complete the steps" not "The steps should be completed".
Links
- Make hyperlinks descriptive:
Learn how to [contribute to ARK](url).
- Don't write:
To contribute, see [here](url).
Avoid
- Gerunds in headings.
- Colloquialisms (may not translate across regions/languages).
- Business speak: "leverage", "utilize", "facilitate".
What not to mix
| Don't put in... |
This content... |
| Tutorials |
Explanations, choices. |
| How-to guides |
Teaching, complete reference. |
| Core concepts |
Instructions, reference. |
| Reference |
Instructions, explanations. |
References
1---2name: ark-documentation3description: Guidance for structuring Ark documentation using the Diataxis framework. Use this skill when creating new docs, deciding where content belongs, reviewing documentation PRs, or restructuring existing documentation.4---5
6# Ark Documentation
7
8Guidance for structuring Ark documentation using Diataxis adapted for Ark's needs.
9
10## When to use this skill
11
12- Creating new documentation
13- Deciding where content belongs
14- Reviewing documentation PRs
15- Restructuring existing documentation
16
17## ARK's Diataxis structure
18
19```
20docs/content/
21├── Introduction
22├── Quickstart
23├── Tutorials → Linear learning paths
24├── How-to Guides → Task-oriented, by persona
25├── Core Concepts → Understanding "why" and "how"
26├── Reference → Factual lookup material
27├── Marketplace → External link
28└── Disclaimer
29```
30
31### Terminology
32
33| Diataxis | Ark Term | Why |
34|----------|----------|-----|
35| Explanation | **Core Concepts** | More accessible |
36
37## The four quadrants
38
39### 1. Tutorials (learning-oriented)
40
41**Purpose**: Hands-on lessons for newcomers.
42
43**Characteristics**:
44- Linear, numbered paths (1, 2, 3...)
45- Single prescribed path - no choices
46- Frequent visible results
47- Ends with "Next step" → How-to Guides
48
49**Writing style**:
50- Use "we" language
51- Don't explain - link to Core Concepts
52
53**Content belongs here if**:
54- It teaches a skill through doing
55- Reader is studying, not working
56- Success requires following steps in order
57
58**Examples**: Quickstart, Running the Dashboard, Starting a New Project, Complete Worked Example
59
60---
61
62### 2. How-to guides (task-oriented)
63
64**Purpose**: Help competent users complete specific tasks.
65
66**Organized by persona**:
67
68#### Build with ARK (application developers)
69- Configure models, create agents, coordinate teams, run queries, add tools.
70
71#### Extend ARK (contributors)
72- Build services locally, implement APIs, build A2A servers, add tests.
73
74#### Operate ARK (operators / SRE / security)
75- **Platform operations**: Provisioning, deploying
76- **CI/CD and supply chain**: Build pipelines
77- **Security & assurance**: Pen testing, code analysis
78
79**Writing style**:
80- Goal-oriented: "If you want X, do Y"
81- Assumes competence
82- Don't teach - link to Tutorials or Core Concepts
83
84**Content belongs here if**:
85- Reader has a specific task to complete
86- Reader is working, not studying
87
88---
89
90### 3. Core concepts (understanding-oriented)
91
92**Purpose**: Explain what ARK is, how it's designed, and why.
93
94**Topics**:
95- What ARK is and how it works.
96- Design effective agentic systems.
97- Platform architecture concepts.
98- Extensibility concepts.
99- Security and identity concepts.
100
101**Writing style**:
102- Discursive: "The reason for X is..."
103- Make connections between concepts
104- Provide design decision context
105
106**Content belongs here if**:
107- It answers "why" or "how does this work"
108- Reader is deciding how to design/extend/operate
109- Content provides context, not procedures
110
111---
112
113### 4. Reference (information-oriented)
114
115**Purpose**: Factual lookup material.
116
117**Organized by type**:
118- **Interfaces**: ARK APIs.
119- **Kubernetes API**: CRDs, resources.
120- **Evaluations**: Guides, event-based evaluations.
121- **System behavior**: Query execution, relationships.
122- **Operations**: Upgrading, troubleshooting.
123- **Project**: Contributors.
124
125**Writing style**:
126- Austere, factual, neutral
127- Structure mirrors product
128- No instruction, explanation, or opinion
129
130**Content belongs here if**:
131- It describes what something IS
132- Reader needs to look up specific details
133- Content is consulted, not read cover-to-cover
134
135---
136
137## Decision guide
138
139```
140Is the reader LEARNING or WORKING?
141│
142├─ LEARNING (studying)
143│ ├─ Hands-on, step-by-step? → TUTORIALS
144│ └─ Understanding concepts? → CORE CONCEPTS
145│
146└─ WORKING (applying)
147 ├─ Completing a task? → HOW-TO GUIDES
148 └─ Looking up facts? → REFERENCE
149```
150
151## Hub pages
152
153Hub pages link to content without moving files:
154
155- `tutorials.mdx` - Lists tutorials in order.
156- `how-to-guides.mdx` - Groups by persona.
157- `core-concepts.mdx` - Groups by topic.
158- `reference/index.mdx` - Groups by type.
159
160Hub pages should:
161- Explain purpose in one sentence.
162- Group links logically.
163- Not duplicate content.
164
165## Personas
166
167| Persona | Sections |
168|---------|----------|
169| End users | Quickstart, Tutorials |
170| Agent builders | Tutorials, How-to (Build) |
171| Platform engineers | How-to (Operate), Reference |
172| Contributors | How-to (Extend), Core Concepts |
173
174## Writing guidelines
175
176### Lexicon
177- The product is known as ARK rather than Ark.
178
179
180### General style
181- Be concise and direct.
182- Use simple language.
183- Keep descriptions to 1-2 sentences.
184- Use active voice: "Creates agent" not "Agent is created".
185- Write "ARK" not "Ark".
186- Use US English.
187- Use Oxford commas in lists.
188
189### Bullets
190- Capitalize the first word and end with a period.
191- Use numbered lists only for sequences of instructions or when referencing items later.
192
193### Capitalization
194- Capitalize only proper nouns (product names, tools, services).
195- Use sentence case for titles: "An introduction to data visualization" not "An Introduction to Data Visualization".
196- Don't capitalize: cloud, internet, machine learning, advanced analytics.
197
198### Headings
199- Avoid gerunds: "Get started" not "Getting started," "Customize a layout" not "Customizing a layout".
200- Keep titles short and descriptive for search discoverability.
201
202### Instructions
203- Use imperatives: "Complete the configuration steps".
204- Don't use "please".
205- Don't use passive tense: "Complete the steps" not "The steps should be completed".
206
207### Links
208- Make hyperlinks descriptive: `Learn how to [contribute to ARK](url)`.
209- Don't write: `To contribute, see [here](url)`.
210
211### Avoid
212- Gerunds in headings.
213- Colloquialisms (may not translate across regions/languages).
214- Business speak: "leverage", "utilize", "facilitate".
215
216### What not to mix
217
218| Don't put in... | This content... |
219|-----------------|-----------------|
220| Tutorials | Explanations, choices. |
221| How-to guides | Teaching, complete reference. |
222| Core concepts | Instructions, reference. |
223| Reference | Instructions, explanations. |
224
225## References
226
227- [Diataxis Framework](https://diataxis.fr/)
228- [Issue #338](https://github.com/mckinsey/agents-at-scale-ark/issues/338)
229- [PR #620](https://github.com/mckinsey/agents-at-scale-ark/pull/620)