Skip to content

Write documentation

The agentctl repository owns commands, schema, examples, runtime behavior, provider and protocol capability, security, architecture, limitations, and contributor contracts. The opensourceops.github.io repository owns the public homepage, navigation, learning paths, search, styling, metadata, browser tests, and Pages deployment.

Do not hand-copy a prominent YAML example into the site repository. Add or update a checked example here and include it through the Pages import mechanism.

Place public journeys in examples/docs/ with a README entry, provider classification, expected result, verification command, network requirement, and security note. Use fake providers or local mocks for normal verification. Name live examples clearly and keep them opt-in.

  • Use sentence-case headings, active voice, short paragraphs, and descriptive links.
  • State the working directory, writes, credentials, and network effect for commands.
  • Use exact commands and complete valid YAML.
  • Distinguish implemented, deterministic, mock-tested, live evidence, hosted configuration, hosted execution, and functionality outside the supported surface.
  • Never use an em dash in public copy.
  • Avoid hype, generic AI claims, and unsupported maturity language.
  • Explain every Mermaid diagram before and after it.

From this repository:

cargo xtask docs-verify

From the Pages repository:

AGENTCTL_REPO=/path/to/agentctl pnpm verify:agentctl

The site command imports canonical content, records the source commit, validates writing and links, checks Mermaid, builds search, assembles the physical /agentctl/ artifact, then runs browser and accessibility tests.

Review technical claims against source, generated help, schema, tests, and evidence. Check keyboard navigation, heading order, link purpose, alt text, diagram explanations, mobile code blocks, and direct deep links. Do not claim accessibility certification from automated tooling alone.

Canonical source: docs/development/DOCUMENTATION.md. Verified against agentctl commit 2aeaa88fba71162206b5f08f5bda4f0150247e4f.