Skip to content

docs: house style pass, agent-setup page, cirrus theme - #131

Merged
nc9 merged 9 commits into
mainfrom
docs/ste-house-style
Aug 26, 2026
Merged

nc9 merged 9 commits into
mainfrom
docs/ste-house-style

Conversation

@nc9

@nc9 nc9 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

What

The docs house-style pass that has been parked on a branch, rebased onto main and brought current.

A written style guide. .github/DOCS_STYLE.md records the project dictionary (one term per concept: coding agent, AI crawler, log in, website, audit, report, issue, cloud), sentence-case headings with the three exceptions that must not be "corrected" (rule and category names, command names used as headings, acronyms), warnings before the command they qualify, and no em-dashes. Applied to the entry pages and headings across the corpus.

An agent-setup page. /agent-setup is one line you paste into any coding agent: it fetches /agent-setup/prompt.md and follows it. Six agent cards below for people who would rather wire it up by hand. Uses tangly's new <CopyPrompt>.

The cirrus theme (theme: cirrus), plus styling.codeblocks.chrome: "bare" and copyButton: "hover".

Why the tangly bump

docs.json asks for a theme and config keys that only exist in tangly 0.3.0, released today. On 0.2.4 the build fails on the unknown theme, so docs/package.json and the lockfile move together with the content.

Rebase notes

Main moved 29 commits while this sat. Four conflicts, all resolved by taking main's facts and this branch's style:

  • Rule count is 278 now, and the branch was written against 267. Took 278 everywhere, kept sentence case.
  • docs/reports.mdx: main added an "Issue ordering" section exactly where this branch sentence-cased ### console (Default). Kept both.
  • Eleven rule pages landed after the original sweep and still carried ## Enable / Disable. Swept.
  • agent-setup/index.mdx said "267 rules". Now 278.

Verification

  • tangly check --strict: 384 pages, 1 orphan (agent-setup/prompt, deliberately out of nav), no broken links.
  • Full build green on tangly 0.3.0; /agent-setup/prompt.md is emitted, and the CopyPrompt button renders with the right data-href.

Known, not fixed here

The bare code-block chrome will not be visible on the deployed site yet. Every code block on docs.squirrelscan.com currently renders as plain <pre><code> with no highlighting and no copy button, because the root package.json overrides block forces astro: 7.1.3 while tangly needs astro ^6. The same docs tree built outside this workspace highlights correctly. That is a pre-existing production bug, tracked separately, and orthogonal to this PR.

nc9 added 9 commits August 26, 2026 12:37
Adopts the parts of ASD-STE100 Simplified Technical English that pay for
themselves in developer docs (one term per concept, sentence limits,
warnings before the command they qualify) and explicitly rejects the parts
that would cost us the brand voice (approved-word dictionary, no humor).

.github/DOCS_STYLE.md records the decision and the term list. Applied to
README, index and quickstart only; the other 366 pages are untouched.

Terminology fixed here:
- coding agent, never AI agent / AI coding assistant / coding assistant.
  "AI agent" is reserved for third-party crawlers (GPTBot, Claude-User),
  which is what it already means in the Agent Experience rows: those are
  deliberately left alone.
- log in / logged in / logged out, never signed in.

Also sentence-cases headings, per the existing rule in CLAUDE.md that the
docs have been quietly violating, and moves the partial-report warning in
the category-filter step above its command, since a reader who copy-pastes
has already run it by the time they reach a trailing warning.

Signed-off-by: Nik Cubrilovic <[email protected]>
Applies the project dictionary from .github/DOCS_STYLE.md across all 368
pages.

- 684 headings to sentence case. Rule names, category names, command
  names used as headings (`## login`, `### json`) and acronyms are
  left alone; those are identifiers, not prose.
- sign in / signed in / sign-in -> log in / logged in / login, except in
  the Site Integrity rules, where sign-in means a third party's login
  page and a phishing imitation of one.
- AI assistant / coding assistant / AI coding assistant -> coding agent
  where it means the reader's own agent.

