Skip to content

docs: lead the site and docs with agentic coding and the Storm CLI - #666

Merged
zantvoort merged 7 commits into
mainfrom
docs/agentic-coding-site
Oct 4, 2026
Merged

zantvoort merged 7 commits into
mainfrom
docs/agentic-coding-site

Conversation

@zantvoort

Copy link
Copy Markdown
Collaborator

Summary

Makes agentic coding and the Storm CLI a first-class path through the website, the docs and the README.

Homepage

  • Hero sub-lead and supporting line name agentic coding and performance, with the data class as the type-safe model.
  • The editor opens on a new 1 · agent setup scene: npx @storm-orm/cli init types, then its output prints line by line, following what the CLI prints (including the read-only data-access prompt and an existing CLAUDE.md reported as updated, not overwritten). A "Copy command" control sits in the editor bar for this scene.
  • New "Agentic coding" section: three cards (what you see is what runs, all in one place, queries come from the domain), the two CLI commands with copy chips, and the MCP server's guarantees (runs locally, read-only, schema only by default, credentials never reach the AI).
  • Copies of a CLI command are sent to Plausible as the custom event Copy CLI command (a matching goal must be added in the dashboard to report it).
  • Meta description, keywords and JSON-LD feature list updated.

Other pages

  • Quickstart: an agent box at the top with init and demo; the mid-step CLI block is removed.
  • Comparison: a short "When an agent writes the code" section tied to existing matrix rows.
  • Templates: a line pointing to npx @storm-orm/cli init after "Use this template".
  • Navbars gain an "AI" link and footers an "Agentic coding" link; the site tagline is updated.
  • The custom navbars now collapse to the menu below 1000px (was 760px) and no longer wrap; between those widths the links previously overlapped the brand.

Docs (docs/, visible at /docs/next until the next release)

  • ai.md becomes "Agentic Coding": opens with why Storm suits agents, leads setup with npx, documents storm demo and when to install globally, and states that existing rules files keep their content.
  • The AI pages move from Resources into a top-level "Agentic Coding" sidebar group (llms-full order follows).
  • Set Up Your Project leads with the coding-agent route as the default tab, with example prompts.
  • Introduction and AI Tools Reference wording aligned.

Agent-readable docs

  • llms.txt header rewritten and a "Working with a coding agent" section added (the agent pages were missing from its list).
  • Every docs page is published as Markdown: /docs/<page>.md from the latest release snapshot, /docs/next/<page>.md from docs/. Generated by the prebuild script, gitignored, version placeholders filled at postBuild.

README

  • Lead and a short pointer to the CLI after the first example; the AI section becomes "Agentic Coding" with both commands and the read-only MCP details.

Verification

  • npm run build succeeds; scripts/check-links.mjs: no broken links (969 pages).
  • Visually checked the homepage, quickstart and docs at desktop and narrow widths, and the navbars at 800, 1010 and 1110px.

Homepage: the hero names agentic coding and performance, the editor opens
on a `storm init` terminal scene with a copy control, and a new section
explains why the model suits coding agents and how the CLI sets one up
(local, read-only MCP server; existing rules files keep their content).

Quickstart, comparison and templates pages point coding-agent users to
`npx @storm-orm/cli init` and `demo`. Navbars and footers link the guide,
and the custom navbars collapse to the menu below 1000px so the links no
longer overlap the brand.

Docs: the AI guide becomes "Agentic Coding", opens with why Storm suits
agents, documents `demo` and the global install, and moves with its
reference pages into a top-level sidebar group. Set Up Your Project leads
with the coding-agent route. README follows the same structure.

Agent-readable docs: llms.txt lists the agent pages, and every docs page is
published as Markdown at /docs/<page>.md (latest release) and
/docs/next/<page>.md, generated at prebuild and not committed.
Comment thread website/src/pages/index.js Outdated
// A "$ <command>" chip that copies the command on click. The whole chip is the
// button, so the target is large on phones and a keyboard reaches it directly.
const cliChip = (command) =>
`<button type="button" class="clichip" data-copy="${esc(command)}" aria-label="Copy command: ${esc(command)}">` +
Comment thread website/src/pages/index.js Outdated
// A "$ <command>" chip that copies the command on click. The whole chip is the
// button, so the target is large on phones and a keyboard reaches it directly.
const cliChip = (command) =>
`<button type="button" class="clichip" data-copy="${esc(command)}" aria-label="Copy command: ${esc(command)}">` +
Comment thread website/src/pages/index.js Outdated
<span class="dot r"></span><span class="dot y"></span><span class="dot g"></span>
<span class="fname" id="fname">Entities.kt</span>
<button type="button" class="sqlbtn" id="sqlbtn" aria-expanded="false" aria-controls="sqlpanel" style="display:none"><svg class="ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><ellipse cx="12" cy="5" rx="8" ry="3"/><path d="M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5"/><path d="M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3"/></svg><span id="sqlbtntext">Show SQL</span></button>
<button type="button" class="sqlbtn clicopy" id="copybtn" data-copy="${esc(CLI_INIT)}" aria-label="Copy command: ${esc(CLI_INIT)}"><svg class="ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect x="9" y="9" width="12" height="12" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><span class="cptext">Copy command</span></button>
Comment thread website/src/pages/index.js Outdated
<span class="dot r"></span><span class="dot y"></span><span class="dot g"></span>
<span class="fname" id="fname">Entities.kt</span>
<button type="button" class="sqlbtn" id="sqlbtn" aria-expanded="false" aria-controls="sqlpanel" style="display:none"><svg class="ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><ellipse cx="12" cy="5" rx="8" ry="3"/><path d="M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5"/><path d="M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3"/></svg><span id="sqlbtntext">Show SQL</span></button>
<button type="button" class="sqlbtn clicopy" id="copybtn" data-copy="${esc(CLI_INIT)}" aria-label="Copy command: ${esc(CLI_INIT)}"><svg class="ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect x="9" y="9" width="12" height="12" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><span class="cptext">Copy command</span></button>
@zantvoort
zantvoort merged commit 3c52884 into main Oct 4, 2026
5 checks passed
@zantvoort
zantvoort deleted the docs/agentic-coding-site branch October 4, 2026 13:49
@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants