Skip to Content
agore-skill
Explanation

About the docs information architecture

Why User vs Contributor × Diátaxis, and not four quadrants at the top.

Why does this site have two top-level sections instead of the four Diátaxis quadrants? Because the quadrants answer what kind of help, but the first question a reader actually has is whose job is this.

The two-dimensional problem

agore-skill has two genuinely different audiences:

  • people using the CLI on skills they author and ship, and
  • people developing the CLI, its CI, its docs site and its releases.

These audiences read different pages, use different vocabulary, and rarely need each other's content. Diátaxis is explicit about this: for multi-audience products, split by the product as the user sees it first, then organize by type within each audience. Forcing one flat tutorials/how-to/reference/explanation top level would put "How to cut a release" (a contributor task, GoReleaser and cosign) two links away from "How to release a skill" (a user task, agore-skill release) — same verb, different world, constant confusion.

The shape

Two top-level sections, each containing the same four quadrants:

Fumadocs root folders implement the two sections: user and contributor are declared "root": true in their meta.json, so the docs layout renders them as the top-level switcher tabs, and the sidebar shows exactly the open section's four quadrant groups. Switching sections maps a page to its structural projection — the page at the same path inside the other section — which is why both sections keep identical quadrant folder names.

What the shared quadrant skeleton buys

  • Predictability: after reading one page you know what the other sections offer.
  • Type discipline stays local: a page can still be judged — and rejected — by the quadrant's writing rules; the section only narrows the audience.
  • Separation of concerns for facts: the release word now names two reference pages (the CLI command and the whole process), each in the quadrant and audience it belongs to.

The cost, accepted

Structural duplication: two mirrors of the quadrant skeleton, plus two locales (en/zh) — the tree is wide. The mitigation is convention and verification: identical folder names, mirrored meta.json, and a docs hub page that routes readers before they scroll.

On this page