You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update guidance files for docs restructuring (#644)
* Update guidance files to reflect docs restructuring
Update AGENTS.md/CLAUDE.md, STYLE-GUIDE.md, and skills (docs-review,
upstream-release-docs) to encode the information architecture, design
principles, and page conventions established during the Phase 1-3 docs
restructuring. This ensures future contributions follow the new
product-area-based structure.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Address review feedback: restore Diataxis, fix paths
- Restore Diataxis framework reference as the underlying authoring
model (it still applies, just not to folder structure)
- Remove reference to transient restructuring plan document
- Add docs/toolhive/ base path to all folder references so
contributors place files correctly
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .claude/skills/docs-review/SKILL.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,18 @@ Watch for these telltale signs of AI-generated docs that need human intervention
63
63
| Over-explaining | Verbose descriptions of obvious things | Trust the reader; cut aggressively |
64
64
| Hedging language | "may," "might," "could potentially" | Be direct or remove |
65
65
66
+
### Section Structure and Navigation
67
+
68
+
The docs follow a product-area-based information architecture under `docs/toolhive/`. Check:
69
+
70
+
-**Self-contained sections**: Product-specific content belongs in its product section (`docs/toolhive/guides-ui/`, `guides-cli/`, `guides-k8s/`, `guides-vmcp/`, `guides-registry/`), not in a shared section.
71
+
-**Quickstarts in product sections**: Quickstarts live inside their product section, not in a separate top-level section.
72
+
-**Integration placement**: Third-party integration guides (ngrok, Vault, OpenTelemetry, Okta, etc.) belong in `integrations/`, not in a product section.
73
+
-**Next steps section**: Every how-to guide and tutorial page must end with a "Next steps" section containing 1-3 forward links. Missing "Next steps" is a primary issue.
74
+
-**Introduction pages**: Each product section should have an Introduction as the first sidebar child. New sections must follow this pattern.
75
+
-**Progressive disclosure**: Core workflows should appear before advanced topics. Check that advanced content isn't mixed in with beginner-facing pages.
76
+
-**Forward navigation path**: A reader should be able to follow "Next steps" links from the quickstart through core workflows without relying on the sidebar.
Copy file name to clipboardExpand all lines: .claude/skills/upstream-release-docs/SKILL.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,14 @@ Apply the approved changes:
124
124
125
125
2.**Create new pages** for new features that lack existing documentation. Default to documenting new features rather than skipping them:
126
126
127
+
**Page placement** — the docs are organized by product area under `docs/toolhive/`. Place new content in the correct section:
128
+
-**Product-specific guides** go in the relevant product section (`docs/toolhive/guides-ui/`, `guides-cli/`, `guides-k8s/`, `guides-vmcp/`, `guides-registry/`).
129
+
-**Third-party integration guides** go in `docs/toolhive/integrations/`.
130
+
-**Cross-cutting concepts** go in `docs/toolhive/concepts/`.
131
+
-**Per-MCP-server usage guides** go in `docs/toolhive/guides-mcp/`.
132
+
-**Reference material** goes in `docs/toolhive/reference/`.
133
+
- Check the project's CLAUDE.md "Information architecture" section for the full placement rules.
134
+
127
135
**Diataxis separation** — create separate pages per document type, not one combined page:
128
136
-**Concept page** (explanation): What is this feature, why does it exist, when would you use it? Lead with concrete scenarios and user personas ("If you maintain a shared MCP registry and want to let teams publish reusable tool bundles..."). Explain relationships to existing features.
129
137
-**Guide page** (how-to): Task-oriented, organized by user goals — not by API endpoint order. Include practical examples: realistic `curl` commands, sample payloads with plausible values, expected responses, and error cases. If a feature has both producer and consumer sides, document both workflows.
@@ -145,9 +153,10 @@ Apply the approved changes:
145
153
**Naming conventions** — when the feature introduces naming rules (e.g., kebab-case identifiers, camelCase config keys), call these out explicitly with examples of valid and invalid names.
146
154
147
155
**Page mechanics:**
148
-
- Place each page in the appropriate directory
149
-
- Update sidebar/navigation configuration
156
+
- Place each page in the appropriate product section directory (see "Page placement" above)
157
+
- Update sidebar/navigation configuration in `sidebars.ts`
150
158
- Update frontmatter descriptions on all new and modified pages
159
+
- Add a "Next steps" section at the end of every how-to guide and tutorial page with 1-3 forward links
151
160
- Only skip creating a page that would duplicate auto-generated reference content (e.g., don't manually list API endpoints that are already in a swagger-rendered page)
152
161
153
162
3.**Add cross-references** — link new content from related existing pages and vice versa.
Copy file name to clipboardExpand all lines: AGENTS.md
+63-17Lines changed: 63 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,23 +80,69 @@ The documentation should be accessible to a wide range of technical users, inclu
80
80
81
81
## Information architecture
82
82
83
-
This project follows the [Diataxis framework](https://diataxis.fr/) for documentation organization. Diataxis divides documentation into four types based on user needs:
84
-
85
-
1.**Tutorials** (`/docs/toolhive/tutorials/`) - Learning-oriented, step-by-step lessons that guide users through completing a project or learning a concept.
86
-
2.**How-to guides** (`/docs/toolhive/guides-*/`) - Task-oriented, practical guides that show how to solve specific problems or accomplish specific tasks.
87
-
3.**Reference** (`/docs/toolhive/reference/`) - Information-oriented, technical descriptions of the machinery and how to operate it (API docs, CLI commands, configuration options).
88
-
4.**Explanation/Concepts** (`/docs/toolhive/concepts/`) - Understanding-oriented, explanations that clarify and illuminate topics, provide background and context.
89
-
90
-
### When to create new pages
91
-
92
-
Create a new documentation page when:
93
-
94
-
- The content addresses a distinct task, concept, or reference topic that doesn't fit within existing pages.
95
-
- An existing page would become too long or cover too many disparate topics.
96
-
- The information architecture requires it (e.g., a new MCP server guide, a new tutorial).
97
-
- The content belongs to a different Diataxis category than existing content.
98
-
99
-
Always consider where the new page fits in the Diataxis framework and place it in the appropriate directory. Update `/sidebars.ts` to include the new page in the navigation.
83
+
This project follows the [Diataxis framework](https://diataxis.fr/) for documentation authoring - each page is a tutorial, how-to guide, reference, or explanation. The site is organized by **product area**, with each section self-contained so a reader can complete their journey without leaving it. Cross-cutting content lives in dedicated shared sections.
84
+
85
+
All documentation lives under `docs/toolhive/`. Folder paths below are relative to that root.
86
+
87
+
### Design principles
88
+
89
+
1.**Route readers to value fast.** The home page helps a reader figure out where to go within 10 seconds.
90
+
2.**Each section is self-contained.** A reader in the CLI section shouldn't need to leave it to complete their task. Quickstarts, guides, and relevant reference material live together.
91
+
3.**Forward momentum on every page.** Every page ends with a "Next steps" section linking to the next logical page.
92
+
4.**Consistent structure across sections.** Each product area follows the same pattern: Introduction, Quickstart, how-to guides.
0 commit comments