docs: make guides easier to read and cut robotic phrasing

Merged
OK
3d ago
+1152-1466

What

Rewrote prose across 53 English docs pages (40 guides and 13 reference pages) to sound like plain developer English, folded or linked internal implementation details out of top-level guide prose, and updated .dev/skills/authoring-docs/SKILL.md so future edits follow the same rules.

Why

The authoring skill enforced "80% ASD-STE100" (one time instead of once, clipped staccato sentences, <verb> no <noun> legalisms) and PRs kept appending internal edge cases (log-truncation math, replay heuristics, byte caps, UPPER_SNAKE error enums) straight into user guides. That made guides read like internal specs instead of task documentation.

How it works

  1. Replaced the ASD-STE100 tone rules in .dev/skills/authoring-docs/SKILL.md with plain developer English and a Guide-vs-Reference rule: move non-duplicated internals to docs/reference/ and link there, or fold them into an Accordion when no reference page exists, keeping diagnostic lookup tables where readers look them up.
  2. Reordered and tightened the front-door guides (docs/index.mdx, docs/quickstart.mdx, docs/core-concepts.mdx, docs/agentic-vs-deterministic.mdx, docs/coding-agents.mdx, docs/mcp-server.mdx, docs/ci.mdx) so Why e2e and How it works appear before CI release-gate caveats.
  3. Trimmed or folded internal implementation details out of top-level guide prose across docs/cache.mdx, docs/web.mdx, docs/filters.mdx, docs/subscriptions.mdx, docs/agent-steps.mdx, docs/desktop.mdx, docs/mobile.mdx, docs/debugging.mdx, docs/security.mdx, docs/self-healing.mdx, docs/browser.mdx, docs/core.mdx, docs/authentication.mdx, docs/explore.mdx, docs/decision-models.mdx, docs/executors.mdx, docs/models.mdx, docs/telemetry.mdx, docs/visual-testing.mdx, docs/bug-bash.mdx, docs/agents.mdx, docs/api-testing.mdx, docs/fixtures.mdx, docs/tools.mdx, docs/page-object-model.mdx, docs/engine-servers.mdx, docs/frameworks/nextjs.mdx, and pages under docs/integrations/ and docs/migrate/.
  4. Cleaned mechanical "one time" and programmer "else" phrasing across 13 docs/reference/*.mdx pages without dropping any options, defaults, limits, or error codes.
  5. Kept all 55 verbatim docs/examples/ code blocks and all existing heading anchors unchanged.

Verified

Ran it locally: yes (docs validation suite; no live docs-site screenshots captured here because the docs site app is not in this repository).

$ pnpm docs:check
docs examples: 55 files shown verbatim ...
docs package managers: every command block in 389 pages offers npm, pnpm, bun
docs anchors: 6243 anchor links across 389 pages resolve
docs logos: 26 vendor pages have card logos, no page sets a sidebar icon
docs mdx: 389 pages compile as standard MDX

$ pnpm docs:check-errors
error codes: 95 in source (27 agent, 74 runner, 10 engine), all documented in docs/reference/errors.mdx and docs/reference/engine.mdx

$ pnpm plugins:check
e2e plugin: checked 23 generated files

$ pnpm lint
(exit 0)

Before/after across the 86 English docs pages:

  • "one time" in prose: 43 -> 0
  • Programmer "else" in prose: 55 -> 0
  • Em/en dashes in added lines: 0
  • Net diff: 54 files changed, 1152 insertions(+), 1466 deletions(-) (-314 lines)