diff --git a/docs/quickstart.md b/docs/quickstart.md index c1ff558b..fdef5291 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -23,7 +23,13 @@ To keep what it found in a file you can edit, run `npx -y onsystem init`: it wri ## Hold your agent to it -Pick one: +Give your agent this prompt, and it does the rest of the setup itself: the config and the baseline, onsystem in the agent, and the CI check. [setup.md](https://onsystem.vercel.app/setup.md) has the steps it follows. + +```text title="Prompt for your agent" +Read https://onsystem.vercel.app/setup.md and set up onsystem in this project. +``` + +Or add it yourself. Pick one: - **Claude Code**: install the [plugin](plugin.md). Its hook checks every UI file Claude writes and hands the errors back before Claude moves on; it also brings the MCP server and a skill that has Claude look components up first. diff --git a/site/app/page.tsx b/site/app/page.tsx index 27678eca..a77dc980 100644 --- a/site/app/page.tsx +++ b/site/app/page.tsx @@ -15,11 +15,13 @@ import { InlineCode, Section, SubSection, TextLink } from '@/components/section' import { Tabs } from '@/components/tabs'; import { count } from '@/lib/benchmark'; import { benchmark, corpus, demo, readme, rules, tools } from '@/lib/data'; +import { SETUP_PROMPT } from '@/lib/llms'; import { pageMetadata } from '@/lib/metadata'; import { findingCard, HOME_CARD, TSC_RULES } from '@/lib/og'; import { highlight } from '@/lib/render-code'; import { AUTHOR, + CODEX_COMMANDS, CURSOR_INSTALL, docsHref, NPM, @@ -105,9 +107,7 @@ function GetStarted() { /** What a visitor runs first: findings with fixes on their own app, nothing installed or written. */ const CHECK = 'npx -y onsystem check .'; -/** The commands from docs/clients.md and docs/required-check.md (test/first-screen.test.ts checks). */ -const CODEX = - 'codex plugin marketplace add dgesteves/onsystem\ncodex plugin add onsystem@dgesteves'; +/** The step from docs/required-check.md (test/first-screen.test.ts checks). */ const ACTION = '- uses: dgesteves/onsystem@v0'; const MARKETPLACE = 'https://github.com/marketplace/actions/onsystem-design-system-check'; @@ -148,13 +148,17 @@ function Hero() { .
- - Try it in the browser -