Skip to content

docs: onboard-your-agent button, a short quickstart with install on its own page, demo shop examples, tangly 0.7.0 - #2094

Merged
nc9 merged 7 commits into
mainfrom
docs/agent-setup-v2
Nov 17, 2026
Merged

nc9 merged 7 commits into
mainfrom
docs/agent-setup-v2

Conversation

@nc9

@nc9 nc9 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The docs lead with one action: paste a line into your coding agent and it sets squirrelscan up. Install detail moves out of the quickstart into its own page, and every example audits the demo shop.

  • Onboard button on the docs home, the quickstart and the agent setup page. It copies a one-line prompt; the agent fetches /agent-setup/prompt.md and follows it. The raw install command sits right under it.
  • Navigation: Introduction, Agent setup, Quickstart, Install, FAQ. The quickstart is now short (set it up, run a first audit). /install holds every install option and the installer detail. Links that pointed at quickstart install anchors now point at /install, including the hint in install.sh.
  • Setup prompt rewritten: check for an existing install, install, add the skill, run a first audit and show the result before connecting MCP, then report and fix.
  • Examples use The Nut Shop (nutshop.squirrelscan.com), our demo site, across audit commands, prompts and API examples. Console output blocks are real v0.0.183 output from a signed-out audit of it.
  • tangly 0.7.0: project CSS loads on every page, so the button styles live in docs/onboard.css; CodeGroup blocks have a Copy button, so install commands always show it; multi-word tab titles are kept ("macOS / Linux"). docs/global.css and docs/custom.css were never loaded and would now restyle links and code, so they are removed.
  • Each copy button's prompt URL carries the page it was copied from (?ref=docs-home, docs-quickstart, docs-agent-setup), so docs request logs can count agent setups per page.

Not in this PR

  • Report screenshots (example-report.webp, example-report-summary.webp) and the read-your-report walkthrough still show squirrelscan.com. They are re-shot on the demo shop in a follow-up.
  • The website's hero button and its links to /install are private-repo PRs that follow this one.

Checks

  • make validate in docs/: tangly check --strict (556 pages), internal links and anchors, glossary and generated blocks, 62 script tests. All pass.
  • bun test scripts/install-contract.test.ts: 189 pass, 1 skip. The musl message test now expects the /install link that install.sh prints.
  • Viewed locally on tangly 0.7.0: home, quickstart, agent setup, install.

Agent skill

A small follow-up is filed (squirrelscan/repo#4797). The skill's install reference links to the quickstart for the install command. That link still works, because the quickstart keeps the one-line install commands, but the detail now lives at /install, so the skill should point there once this is live. The commands in the setup prompt (squirrel skills install, squirrel self doctor, squirrel audit) are unchanged.

@nc9
nc9 marked this pull request as ready for review November 17, 2026 10:49
nc9 added 7 commits November 17, 2026 22:21
…agent setup; split install detail out of quickstart into /install; setup prompt rewrite

Signed-off-by: Nik Cubrilovic <[email protected]>
…shop demo site (nutshop.squirrelscan.com)

Signed-off-by: Nik Cubrilovic <[email protected]>
…gned-out audit of the nut shop

Signed-off-by: Nik Cubrilovic <[email protected]>
…d.css; per-page ref on the setup prompt; install tabs read 'macOS / Linux'

- tangly 0.7.0 loads project CSS on every page, so the button styles move to docs/onboard.css and the three mdx imports go
- CodeGroup blocks have a Copy button in tangly 0.7.0, so the inline workaround styles go; install commands keep it always visible from onboard.css
- docs/global.css and docs/custom.css were never loaded and would now restyle links and code: removed
- each copy button's prompt URL carries ?ref=docs-home, docs-quickstart or docs-agent-setup
- packages/utils/src/agent-setup and its exports are removed: the docs own their copy of the styles

Signed-off-by: Nik Cubrilovic <[email protected]>
…all page

- scripts/install-contract.test.ts: the musl message links /install, as install.sh now prints
- guides/local-audits-cli: full install detail is in Install, not Quickstart
- docs home: the example audit command uses the nut shop

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9
nc9 force-pushed the docs/agent-setup-v2 branch from 9f789e7 to 68f9b15 Compare November 17, 2026 11:21
@nc9
nc9 merged commit eebfccf into main Nov 17, 2026
27 checks passed
@nc9
nc9 deleted the docs/agent-setup-v2 branch November 17, 2026 11:37
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