The Agent Experience pages keep "AI agents": there it means every
non-human consumer of a page, which "AI crawler" would narrow wrongly.
site vs website is left for a separate pass, recorded in DOCS_STYLE.md.

tangly check --strict: 368 pages, 0 orphans, all checks passed.

Signed-off-by: Nik Cubrilovic <[email protected]>
One line on the clipboard pointing an agent at /agent-setup/prompt.md, which
it fetches and follows: install the CLI, run a local audit, wire up MCP, work
the issues. The instructions live at the URL, so they can change without
anyone re-copying a stale block of setup steps.

prompt.mdx is a normal page, so tangly's existing raw-markdown twin serves it
at .md with no extra plumbing.

Cards cover the six agents we test against. Copilot and Windsurf point at the
generic MCP clients page until they have guides of their own.

Signed-off-by: Nik Cubrilovic <[email protected]>
Requires an unreleased tangly. The two halves fail differently on 0.2.4:

  theme: cirrus            silently falls back to tang. No error, and
                           check --strict still passes.
  styling.codeblocks.*     hard-fails the build. The schema's object branch
                           is strict, so the new chrome/copyButton keys make
                           it fall through to the enum branch and report
                           "invalid value an object - allowed: system, dark",
                           which does not name the real culprit.

Verified with 'bun x [email protected] build'. Do NOT merge ahead of the release.

Signed-off-by: Nik Cubrilovic <[email protected]>
mode: custom hands the page a bare slot, which drops the whole shell, not
just the title chrome: no sidebar, no breadcrumb, no TOC. It reads as a
landing page but the page lives in the docs nav, so losing both navs was
wrong.

Back to the default mode and let the shell own the h1 and the measure. The
headline moves into frontmatter title, with sidebarTitle keeping the short
'Agent setup' label for the nav. Also drops the hand-rolled eyebrow, which
just restated the breadcrumb.

Signed-off-by: Nik Cubrilovic <[email protected]>
Positioning:
- quickstart described itself as running your 'first SEO audit'. It is the
  page every new CLI user lands on, and SEO is one of five categories.
- developers hub led with 'most integrations start with CI/CD or the REST
  API'. Those are cloud surfaces, used by a small minority. Agents and MCP
  now lead, and the cards say which surfaces need an account.

Structure:
- collapse the API tab into Developers. Its boundary was already leaky: the
  tab pulled in cloud/webhooks and developers/authentication from outside
  api/. Six top-level tabs for a CLI-first product spent two of them on the
  cloud audience. Now five, with Developers ordered agents, CI/CD, then the
  REST surface.

Consistency:
- sentence-case the page titles that were still Title Case. Rule pages keep
  their casing: those titles are rule names.
- ASCII art directory trees become <FileTree>, which tangly renders with
  real file and folder affordances.
- 'the same site' -> 'the same website' per the project dictionary.

Signed-off-by: Nik Cubrilovic <[email protected]>
Eleven rule pages landed on main while this branch was parked and kept the
Title Case "Enable / Disable" heading. Also corrects the agent-setup rule
count, which was written against 267.

Signed-off-by: Nik Cubrilovic <[email protected]>
docs.json asks for `theme: cirrus` and `styling.codeblocks.chrome`, both of
which land in tangly 0.3.0. On 0.2.4 the build fails on the unknown theme.

Signed-off-by: Nik Cubrilovic <[email protected]>
114 fences carried no language, so they rendered as untyped blocks: no
highlighting, and nothing telling a reader whether they are looking at a
command to run or output to read. Commands become `bash`; terminal output,
prompts, formulas and paths become `text`.

Classified by content rather than by file, so blocks that merely mention a
command (an interactive prompt quoting an `export` line, CLI output echoing a
TOML config) stay `text` instead of being mislabelled as runnable.

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9
nc9 force-pushed the docs/ste-house-style branch from 073b1ff to 017aed3 Compare August 26, 2026 02:37
@nc9
nc9 merged commit 03639be into main Aug 26, 2026
13 checks passed
@nc9
nc9 deleted the docs/ste-house-style branch August 26, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant